freebsd-dev/sys/compat
Roman Divacky 872cbe6466 Remove using magic value of -1 to distinguish between linux_open()
and linux_openat(). Instead just pass AT_FDCWD into linux_common_open()
for the linux_open() case. This prevents passing -1 as a dirfd to
openat() from succeeding which is wrong.

Suggested by:	rwatson, kib
Approved by:	kib (mentor)
2008-04-09 16:42:50 +00:00
..
freebsd32 Regen 2008-03-31 12:12:27 +00:00
ia32 Allow the ia32 resource limits (compat.ia32.max{dsiz,ssiz,vmem} to be 2007-09-24 20:49:39 +00:00
linprocfs Add the support for the AT_FDCWD and fd-relative name lookups to the 2008-03-31 12:01:21 +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 Remove using magic value of -1 to distinguish between linux_open() 2008-04-09 16:42:50 +00:00
ndis Give MEXTADD() another argument to make both void pointers to the 2008-02-01 19:36:27 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
pecoff Add the support for the AT_FDCWD and fd-relative name lookups to the 2008-03-31 12:01:21 +00:00
svr4 Implement the linux syscalls 2008-04-08 09:45:49 +00:00