freebsd-skq/sys/compat/linux
netchild 59692ae939 MFC:
- linux_misc.c 1.179
  Don't copyout/do unneccesary work if the buffer is a NULL pointer.

  Noticed by:     Dmitry Ganenko <dima@apk-inform.com>
  Reviewed by:    rdivacky (the original version as in emulation@)

- linprocfs.c 1.96:
  Improve linprovfs to provide/fix the
   - process state (idle, sleeping, running, ...) [1]
   - the process group ID of the process which owns the connected tty
   - some page fault stats
   - time spend in kernel/userland
   - priority/nice value
   - starttime [1]
   - memory/swap stats
   - scheduling policy

  Additionally add some new fields and correct some not filled out ones.

  This brings us down to 15 dummy fields.

  The fields marked with [1] are needed to get Oracle 10 running. The starttime
  field is not completely right, since it displays the _same_ starttime for
  _every_ process, but at least it is not 0 and Oracle accepts this.

  Noticed by:     Dmitry Ganenko <dima@apk-inform.com> [1]
  Reviewed by:    des, rdivacky

- pseudofs_vnops.c 1.60:
  Correctly calculate a buffer length. It was off by one so a read() returned
  one byte less than needed.

  Noticed by:     Dmitry Ganenko <dima@apk-inform.com>
  Testcase by:    Dmitry Ganenko <dima@apk-inform.com>
  Reviewed by:    des
  Submitted by:   rdivacky
  Sponsored by:   Google SoC 2006

All of those are needed for Oracle 10. Since previous Oracle versions work
just fine without those fixes, these patches can be seen as regression fixes
too. Because of this I think they are a RELENG_6_x candidate (MFC reminder
set).

MFC after:	1 month
2006-07-08 14:06:56 +00:00
..
linux_file.c Add support for O_NOFOLLOW and O_DIRECT to Linux fcntl() F_GETFL/F_SETFL. 2005-04-13 04:31:43 +00:00
linux_getcwd.c MFC Rev 1.21 2006-03-13 03:04:04 +00:00
linux_ioctl.c MFC revision 1.131 2006-01-11 15:40:00 +00:00
linux_ioctl.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
linux_ipc.c Semctl with IPC_STAT command should return zero in case of success. 2005-02-11 13:46:55 +00:00
linux_ipc.h Changes to MI Linux emulation code necessary to run 32-bit Linux binaries 2004-08-16 07:28:16 +00:00
linux_mib.c MFC: Remove linux_mib_destroy() since MTX_SYSINIT's gaining of a SYSUNINIT 2005-12-22 21:25:20 +00:00
linux_mib.h MFC: Remove linux_mib_destroy() since MTX_SYSINIT's gaining of a SYSUNINIT 2005-12-22 21:25:20 +00:00
linux_misc.c MFC: 2006-07-08 14:06:56 +00:00
linux_signal.c Unbreak the kernel build. Pointy hat to: sobomax. 2005-02-13 19:50:57 +00:00
linux_signal.h
linux_socket.c MFC 1.62: 2006-01-10 10:13:43 +00:00
linux_socket.h
linux_stats.c Forgot to bring this fix into my commit tree to include opt_compat.h. 2006-06-15 19:08:03 +00:00
linux_sysctl.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_sysproto.h Handle unimplemented syscall by instantly returning ENOSYS instead of sending 2005-03-07 00:18:06 +00:00
linux_uid16.c Match the LINUX32's style with existing style 2005-01-14 04:44:56 +00:00
linux_util.c MFC the enhancements to the Linux emulation layer so the MegaRAID SAS 2006-06-15 15:52:05 +00:00
linux_util.h MFC the enhancements to the Linux emulation layer so the MegaRAID SAS 2006-06-15 15:52:05 +00:00