Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94881
b: refs/heads/master
c: 4a761b8
h: refs/heads/master
i:
  94879: a293a19
v: v3
  • Loading branch information
Pavel Emelyanov authored and Al Viro committed Apr 28, 2008
1 parent deee6c3 commit c6eea39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 41126226e186d92a45ed664e546abb5204588359
refs/heads/master: 4a761b8c1d7a3a4ee7ccf92ce255d986f601e067
6 changes: 3 additions & 3 deletions trunk/kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ static int audit_prepare_user_tty(pid_t pid, uid_t loginuid, u32 sessionid)
int err;

read_lock(&tasklist_lock);
tsk = find_task_by_pid(pid);
tsk = find_task_by_vpid(pid);
err = -ESRCH;
if (!tsk)
goto out;
Expand Down Expand Up @@ -871,7 +871,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
struct task_struct *tsk;

read_lock(&tasklist_lock);
tsk = find_task_by_pid(pid);
tsk = find_task_by_vpid(pid);
if (!tsk)
err = -ESRCH;
else {
Expand All @@ -894,7 +894,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
if (s->enabled != 0 && s->enabled != 1)
return -EINVAL;
read_lock(&tasklist_lock);
tsk = find_task_by_pid(pid);
tsk = find_task_by_vpid(pid);
if (!tsk)
err = -ESRCH;
else {
Expand Down

0 comments on commit c6eea39

Please sign in to comment.