diff for duplicates of <20220524114250.GB14347@redhat.com> diff --git a/a/1.txt b/N1/1.txt index af00813..63fab4f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -22,7 +22,7 @@ __ptrace_unlink() or not. > -{ > - int ret; > - spin_lock(&sigh->siglock); -> - ret = (sigh->action[SIGCHLD-1].sa.sa_handler = SIG_IGN) || +> - ret = (sigh->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) || > - (sigh->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT); > - spin_unlock(&sigh->siglock); > - return ret; diff --git a/a/content_digest b/N1/content_digest index dcb4699..4474375 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020220518225355.784371-5-ebiederm@xmission.com\0" "From\0Oleg Nesterov <oleg@redhat.com>\0" "Subject\0Re: [PATCH 05/16] ptrace: Remove dead code from __ptrace_detach\0" - "Date\0Tue, 24 May 2022 11:42:51 +0000\0" + "Date\0Tue, 24 May 2022 13:42:51 +0200\0" "To\0Eric W. Biederman <ebiederm@xmission.com>\0" "Cc\0linux-kernel@vger.kernel.org" rjw@rjwysocki.net @@ -64,7 +64,7 @@ "> -{\n" "> -\tint ret;\n" "> -\tspin_lock(&sigh->siglock);\n" - "> -\tret = (sigh->action[SIGCHLD-1].sa.sa_handler = SIG_IGN) ||\n" + "> -\tret = (sigh->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) ||\n" "> -\t (sigh->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT);\n" "> -\tspin_unlock(&sigh->siglock);\n" "> -\treturn ret;\n" @@ -104,4 +104,4 @@ "\n" Oleg. -86111f2fb53b094f2ed5c6f7014ecfbbdfa2098c9f118ca68708d6cd4f57f21d +70792f1efeb2931734b8a2bf807b991d69e186321827d73edd850d3928353a70
diff --git a/a/1.txt b/N2/1.txt index af00813..cbcebb7 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -22,7 +22,7 @@ __ptrace_unlink() or not. > -{ > - int ret; > - spin_lock(&sigh->siglock); -> - ret = (sigh->action[SIGCHLD-1].sa.sa_handler = SIG_IGN) || +> - ret = (sigh->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) || > - (sigh->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT); > - spin_unlock(&sigh->siglock); > - return ret; @@ -61,3 +61,9 @@ See? No, this looks wrong. Or I missed something? Oleg. + + +_______________________________________________ +linux-um mailing list +linux-um@lists.infradead.org +http://lists.infradead.org/mailman/listinfo/linux-um diff --git a/a/content_digest b/N2/content_digest index dcb4699..d241f36 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,7 +2,7 @@ "ref\020220518225355.784371-5-ebiederm@xmission.com\0" "From\0Oleg Nesterov <oleg@redhat.com>\0" "Subject\0Re: [PATCH 05/16] ptrace: Remove dead code from __ptrace_detach\0" - "Date\0Tue, 24 May 2022 11:42:51 +0000\0" + "Date\0Tue, 24 May 2022 13:42:51 +0200\0" "To\0Eric W. Biederman <ebiederm@xmission.com>\0" "Cc\0linux-kernel@vger.kernel.org" rjw@rjwysocki.net @@ -64,7 +64,7 @@ "> -{\n" "> -\tint ret;\n" "> -\tspin_lock(&sigh->siglock);\n" - "> -\tret = (sigh->action[SIGCHLD-1].sa.sa_handler = SIG_IGN) ||\n" + "> -\tret = (sigh->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) ||\n" "> -\t (sigh->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT);\n" "> -\tspin_unlock(&sigh->siglock);\n" "> -\treturn ret;\n" @@ -102,6 +102,12 @@ "\n" "No, this looks wrong. Or I missed something?\n" "\n" - Oleg. + "Oleg.\n" + "\n" + "\n" + "_______________________________________________\n" + "linux-um mailing list\n" + "linux-um@lists.infradead.org\n" + http://lists.infradead.org/mailman/listinfo/linux-um -86111f2fb53b094f2ed5c6f7014ecfbbdfa2098c9f118ca68708d6cd4f57f21d +6152467b3462574d1b9288168f76fdc079d3a87de7792ac59526a6fcf32af2aa
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.