freebsd-skq/sys/compat/linux
kib 8f845e475e Fix the mis-handling of the VV_TEXT on the nullfs vnodes.
If you have a binary on a filesystem which is also mounted over by
nullfs, you could execute the binary from the lower filesystem, or
from the nullfs mount. When executed from lower filesystem, the lower
vnode gets VV_TEXT flag set, and the file cannot be modified while the
binary is active. But, if executed as the nullfs alias, only the
nullfs vnode gets VV_TEXT set, and you still can open the lower vnode
for write.

Add a set of VOPs for the VV_TEXT query, set and clear operations,
which are correctly bypassed to lower vnode.

Tested by:	pho (previous version)
MFC after:	2 weeks
2012-09-28 11:25:02 +00:00
..
check_error.d - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
check_internal_locks.d - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_dtrace.h - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_emul.c - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_emul.h - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_file.c Remove redundant check 2012-09-12 10:12:03 +00:00
linux_file.h Make the Linux *at() calls a bit more complete. 2011-11-19 07:19:37 +00:00
linux_fork.c - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_futex.c - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_futex.h Yet another unimplemented futex operation, print out about. 2011-01-31 06:06:23 +00:00
linux_getcwd.c The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-01 17:20:04 +00:00
linux_ioctl.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
linux_ioctl.h This is v4l2 support for the linuxulator. This allows to access FreeBSD 2011-05-04 09:05:39 +00:00
linux_ipc.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
linux_ipc.h
linux_mib.c - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_mib.h Staticize functions which are not used somewhere else, move the 2011-03-15 13:40:47 +00:00
linux_misc.c Fix the mis-handling of the VV_TEXT on the nullfs vnodes. 2012-09-28 11:25:02 +00:00
linux_misc.h linux compat: improve and fix sendmsg/recvmsg compatibility 2011-03-26 11:05:53 +00:00
linux_signal.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
linux_signal.h Put the macro declaration in the relevant include file for future use. 2011-02-15 21:22:09 +00:00
linux_socket.c Convert files to UTF-8 2012-01-15 13:23:18 +00:00
linux_socket.h linux compat: improve and fix sendmsg/recvmsg compatibility 2011-03-26 11:05:53 +00:00
linux_stats.c Remove direct access to si_name. 2012-02-10 12:35:57 +00:00
linux_sysctl.c - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_sysproto.h
linux_time.c - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_uid16.c - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_util.c - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_util.h - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
linux_videodev2_compat.h Commit the missing linux_videdev2_compat.h (lost somewhere between 2011-05-04 13:09:20 +00:00
linux_videodev2.h Add explanation about the use-permission and FreeBSDify it. 2011-05-04 08:41:55 +00:00
linux_videodev_compat.h This is v4l support for the linuxulator. This allows to access FreeBSD 2009-12-04 21:06:54 +00:00
linux_videodev.h Fix typo in comment, improve comment. 2011-05-04 08:42:31 +00:00
stats_timing.d - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00
trace_futexes.d - >500 static DTrace probes for the linuxulator 2012-05-05 19:42:38 +00:00