freebsd-skq/sys/compat/freebsd32
Konstantin Belousov 5cead59181 Correct sysent flags for dynamically loaded syscalls.
Using the https://github.com/google/capsicum-test/ suite, the
PosixMqueue.CapModeForked test was failing due to an ECAPMODE after
calling kmq_notify(). On further inspection, the dynamically
loaded syscall entry was initialized with sy_flags zeroed out, since
SYSCALL_INIT_HELPER() left sysent.sy_flags with the default value.

Add a new helper SYSCALL{,32}_INIT_HELPER_F() which takes an
additional argument to specify the sy_flags value.

Submitted by:	Siva Mahadevan <smahadevan@freebsdfoundation.org>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D11576
2017-07-14 09:34:44 +00:00
..
capabilities.conf
freebsd32_capability.c
freebsd32_ioctl.c
freebsd32_ioctl.h
freebsd32_ipc.h
freebsd32_misc.c Port PowerPC kqueue(2) compat32 fix in r320500 to MIPS. 2017-07-01 22:52:17 +00:00
freebsd32_misc.h
freebsd32_proto.h Regen. 2017-06-17 00:58:19 +00:00
freebsd32_signal.h Store a 32-bit PT_LWPINFO struct for 32-bit process core dumps. 2017-06-29 21:31:13 +00:00
freebsd32_syscall.h Regen. 2017-06-17 00:58:19 +00:00
freebsd32_syscalls.c Regen. 2017-06-17 00:58:19 +00:00
freebsd32_sysent.c Regen. 2017-06-17 00:58:19 +00:00
freebsd32_systrace_args.c Regen. 2017-06-17 00:58:19 +00:00
freebsd32_util.h Correct sysent flags for dynamically loaded syscalls. 2017-07-14 09:34:44 +00:00
freebsd32.h Port PowerPC kqueue(2) compat32 fix in r320500 to MIPS. 2017-07-01 22:52:17 +00:00
Makefile
syscalls.conf
syscalls.master Add abstime kqueue(2) timers and expand struct kevent members. 2017-06-17 00:57:26 +00:00