diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:26:00 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:26:00 +0000 |
| commit | e5ecee7440496904939e936501d0db93bed15415 (patch) | |
| tree | 454d5fe169c8881519befda38dffc2c0fbfd3b39 /sys/security/audit | |
| parent | 7c8e2a57ddc4c00add6ba2468d9cdf85b77b4d5b (diff) | |
Notes
Diffstat (limited to 'sys/security/audit')
| -rw-r--r-- | sys/security/audit/audit_bsm.c | 1 | ||||
| -rw-r--r-- | sys/security/audit/audit_dtrace.c | 2 | ||||
| -rw-r--r-- | sys/security/audit/audit_syscalls.c | 1 | ||||
| -rw-r--r-- | sys/security/audit/bsm_token.c | 2 |
4 files changed, 0 insertions, 6 deletions
diff --git a/sys/security/audit/audit_bsm.c b/sys/security/audit/audit_bsm.c index 3094509dbfdd..6742470c9578 100644 --- a/sys/security/audit/audit_bsm.c +++ b/sys/security/audit/audit_bsm.c @@ -318,7 +318,6 @@ kau_free(struct au_record *rec) } \ } while (0) - /* * Implement auditing for the auditon() system call. The audit tokens that * are generated depend on the command that was sent into the auditon() diff --git a/sys/security/audit/audit_dtrace.c b/sys/security/audit/audit_dtrace.c index 985baf142ab3..21a290217288 100644 --- a/sys/security/audit/audit_dtrace.c +++ b/sys/security/audit/audit_dtrace.c @@ -383,7 +383,6 @@ dtaudit_au_evnamemap_callback(struct evname_elem *ene) if ((ene->ene_commit_probe_id == 0) && (dtrace_probe_lookup(dtaudit_id, dtaudit_module_str, ene_name_lower, dtaudit_name_commit_str) == 0)) { - /* * Create the commit probe. * @@ -413,7 +412,6 @@ dtaudit_au_evnamemap_callback(struct evname_elem *ene) if ((ene->ene_bsm_probe_id == 0) && (dtrace_probe_lookup(dtaudit_id, dtaudit_module_str, ene_name_lower, dtaudit_name_bsm_str) == 0)) { - /* * Create the bsm probe. * diff --git a/sys/security/audit/audit_syscalls.c b/sys/security/audit/audit_syscalls.c index 8548c4e1f74b..5f07241109f1 100644 --- a/sys/security/audit/audit_syscalls.c +++ b/sys/security/audit/audit_syscalls.c @@ -90,7 +90,6 @@ sys_audit(struct thread *td, struct audit_args *uap) * commit the user audit record. */ if (ar == NULL) { - /* * This is not very efficient; we're required to allocate a * complete kernel audit record just so the user record can diff --git a/sys/security/audit/bsm_token.c b/sys/security/audit/bsm_token.c index 05a1dcff93f7..2dc4df2aa1b8 100644 --- a/sys/security/audit/bsm_token.c +++ b/sys/security/audit/bsm_token.c @@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$"); #include <netinet/in_systm.h> #include <netinet/ip.h> - #include <bsm/audit.h> #include <bsm/audit_internal.h> #include <bsm/audit_record.h> @@ -342,7 +341,6 @@ au_to_data(char unit_print, char unit_type, char unit_count, const char *p) return (t); } - /* * token ID 1 byte * status 4 bytes |
