diff options
author | Paul Moore <paul.moore@hp.com> | 2006-09-29 20:05:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-09-29 20:05:05 -0400 |
commit | 95d4e6be25a68cd9fbe8c0d356b585504d8db1c7 (patch) | |
tree | 2133c970e6786bdf82004ace225b6bca19b9ddba /include/net/netlabel.h | |
parent | d6c641026dec68acfb4b0baa98aad960e963ed97 (diff) |
[NetLabel]: audit fixups due to delayed feedback
Fix some issues Steve Grubb had with the way NetLabel was using the audit
subsystem. This should make NetLabel more consistent with other kernel
generated audit messages specifying configuration changes.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netlabel.h')
-rw-r--r-- | include/net/netlabel.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h index 190bfdbbdba6..c63a58058e21 100644 --- a/include/net/netlabel.h +++ b/include/net/netlabel.h | |||
@@ -92,11 +92,17 @@ | |||
92 | * | 92 | * |
93 | */ | 93 | */ |
94 | 94 | ||
95 | /* NetLabel audit information */ | ||
96 | struct netlbl_audit { | ||
97 | u32 secid; | ||
98 | uid_t loginuid; | ||
99 | }; | ||
100 | |||
95 | /* Domain mapping definition struct */ | 101 | /* Domain mapping definition struct */ |
96 | struct netlbl_dom_map; | 102 | struct netlbl_dom_map; |
97 | 103 | ||
98 | /* Domain mapping operations */ | 104 | /* Domain mapping operations */ |
99 | int netlbl_domhsh_remove(const char *domain, u32 audit_secid); | 105 | int netlbl_domhsh_remove(const char *domain, struct netlbl_audit *audit_info); |
100 | 106 | ||
101 | /* LSM security attributes */ | 107 | /* LSM security attributes */ |
102 | struct netlbl_lsm_cache { | 108 | struct netlbl_lsm_cache { |