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:
Ed Maste 2019-02-18 03:49:16 +00:00
parent e5cb99d5a2
commit c0347e182c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344246

View File

@ -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: