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
@ -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…
x
Reference in New Issue
Block a user