freebsd-skq/sys/compat/freebsd32
Konstantin Belousov f69261f2f9 Fix fcntl(2) compat32 after r270691. The copyin and copyout of the
struct flock are done in the sys_fcntl(), which mean that compat32 used
direct access to userland pointers.

Move code from sys_fcntl() to new wrapper, kern_fcntl_freebsd(), which
performs neccessary userland memory accesses, and use it from both
native and compat32 fcntl syscalls.

Reported by:	jhibbits
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2014-09-25 21:07:19 +00:00
..
freebsd32_capability.c Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
freebsd32_ioctl.c Overhaul CAM SG driver IOCTL interfaces. 2014-06-02 19:53:53 +00:00
freebsd32_ioctl.h Overhaul CAM SG driver IOCTL interfaces. 2014-06-02 19:53:53 +00:00
freebsd32_ipc.h
freebsd32_misc.c Fix fcntl(2) compat32 after r270691. The copyin and copyout of the 2014-09-25 21:07:19 +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. 2014-08-27 01:02:19 +00:00
freebsd32_signal.h Move the convert_sigevent32() utility function into freebsd32_misc.c 2013-07-21 19:33:48 +00:00
freebsd32_syscall.h Regen. 2014-08-27 01:02:19 +00:00
freebsd32_syscalls.c Regen. 2014-08-27 01:02:19 +00:00
freebsd32_sysent.c Regen. 2014-08-27 01:02:19 +00:00
freebsd32_systrace_args.c Regen. 2014-08-27 01:02:19 +00:00
freebsd32_util.h Remove ia64. 2014-07-07 00:27:09 +00:00
freebsd32.h Return real parent pid in kinfo (used by e.g. ps) 2014-08-28 08:41:11 +00:00
Makefile add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls 2011-03-12 08:51:43 +00:00
syscalls.conf add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls 2011-03-12 08:51:43 +00:00
syscalls.master Fix handling of the third argument for fcntl(2). The native syscall 2014-08-27 01:02:02 +00:00