diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2016-11-22 00:41:24 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2016-11-22 00:41:24 +0000 |
| commit | 1279fdafced5e30c46f5c63dbae4a5c159cbc25e (patch) | |
| tree | b0ab550376f8b515861bda447f54f340e61954c5 /sys/security | |
| parent | 9fc3c7f733e93a624a5a4ffb8793b8ee0ef96d0d (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/audit/audit_bsm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c index b4b1c67a3aec..62f4d8527b61 100644 --- a/sys/security/audit/audit_bsm.c +++ b/sys/security/audit/audit_bsm.c @@ -979,10 +979,7 @@ kaudit_to_bsm(struct kaudit_record *kar, struct au_record **pau) au_fcntl_cmd_to_bsm(ar->ar_arg_cmd)); kau_write(rec, tok); } - if (ar->ar_arg_cmd == F_GETLK || ar->ar_arg_cmd == F_SETLK || - ar->ar_arg_cmd == F_SETLKW) { - FD_VNODE1_TOKENS; - } + FD_VNODE1_TOKENS; break; case AUE_FCHFLAGS: |
