From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEBF1C433FE for ; Fri, 6 May 2022 06:55:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387197AbiEFG7W (ORCPT ); Fri, 6 May 2022 02:59:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1387156AbiEFG7O (ORCPT ); Fri, 6 May 2022 02:59:14 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A47DBF41; Thu, 5 May 2022 23:55:30 -0700 (PDT) Date: Fri, 6 May 2022 08:55:24 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1651820126; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QAH3FcCKKDUB8BwaUIjAj1fmKsKfS9SL945xR8vnlTc=; b=p1Ai83vwTZgyqAE/iwJdRqd+fgohNQWA7vHMnIYdnbQX0DbrL46TUGTFS0g6pfHu4Pk7Gf 4+pa0Y+9Z+O0xzSq1rTZJrvVS5sMZQrfTPaZyB5THNGchD6NSZZruLmPLIjtmxfbD1Z5fh N1cG7yFFKA78WxawduwxoEukfdq/l60wMFtdUkjffURvMl1RbZPvuWi0JNyGjxXjtFOogI 9oGj+2AEuXWdA8Yyyp/VgCLZnz/zPgzBe/vGPHlcTMTjnN8zyEVHbrTLswnP1XEpyx2+rI B7uiZWVY102NhOaW+Sb5s7kojxAO2Jtdmvid9e9wAggJPtiFMOns4kobQhGN1w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1651820126; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QAH3FcCKKDUB8BwaUIjAj1fmKsKfS9SL945xR8vnlTc=; b=MORZRFt4aT5cGysspLl+1u4glVgym6sLZTmRP/lsqFBHtslaKnTzdNby1vSOhIqZzsds36 CBl0YSd+fTBtweBw== From: Sebastian Andrzej Siewior To: "Eric W. Biederman" Cc: linux-kernel@vger.kernel.org, rjw@rjwysocki.net, Oleg Nesterov , mingo@kernel.org, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, mgorman@suse.de, Will Deacon , tj@kernel.org, linux-pm@vger.kernel.org, Peter Zijlstra , Richard Weinberger , Anton Ivanov , Johannes Berg , linux-um@lists.infradead.org, Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org, Kees Cook , Jann Horn , linux-ia64@vger.kernel.org Subject: Re: [PATCH v4 08/12] ptrace: Document that wait_task_inactive can't fail Message-ID: References: <87a6bv6dl6.fsf_-_@email.froward.int.ebiederm.org> <20220505182645.497868-8-ebiederm@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220505182645.497868-8-ebiederm@xmission.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-05-05 13:26:41 [-0500], Eric W. Biederman wrote: > After ptrace_freeze_traced succeeds it is known that the the tracee the > has a __state value of __TASK_TRACED and that no __ptrace_unlink will > happen because the tracer is waiting for the tracee, and the tracee is > in ptrace_stop. Sebastian From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from galois.linutronix.de ([193.142.43.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmrs8-001iLg-Ve for linux-um@lists.infradead.org; Fri, 06 May 2022 06:55:30 +0000 Date: Fri, 6 May 2022 08:55:24 +0200 From: Sebastian Andrzej Siewior Subject: Re: [PATCH v4 08/12] ptrace: Document that wait_task_inactive can't fail Message-ID: References: <87a6bv6dl6.fsf_-_@email.froward.int.ebiederm.org> <20220505182645.497868-8-ebiederm@xmission.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220505182645.497868-8-ebiederm@xmission.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: "Eric W. Biederman" Cc: linux-kernel@vger.kernel.org, rjw@rjwysocki.net, Oleg Nesterov , mingo@kernel.org, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, mgorman@suse.de, Will Deacon , tj@kernel.org, linux-pm@vger.kernel.org, Peter Zijlstra , Richard Weinberger , Anton Ivanov , Johannes Berg , linux-um@lists.infradead.org, Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org, Kees Cook , Jann Horn , linux-ia64@vger.kernel.org On 2022-05-05 13:26:41 [-0500], Eric W. Biederman wrote: > After ptrace_freeze_traced succeeds it is known that the the tracee the > has a __state value of __TASK_TRACED and that no __ptrace_unlink will > happen because the tracer is waiting for the tracee, and the tracee is > in ptrace_stop. Sebastian _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Andrzej Siewior Date: Fri, 06 May 2022 06:55:24 +0000 Subject: Re: [PATCH v4 08/12] ptrace: Document that wait_task_inactive can't fail Message-Id: List-Id: References: <87a6bv6dl6.fsf_-_@email.froward.int.ebiederm.org> <20220505182645.497868-8-ebiederm@xmission.com> In-Reply-To: <20220505182645.497868-8-ebiederm@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Eric W. Biederman" Cc: linux-kernel@vger.kernel.org, rjw@rjwysocki.net, Oleg Nesterov , mingo@kernel.org, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, mgorman@suse.de, Will Deacon , tj@kernel.org, linux-pm@vger.kernel.org, Peter Zijlstra , Richard Weinberger , Anton Ivanov , Johannes Berg , linux-um@lists.infradead.org, Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org, Kees Cook , Jann Horn , linux-ia64@vger.kernel.org On 2022-05-05 13:26:41 [-0500], Eric W. Biederman wrote: > After ptrace_freeze_traced succeeds it is known that the the tracee the > has a __state value of __TASK_TRACED and that no __ptrace_unlink will > happen because the tracer is waiting for the tracee, and the tracee is > in ptrace_stop. Sebastian