mqueue: Explicitly capture the user namespace to send the notification to.
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 17 Nov 2011 06:57:55 +0000 (22:57 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 7 Apr 2012 23:55:53 +0000 (16:55 -0700)
commit6f9ac6d93a0916de09d11b0a247ade8f4347728b
tree93e47420422e8e99befd2c14aaab75fa167cbb59
parentaeb3ae9da9b50a386b22af786d19b623e8d9f0fa
mqueue: Explicitly capture the user namespace to send the notification to.

Stop relying on user->user_ns which is going away and instead capture
the user_namespace of the process we are supposed to notify.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
ipc/mqueue.c