freebsd-nq/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
freebsd32_ioctl.c
freebsd32_ioctl.h
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
freebsd32_proto.h
freebsd32_signal.h
freebsd32_syscall.h
freebsd32_syscalls.c
freebsd32_sysent.c
freebsd32_systrace_args.c
freebsd32_util.h
freebsd32.h Return real parent pid in kinfo (used by e.g. ps) 2014-08-28 08:41:11 +00:00
Makefile
syscalls.conf
syscalls.master