Searched hist:178036 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/compat/linux/
H A Dlinux_file.cdiff 178036 Wed Apr 09 14:42:50 MDT 2008 rdivacky 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)

Completed in 107 milliseconds