freebsd-dev/sys
Kyle Evans cc62118e65 audit_canon_path_vp: don't panic if cdir == NULL
cdir may have simply failed to resolve (e.g. fget_cap failure in namei
leading to NULL dp passed to AUDIT_ARG_UPATH*_VP); restore the pre-rS358191
behavior of setting cpath[0] = '\0' and bailing out instead of panicking.

This was found by inadvertently running the libc/c063 tests with auditing
enabled, resulting in a panic.

Reviewed by:	mjg (committed version actually his)
Differential Revision:	https://reviews.freebsd.org/D24445
2020-04-17 02:09:31 +00:00
..
amd64 Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
arm arm: nvidia: pcie: Rename class name to pcib 2020-04-16 20:44:23 +00:00
arm64 Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
bsm vfs: add realpathat syscall 2020-02-20 16:58:19 +00:00
cam Checks here against useracc are not useful and are racy. 2020-04-13 21:04:33 +00:00
cddl MFOpenZFS: ZVOLs should not be allowed to have children 2020-03-25 15:56:18 +00:00
compat Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
conf files: Add mmc_fdt_helpers for mmccam enabled config 2020-04-14 18:11:54 +00:00
contrib Remove FreeBSD/armv4 specific bits from CK. 2020-04-13 23:16:32 +00:00
crypto Use crypto_contiguous_subsegment(). 2020-04-15 21:05:38 +00:00
ddb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
dev Alert devd when acpi_video brightness changes 2020-04-16 21:56:52 +00:00
dts allwinner: aw_thermal: Cope with DTS changes 2020-04-14 19:05:17 +00:00
fs Fix the NFSv4.2 extended attribute support for remove extended attrbute. 2020-04-15 21:27:52 +00:00
gdb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
geom Mark eli_metadata_crypto_supported inline. 2020-04-15 18:27:28 +00:00
gnu dts: Import DTS from Linux 5.6 2020-04-14 18:57:00 +00:00
i386 Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
isa
kern Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
kgssapi Remove support for Kernel GSS algorithms deprecated in r348875. 2020-04-10 23:08:41 +00:00
libkern Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
mips Add 'gpio' since mmc now requires gpio_if.h. 2020-04-16 20:45:54 +00:00
modules arm: allwinner: aw_mmc: Make it possible to unload the module 2020-04-16 16:00:21 +00:00
net Remove an duplicate definition of nhops_dump_sysctl() 2020-04-16 23:28:47 +00:00
net80211 Fix -Wvoid-pointer-to-enum-cast warnings. 2020-04-15 18:15:58 +00:00
netgraph Fix mbuf handling in le advertize packet processing. 2020-04-02 09:15:31 +00:00
netinet Avoid calling protocol drain routines more than once per reclamation event. 2020-04-16 20:17:24 +00:00
netinet6 Avoid calling protocol drain routines more than once per reclamation event. 2020-04-16 20:17:24 +00:00
netipsec Refactor driver and consumer interfaces for OCF (in-kernel crypto). 2020-03-27 18:25:23 +00:00
netpfil Convert pf rtable checks to the new routing KPI. 2020-04-15 13:00:48 +00:00
netsmb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
nfs Re-organize the NFS file handle affinity code for the NFS server. 2020-04-14 00:01:26 +00:00
nfsclient
nfsserver
nlm Remove the old NFS lock device driver that uses Giant. 2020-04-09 14:44:46 +00:00
ofed Convert OFED rtable interactions to the new routing KPI. 2020-04-15 13:06:55 +00:00
opencrypto Avoid checking pointers that are never NULL. 2020-04-02 17:22:16 +00:00
powerpc Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
riscv riscv: Add semicolon missing from r359672 2020-04-06 23:54:50 +00:00
rpc Change the xid for client side krpc over UDP to a global value. 2020-04-05 21:08:17 +00:00
security audit_canon_path_vp: don't panic if cdir == NULL 2020-04-17 02:09:31 +00:00
sys Convert canary, execpathp, and pagesizes to pointers. 2020-04-16 21:53:17 +00:00
teken
tests Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs ufs: apply suspension for non-forced rw unmounts. 2020-04-10 01:24:16 +00:00
vm Remove dead code leftover from r331018. 2020-03-31 01:12:53 +00:00
x86 Improve TSC calibration logic. 2020-04-15 22:28:51 +00:00
xdr typo: s/impelmentation/implementation/. 2020-02-07 15:14:29 +00:00
xen Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many) 2020-02-25 19:04:39 +00:00
Makefile Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00