freebsd-skq/sys/compat
Konstantin Belousov 68da8b22d2 Current linux_fooaffinity() emulation fails, as the FreeBSD affinity
syscalls expect the bitmap size in the range from 32 to 128. Old glibc
always assumed size 1024, while newer glibc searches for approriate
size, starting from 1024 and going up.

For now, use FreeBSD size of cpuset_t for bitmap size parameter and
return EINVAL if length of user space bitmap less than our size of
cpuset_t.

Submitted by:	dchagin
MFC after:	1 week
	[This requires MFC of the actual linux affinity syscalls]
2008-10-04 19:23:30 +00:00
..
freebsd32 Add support for installing 32-bit system calls from kernel modules. This 2008-09-25 20:50:21 +00:00
ia32 Add support for installing 32-bit system calls from kernel modules. This 2008-09-25 20:50:21 +00:00
linprocfs Change the linprocfs <pid>/maps and procfs <pid>/map handlers to use 2008-10-04 14:08:16 +00:00
linsysfs Add a pn_destroy field to pfs_node. This field points to a destructor 2007-03-12 12:16:52 +00:00
linux Current linux_fooaffinity() emulation fails, as the FreeBSD affinity 2008-10-04 19:23:30 +00:00
ndis Allow PAGE_SHIFT to already be defined. 2008-09-13 17:34:18 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
svr4 Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00