freebsd-dev/sys/compat/linux
Dmitry Chagin a7ac457613 According to Linux man sigaltstack(3) shall return EINVAL if the ss
argument is not a null pointer, and the ss_flags member pointed to by ss
contains flags other than SS_DISABLE. However, in fact, Linux also
allows SS_ONSTACK flag which is simply ignored.

For buggy apps (at least mono) ignore other than SS_DISABLE
flags as a Linux do.

While here move MI part of sigaltstack code to the appropriate place.

Reported by:	abi at abinet dot ru
2015-05-24 17:44:08 +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 Improve ktr(9) records in thread managment code. 2015-05-24 17:09:07 +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 Add EPOLLERR flag handling to epoll. 2015-05-24 17:42:45 +00:00
linux_event.h Add EPOLLERR flag handling to epoll. 2015-05-24 17:42:45 +00:00
linux_file.c Add preliminary fallocate system call implementation 2015-05-24 17:33:21 +00:00
linux_file.h Add several fcntl flags. 2015-05-24 16:32:52 +00:00
linux_fork.c Improve ktr(9) records in thread managment code. 2015-05-24 17:09:07 +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 Move FEATURE macros for v4l and v4l2 to the common module. 2015-05-24 16:00:01 +00:00
linux_ioctl.h Introduce a new module linux_common.ko which is intended for the 2015-05-24 15:51:18 +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 Do not use struct l_timespec without conversion. While here move 2015-05-24 17:29:18 +00:00
linux_misc.h Put the correct value for the abi_nfdbits parameter of kern_select() for 2015-05-24 16:47:13 +00:00
linux_signal.c According to Linux man sigaltstack(3) shall return EINVAL if the ss 2015-05-24 17:44:08 +00:00
linux_signal.h According to Linux man sigaltstack(3) shall return EINVAL if the ss 2015-05-24 17:44:08 +00:00
linux_socket.c To avoid code duplication move open/fcntl definitions to the MI 2015-05-24 16:31:44 +00:00
linux_socket.h 64-bit paltforms, like x86_64, do not use multiplexing on 2015-05-24 15:41:27 +00:00
linux_stats.c As for now our tmpfs is no longer being considered 2015-05-24 17:26:58 +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 Delete the duplicate of linux_to_native_clockid() function. 2015-05-24 17:30:31 +00:00
linux_timer.c Delete the duplicate of linux_to_native_clockid() function. 2015-05-24 17:30:31 +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 Commit the missing linux_videdev2_compat.h (lost somewhere between 2011-05-04 13:09:20 +00:00
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