Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8880
b: refs/heads/master
c: 582edda
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse committed Jul 13, 2005
1 parent 3c34457 commit a5e61b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 6c8c8ba5d7e31b37d0184c388183a6039a672417
refs/heads/master: 582edda586120004d0fb67113115fa442a0a1571
4 changes: 2 additions & 2 deletions trunk/kernel/auditsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ static enum audit_state audit_filter_syscall(struct task_struct *tsk,
int word = AUDIT_WORD(ctx->major);
int bit = AUDIT_BIT(ctx->major);

if (audit_pid && tsk->pid == audit_pid)
if (audit_pid && tsk->tgid == audit_tgid)
return AUDIT_DISABLED;

rcu_read_lock();
Expand Down Expand Up @@ -1255,7 +1255,7 @@ void audit_signal_info(int sig, struct task_struct *t)
extern pid_t audit_sig_pid;
extern uid_t audit_sig_uid;

if (unlikely(audit_pid && t->pid == audit_pid)) {
if (unlikely(audit_pid && t->tgid == audit_pid)) {
if (sig == SIGTERM || sig == SIGHUP) {
struct audit_context *ctx = current->audit_context;
audit_sig_pid = current->pid;
Expand Down

0 comments on commit a5e61b2

Please sign in to comment.