From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7257B381AF for ; Mon, 6 Jul 2026 00:10:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783296657; cv=none; b=ps8OiG4E5ScKSqeoR4QFuUcVW2g3j338ppw61fdTAMcDfaSX5RPlWLuUd00MainvmIK212EurQw8h2ONe/wdFnl5wY4OtT5QE7wVxXHO0LjsUvMxGv4vb/rUP/s1+HUWo0+mA8oF4lGH0uHxuNN79BQGswwZG8SeE6ORPVFZr8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783296657; c=relaxed/simple; bh=4V+arDXHJoKT4cSZHGsfCduvMimsSgK+TomjMd8m1oo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Pp9hLwJaUbRiRukhMYULiYsN8pRVUPfX1QCaAysByt7kv3qo/+NXZaDvotKz5PSKQ9yls3xxFcJqC+gwxRTlA7AFR1BiFCw+xLW2Ro0uaCckCUiUPcOmfSygpvpoWJ9TnmT8RG66HUALgv41dC1olh8RLy6UAWtM1JQBIGMH4Aw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=mhHzDU0n; arc=none smtp.client-ip=209.85.160.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="mhHzDU0n" Received: by mail-qt1-f181.google.com with SMTP id d75a77b69052e-51c149c5722so13129131cf.0 for ; Sun, 05 Jul 2026 17:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1783296655; x=1783901455; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ta539TzwGsNCKpGw097iIC4tNmoYd6gNCaqW+hJFBeI=; b=mhHzDU0ntbfdQvq2KQPWU3+H/+eQlE/W05kc5UtK9X/vhDSSnd7mOP8tQtfi4dzkHS rrDUIiKGRg7LTEpo3UPm0UxvrUwGvii89QM7I+6Jgn8UscODtWU43+JZLLzJ+lBQ4pmX /hEi/CVJkoSkdbsEveiyOLA/S3vqi2vesAOL6vn/3DxUalwjb2hV8FDblITeY15kHY+n odM4I6mp8sr2DcxqsBqWKlBMwxSFFFLVckHfwvvRIMBM+t64VhHcN9IXEhAaRmPGMc++ bfCqyTreChqFCGeZ9gJ+x7YrEVzI+oLc2OvzB8/2UUdhGU95R/0E1F3UtqBKpzVKZzBl Uszg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783296655; x=1783901455; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ta539TzwGsNCKpGw097iIC4tNmoYd6gNCaqW+hJFBeI=; b=a8pKd7seW7xq1PC/hBR+6BLWqleauoUEBlezADHBvWpPbPctOw0apUi1mzkl3thrQJ nqOZrZWXW0a/5K3mBoXNc1lz9cRyVAqswo/LLAL/uaWbrf9KmU32rsyQeDFuzQ/oPCVZ jmUCsyyV4HYasFVntYJC8plqkU+eXXXpk8wYVb00EC6WnrdfRQBYcscdk/NoRGaWIisu 5+Fc0H7W4Wzg3O2HLMliSxfMh9kLEZJgGkRyyZvtPDqRBvWFZv1JMqdtaQr2imU8rusp WPbG1MIhGxl/VkGNUmSNhVrLG7DMYAhDz4LAjGePDj1v5zADoWF1k6cigDptrMTcdNsd 0FzA== X-Gm-Message-State: AOJu0Yz51yrc/QJJJDMUbyfHA8xX2IQQHWqW3i/yAPg9k2e1TVx3IC08 UkqOmOHwCFfa+C9bgSYfoMwaIPWJ2JWsgJoifNGluE4S+EpwxNVTni+mXMqc4nkwZWM= X-Gm-Gg: AfdE7clwHbmEs6y0jem/up7gbIaFSNeAsHnnwczPOgkvubz4ts/Oak+lLI+x8zDWpxt 4X2lDUBI4F09Gry1wZw1kH7JasECpDoEDD4+Sd0UnMEgsV5eYPG0qB5Nkw/T2AtEOPp8FWKpug5 Wrvr4x89mHRHYwSPXFBkH1jTdsMT9hiP7ZynVPceML9fD0IXBPJW1ICu7llR04KoEcUUGN+wqwg ANMHKSAHW22CYbsqWXEwbcQZFEYc17jZM3zV4D7++rrEmFyoroBgbmmQs0RVAI0pyKnPeAIhi5G jUVXElLLRVSM5cgtSoReZzKKOzMCU4TNELzk5oZ73/AeibVfnJnDqpO57JcxYaMfgbph2VFmppA dCUW7Lw4UJHH83GlWY7b42bu3EDmlgvM1uqFG6th+5chcJE/CXuaIZwwLEW/EQ4YGDtaBYUKIq1 if3fg= X-Received: by 2002:a05:622a:cf:b0:516:ed2c:9c75 with SMTP id d75a77b69052e-51c3c05a9f4mr163177171cf.16.1783296655368; Sun, 05 Jul 2026 17:10:55 -0700 (PDT) Received: from fedora ([172.56.218.236]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-51c41b55495sm79082691cf.11.2026.07.05.17.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jul 2026 17:10:54 -0700 (PDT) Date: Sun, 5 Jul 2026 20:10:50 -0400 From: Gregory Price To: Thomas Gleixner Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, corbet@lwn.net, skhan@linuxfoundation.org, peterz@infradead.org, luto@kernel.org, akpm@linux-foundation.org, feng.tang@linux.alibaba.com, pmladek@suse.com, lance.yang@linux.dev, marc.herbert@linux.intel.com, kees@kernel.org, leitao@debian.org, joel.granados@kernel.org, lirongqing@baidu.com, nathan@kernel.org, xur@google.com, lukas.bulwahn@redhat.com, ryan.roberts@arm.com Subject: Re: [PATCH v2 1/2] syscall_user_dispatch: Make it configurable in Kconfig Message-ID: References: <20260704015859.536580-1-gourry@gourry.net> <20260704015859.536580-2-gourry@gourry.net> <87o6gljhzc.ffs@fw13> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o6gljhzc.ffs@fw13> On Sun, Jul 05, 2026 at 10:31:51PM +0200, Thomas Gleixner wrote: > On Fri, Jul 03 2026 at 21:58, Gregory Price wrote: > > + default y > > + help > > + Syscall User Dispatch lets a thread have its own system calls outside > > + an allowed IP address range to be intercepted and redirected to a > > + userspace signal handler. > > Space/TAB mismatch. > bleh switched dev environments and forgot checkpatch doesn't catch this > Also the mechanism allows to filter either outside an allowed range or > inside an allowed range depending on the mode which is handed to the PRCTL. > hadn't noticed that feature actually got merged. ack, will just go with the general language > > +static inline bool syscall_user_dispatch(struct pt_regs *regs) > > __always_inline for the very same reason. Sorry compilers _are_ silly. > ack.