freebsd-skq/sys/compat/linux
ed 0698a33dea Allow the creation of kqueues with a restricted set of Capsicum rights.
On CloudABI we want to create file descriptors with just the minimal set
of Capsicum rights in place. The reason for this is that it makes it
easier to obtain uniform behaviour across different operating systems.

By explicitly whitelisting the operations, we can return consistent
error codes, but also prevent applications from depending OS-specific
behaviour.

Extend kern_kqueue() to take an additional struct filecaps that is
passed on to falloc_caps(). Update the existing consumers to pass in
NULL.

Differential Revision:	https://reviews.freebsd.org/D3259
2015-08-05 07:36:50 +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_common.c Move FEATURE macros for v4l and v4l2 to the common module. 2015-05-24 16:00:01 +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 Finish r283544. In exec case properly detach threads from user space 2015-06-06 06:12:14 +00:00
linux_emul.h Print out unsupported futex operation message only once for the process. 2015-05-24 17:25:57 +00:00
linux_event.c Allow the creation of kqueues with a restricted set of Capsicum rights. 2015-08-05 07:36:50 +00:00
linux_event.h Add EPOLLRDHUP support. 2015-06-20 05:40:35 +00:00
linux_file.c Make pipes in CloudABI work. 2015-07-29 17:18:27 +00:00
linux_file.h Add several fcntl flags. 2015-05-24 16:32:52 +00:00
linux_fork.c Limit rights on process descriptors. 2015-07-31 10:21:58 +00:00
linux_futex.c Do not use struct l_timespec without conversion. While here move 2015-05-24 17:29:18 +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 Where possible we will use M_LINUX malloc(9) type. 2015-05-24 16:14:41 +00:00
linux_ioctl.c The latest cp tool is trying to use the btrfs clone operation that is 2015-05-24 18:12:04 +00:00
linux_ioctl.h The latest cp tool is trying to use the btrfs clone operation that is 2015-05-24 18:12:04 +00:00
linux_ipc.c x86_64 Linux do not use multiplexing on ipc system calls. 2015-05-24 15:44:41 +00:00
linux_ipc.h x86_64 Linux do not use multiplexing on ipc system calls. 2015-05-24 15:44:41 +00:00
linux_mib.c Introduce a new module linux_common.ko which is intended for the 2015-05-24 15:51:18 +00:00
linux_mib.h Update Linux compat revision to 32. 2015-05-24 16:55:32 +00:00
linux_misc.c The si_status field of the siginfo_t, provided by the waitid(2) and 2015-07-18 09:02:50 +00:00
linux_misc.h Add utimensat() system call. 2015-05-24 17:57:07 +00:00
linux_signal.c Rework signal code to allow using it by other modules, like linprocfs: 2015-05-24 17:47:20 +00:00
linux_signal.h Rework signal code to allow using it by other modules, like linprocfs: 2015-05-24 17:47:20 +00:00
linux_socket.c Properly initialize flags for accept4(2) not to return spurious EINVAL. 2015-06-08 20:03:15 +00:00
linux_socket.h Convert SCM_TIMESTAMP in recvmsg(). 2015-05-24 18:13:21 +00:00
linux_stats.c fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
linux_sysctl.c Where possible we will use M_LINUX malloc(9) type. 2015-05-24 16:14:41 +00:00
linux_sysproto.h
linux_time.c Linux nanosleep() and clock_nanosleep() system calls always 2015-05-24 18:14:38 +00:00
linux_timer.c Convert Linux signal number to the FreeBSD. 2015-05-24 17:49:09 +00:00
linux_timer.h Delete the duplicate of linux_to_native_clockid() function. 2015-05-24 17:30:31 +00:00
linux_uid16.c Where possible we will use M_LINUX malloc(9) type. 2015-05-24 16:14:41 +00:00
linux_util.c Implement epoll family system calls. This is a tiny wrapper 2015-05-24 16:41:39 +00:00
linux_util.h Fix linux_common module build with KTR option. 2015-05-24 16:52:45 +00:00
linux_vdso.c Add 64 bit support to the vdso. 2015-05-24 15:45:36 +00:00
linux_vdso.h Add 64 bit support to the vdso. 2015-05-24 15:45:36 +00:00
linux_videodev2_compat.h
linux_videodev_compat.h
linux.c Rework signal code to allow using it by other modules, like linprocfs: 2015-05-24 17:47:20 +00:00
linux.h Rework signal code to allow using it by other modules, like linprocfs: 2015-05-24 17:47:20 +00:00
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