svn commit: r344246 - head/usr.bin/kdump
Ed Maste
emaste at FreeBSD.org
Mon Feb 18 03:49:17 UTC 2019
Author: emaste
Date: Mon Feb 18 03:49:16 2019
New Revision: 344246
URL: https://svnweb.freebsd.org/changeset/base/344246
Log:
kdump: expand comment on reasons for CAPFAIL_LOOKUP
Comment for CAPFAIL_LOOKUP refered only to paths containing ".." but
it is returned for other restricted VFS lookup cases, such as absolute
paths or openat(AT_FDCWD, ...).
Modified:
head/usr.bin/kdump/kdump.c
Modified: head/usr.bin/kdump/kdump.c
==============================================================================
--- head/usr.bin/kdump/kdump.c Mon Feb 18 03:23:10 2019 (r344245)
+++ head/usr.bin/kdump/kdump.c Mon Feb 18 03:49:16 2019 (r344246)
@@ -2006,7 +2006,7 @@ ktrcapfail(struct ktr_cap_fail *ktr)
printf("disallowed system call");
break;
case CAPFAIL_LOOKUP:
- /* used ".." in strict-relative mode */
+ /* absolute or AT_FDCWD path, ".." path, etc. */
printf("restricted VFS lookup");
break;
default:
More information about the svn-src-head
mailing list