freebsd-dev/sys/compat
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 Fix fcntl(2) compat32 after r270691. The copyin and copyout of the 2014-09-25 21:07:19 +00:00
ia32 Remove ia64. 2014-07-07 00:27:09 +00:00
linprocfs Fix build on 32-bit machines. 2014-09-18 20:29:17 +00:00
linsysfs Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
linux Remake Linux' SOUND_MIXER_INFO IOCTL as a wrapper around new FreeBSD's one. 2014-09-24 08:18:11 +00:00
ndis All mbuf external free functions never fail, so let them be void. 2014-07-11 13:58:48 +00:00
netbsd Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
svr4 Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
x86bios Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00