freebsd-dev/sys
Konstantin Belousov e0c161b89c Add another flags argument to vn_open_cred. Use it to specify that some
vn_open_cred invocations shall not audit namei path.

In particular, specify VN_OPEN_NOAUDIT for dotdot lookup performed by
default implementation of vop_vptocnp, and for the open done for core
file. vn_fullpath is called from the audit code, and vn_open there need
to disable audit to avoid infinite recursion. Core file is created on
return to user mode, that, in particular, happens during syscall return.
The creation of the core file is audited by direct calls, and we do not
want to overwrite audit information for syscall.

Reported, reviewed and tested by: rwatson
2009-06-21 13:41:32 +00:00
..
amd64 I have several machines where the following warning is printed: 2009-06-15 21:55:29 +00:00
arm Track the kernel mapping of a physical page by a new entry in vm_page 2009-06-18 20:42:37 +00:00
boot Add cas(4), a driver for Sun Cassini/Cassini+ and National Semiconductor 2009-06-15 18:22:41 +00:00
bsm
cam Include <camlib.h> for cam_path_string(). 2009-06-14 12:46:34 +00:00
cddl Add another flags argument to vn_open_cred. Use it to specify that some 2009-06-21 13:41:32 +00:00
compat Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
conf Greatly simplify cxgb by removing almost all of the custom mbuf management logic 2009-06-19 23:34:32 +00:00
contrib All consumers of in_cksum.h have been properly #ifdefed already, 2009-06-10 11:19:34 +00:00
crypto
ddb
dev use PROTO_DEFAULT. 2009-06-21 13:13:13 +00:00
fs In non-debugging mode make this define (void)0 instead of nothing. This 2009-06-21 08:36:30 +00:00
gdb
geom Fix tabs, slightly improve comments. 2009-06-18 11:12:11 +00:00
gnu Do not use casts (int *)0 and (struct thread *)0 for the arguments of 2009-06-16 15:13:45 +00:00
i386 Use NGROUPS instead of NGROUPS_MAX as the limits on setgroups and 2009-06-20 18:52:02 +00:00
ia64 Drop the high FP state of an exiting thread in cpu_thread_exit() and 2009-06-20 05:36:53 +00:00
isa
kern Add another flags argument to vn_open_cred. Use it to specify that some 2009-06-21 13:41:32 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern add explanatory header license 2009-06-09 21:29:16 +00:00
mips Add a .cvsignore file and along with that put an svn:ignore proprty 2009-06-17 10:48:32 +00:00
modules Greatly simplify cxgb by removing almost all of the custom mbuf management logic 2009-06-19 23:34:32 +00:00
net Switch cmd argument to u_long. This matches what if_ethersubr.c does and 2009-06-21 10:29:31 +00:00
net80211 ieee80211_dwds_mcast(): check the correct mbuf ptr after encap. 2009-06-18 21:15:41 +00:00
netatalk Don't lock sockets around calls to mac_socket_create_mbuf() -- policies 2009-06-20 17:28:38 +00:00
netgraph s/usb2_/usb_|usbd_/ on all function names for the USB stack. 2009-06-15 01:02:43 +00:00
netinet Switch cmd argument to u_long. This matches what if_ethersubr.c does and 2009-06-21 10:29:31 +00:00
netinet6 Switch cmd argument to u_long. This matches what if_ethersubr.c does and 2009-06-21 10:29:31 +00:00
netipsec Move setting of ports from NAT-T below key_getsah() and actually 2009-06-19 21:01:55 +00:00
netipx Remove historical support for capturing IPX packets in the output path 2009-06-21 10:10:44 +00:00
netnatm
netncp
netsmb Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs
nfsclient Fix some of the style errors in *getpages(). 2009-06-18 05:56:24 +00:00
nfsserver Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
nlm Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the 2009-06-17 22:50:26 +00:00
opencrypto
pc98 Remove MAC kernel config files and add "options MAC" to GENERIC, with the 2009-06-02 18:31:08 +00:00
pci
powerpc Teach cpu_est_clockrate() about the G5's slightly different PMC. This 2009-06-17 16:34:40 +00:00
rpc Delete the declaration of an unused variable so that it will build. 2009-06-20 17:16:29 +00:00
security Chase the removal of PRIV_TTY_PRISON in the mac(9) modules. 2009-06-20 15:54:35 +00:00
sparc64 Add cas(4), a driver for Sun Cassini/Cassini+ and National Semiconductor 2009-06-15 18:22:41 +00:00
sun4v Adjust the padding of struct pcpu to r193219. 2009-06-03 19:31:26 +00:00
sys Add another flags argument to vn_open_cred. Use it to specify that some 2009-06-21 13:41:32 +00:00
tools - Add a way to change filter oversampling factor through 2009-06-15 04:31:34 +00:00
ufs Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
vm Strive for greater consistency among the places that implement real, 2009-06-21 00:21:33 +00:00
xdr
xen
Makefile