freebsd-dev/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 Allow cpuset_{get,set}affinity in capabilities mode 2017-05-24 00:58:30 +00:00
freebsd32_capability.c Add compat32 support for capsicum. 2016-09-18 22:03:07 +00:00
freebsd32_ioctl.c Remove a pointless translation of struct ioc_toc_header. 2016-09-08 00:38:50 +00:00
freebsd32_ioctl.h Remove a pointless translation of struct ioc_toc_header. 2016-09-08 00:38:50 +00:00
freebsd32_ipc.h Add shmatt_t. 2016-07-26 17:23:49 +00:00
freebsd32_misc.c Port PowerPC kqueue(2) compat32 fix in r320500 to MIPS. 2017-07-01 22:52:17 +00:00
freebsd32_misc.h Move the PAIR32TO64() macro and the RETVAL_HI/RETVAL_LO defines to a 2013-08-18 13:34:11 +00:00
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 Add compat32 support for capsicum. 2016-09-18 22:03:07 +00:00
syscalls.conf
syscalls.master Add abstime kqueue(2) timers and expand struct kevent members. 2017-06-17 00:57:26 +00:00