mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [folded-merged] ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission-fix.patch removed from -mm tree
@ 2020-04-01 21:04 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-04-01 21:04 UTC (permalink / raw)
  To: ebiederm, mm-commits, oleg


The patch titled
     Subject: ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission-fix
has been removed from the -mm tree.  Its filename was
     ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission-fix.patch

This patch was dropped because it was folded into ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission.patch

------------------------------------------------------
From: Oleg Nesterov <oleg@redhat.com>
Subject: ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission-fix

s/PIDTYPE_PID/PIDTYPE_TGID/, per Eric

Link: http://lkml.kernel.org/r/20200327195643.GA9366@redhat.com
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 ipc/mqueue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/ipc/mqueue.c~ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission-fix
+++ a/ipc/mqueue.c
@@ -801,7 +801,7 @@ static void __do_notify(struct mqueue_in
 			 * bypass check_kill_permission(). It is from kernel
 			 * but si_fromuser() can't know this.
 			 */
-			task = pid_task(info->notify_owner, PIDTYPE_PID);
+			task = pid_task(info->notify_owner, PIDTYPE_TGID);
 			if (task)
 				do_send_sig_info(info->notify.sigev_signo,
 						&sig_i, task, PIDTYPE_TGID);
_

Patches currently in -mm which might be from oleg@redhat.com are

ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission.patch
ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission-v2.patch
aio-simplify-read_events.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-01 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-01 21:04 [folded-merged] ipc-mqueuec-change-__do_notify-to-bypass-check_kill_permission-fix.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).