cvs commit: src/sys/compat/freebsd32 freebsd32_misc.c

John Baldwin jhb at FreeBSD.org
Fri Feb 18 18:56:04 GMT 2005


jhb         2005-02-18 18:56:04 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/freebsd32 freebsd32_misc.c 
  Log:
  - Add a custom version of exec_copyin_args() to deal with the 32-bit
    pointers in argv and envv in userland and use that together with
    kern_execve() and exec_free_args() to implement freebsd32_execve()
    without using the stackgap.
  - Fix freebsd32_adjtime() to call adjtime() rather than utimes().  Still
    uses stackgap for now.
  - Use kern_setitimer(), kern_getitimer(), kern_select(), kern_utimes(),
    kern_statfs(), kern_fstatfs(), kern_fhstatfs(), kern_stat(),
    kern_fstat(), and kern_lstat().
  
  Tested by:      cokane (amd64)
  Silence on:     amd64, ia64
  
  Revision  Changes    Path
  1.28      +159 -218  src/sys/compat/freebsd32/freebsd32_misc.c


More information about the cvs-src mailing list