Commit:     56496c1d83dfae0c74e2f43adb45d2d95e16c0d5
Parent:     6c5f3e7b43300508fe3947ff3cfff0f86043bb57
Author:     Pavel Emelyanov <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 8 04:19:21 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 09:22:29 2008 -0800

    Pidns: fix badly converted mqueues pid handling
    When sending the pid namespaces patches I wrongly converted the tsk->tgid 
    task_pid_vnr(tsk) in mqueue-s (the git id of this patch is
    The proper behavior is to get the task_tgid_vnr(tsk).
    This seem to be the only mistake of that kind.
    Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]>
    Cc: "Eric W. Biederman" <[EMAIL PROTECTED]>
    Cc: Oleg Nesterov <[EMAIL PROTECTED]>
    Cc: Balbir Singh <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 ipc/mqueue.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 147d502..60f7a27 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -509,7 +509,7 @@ static void __do_notify(struct mqueue_inode_info *info)
                        sig_i.si_errno = 0;
                        sig_i.si_code = SI_MESGQ;
                        sig_i.si_value = info->notify.sigev_value;
-                       sig_i.si_pid = task_pid_vnr(current);
+                       sig_i.si_pid = task_tgid_vnr(current);
                        sig_i.si_uid = current->uid;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to