freebsd-skq/sys/compat/linux
Dmitry Chagin 001398c4c5 To reduce code duplication introduce linux_copyout_rusage() method.
Use it in linux_wait4() system call and move linux_wait4() to the MI path.
While here add a prototype for the static bsd_to_linux_rusage().

Differential Revision:	https://reviews.freebsd.org/D2138
Reviewed by:	trasz
2015-05-24 15:03:09 +00:00
..
check_error.d Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
check_internal_locks.d Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
linux_dtrace.h dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINE 2013-11-26 08:46:27 +00:00
linux_emul.c pthread_join() caller do futex_wait on child_clear_tid. As a results 2015-05-24 14:54:12 +00:00
linux_emul.h Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
linux_file.c Add back fdrop() missed in r281726. 2015-04-19 07:35:18 +00:00
linux_file.h Reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h 2013-01-29 18:41:30 +00:00
linux_fork.c Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
linux_futex.c Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
linux_futex.h Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
linux_getcwd.c Simplify linux_getcwd(), removing code that was longer used. 2015-04-23 08:41:50 +00:00
linux_ioctl.c Remake Linux' SOUND_MIXER_INFO IOCTL as a wrapper around new FreeBSD's one. 2014-09-24 08:18:11 +00:00
linux_ioctl.h Add some missing LIBUSB IOCTL conversion codes. 2013-07-14 10:13:01 +00:00
linux_ipc.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
linux_ipc.h Reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h 2013-01-29 18:41:30 +00:00
linux_mib.c Introduce LINUX_VERSION_STR, LINUX_VERSION_CODE macro for use instead 2015-05-24 14:56:21 +00:00
linux_mib.h Introduce LINUX_VERSION_STR, LINUX_VERSION_CODE macro for use instead 2015-05-24 14:56:21 +00:00
linux_misc.c To reduce code duplication introduce linux_copyout_rusage() method. 2015-05-24 15:03:09 +00:00
linux_misc.h Add a function for converting wait options. 2015-05-24 15:00:27 +00:00
linux_signal.c Add a siginfo_t conversion function. 2015-05-24 14:58:30 +00:00
linux_signal.h Add a siginfo_t conversion function. 2015-05-24 14:58:30 +00:00
linux_socket.c Fix Clang -Wpointer-sign warnings. 2015-01-01 20:53:38 +00:00
linux_socket.h Reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h 2013-01-29 18:41:30 +00:00
linux_stats.c Remove the no-at variants of the kern_xx() syscall helpers. E.g., we 2014-11-13 18:01:51 +00:00
linux_sysctl.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
linux_sysproto.h
linux_time.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
linux_timer.c Implement most of timer_{create,settime,gettime,getoverrun,delete} 2014-09-18 08:36:45 +00:00
linux_timer.h Implement most of timer_{create,settime,gettime,getoverrun,delete} 2014-09-18 08:36:45 +00:00
linux_uid16.c cred: add proc_set_cred helper 2015-03-16 00:10:03 +00:00
linux_util.c - For kernel compiled only with KDTRACE_HOOKS and not any lock debugging 2013-11-25 07:38:45 +00:00
linux_util.h - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_videodev2_compat.h
linux_videodev_compat.h
stats_timing.d Switch linuxulator to use the native 1:1 threads. 2015-05-24 14:53:16 +00:00
trace_futexes.d - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00