Turn on AUDIT_ARG_RIGHTS() for cap_new(2).
Now that the code is in place to audit capability method rights, start using it to audit the 'rights' argument to cap_new(2). Approved by: re (kib), mentor (rwatson) Sponsored by: Google Inc
This commit is contained in:
parent
c5f2a23c79
commit
7a270867e7
@ -224,9 +224,7 @@ cap_new(struct thread *td, struct cap_new_args *uap)
|
||||
cap_rights_t rights = uap->rights;
|
||||
|
||||
AUDIT_ARG_FD(fd);
|
||||
#ifdef notyet /* capability auditing will follow in a few commits */
|
||||
AUDIT_ARG_RIGHTS(rights);
|
||||
#endif
|
||||
error = fget(td, fd, &fp);
|
||||
if (error)
|
||||
return (error);
|
||||
|
Loading…
Reference in New Issue
Block a user