mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
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, ...).
This commit is contained in:
parent
e5cb99d5a2
commit
c0347e182c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344246
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue