Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192435
b: refs/heads/master
c: cb84aa9
h: refs/heads/master
i:
  192433: 61f4486
  192431: 4519051
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Apr 27, 2010
1 parent 752bcbc commit dd773d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b03df87d119f50715891dcc09e487f6ae5c029f1
refs/heads/master: cb84aa9b42b506299e5aea1ba4da26c03ab12877
2 changes: 1 addition & 1 deletion trunk/include/linux/lsm_audit.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct common_audit_data {
#define LSM_AUDIT_DATA_IPC 4
#define LSM_AUDIT_DATA_TASK 5
#define LSM_AUDIT_DATA_KEY 6
#define LSM_AUDIT_NO_AUDIT 7
#define LSM_AUDIT_DATA_NONE 7
#define LSM_AUDIT_DATA_KMOD 8
struct task_struct *tsk;
union {
Expand Down
2 changes: 1 addition & 1 deletion trunk/security/lsm_audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ static void dump_common_audit_data(struct audit_buffer *ab,
}

switch (a->type) {
case LSM_AUDIT_NO_AUDIT:
case LSM_AUDIT_DATA_NONE:
return;
case LSM_AUDIT_DATA_IPC:
audit_log_format(ab, " key=%d ", a->u.ipc_id);
Expand Down
3 changes: 1 addition & 2 deletions trunk/security/selinux/avc.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,7 @@ void avc_audit(u32 ssid, u32 tsid,
return;
if (!a) {
a = &stack_data;
memset(a, 0, sizeof(*a));
a->type = LSM_AUDIT_NO_AUDIT;
COMMON_AUDIT_DATA_INIT(a, NONE);
}
a->selinux_audit_data.tclass = tclass;
a->selinux_audit_data.requested = requested;
Expand Down

0 comments on commit dd773d6

Please sign in to comment.