From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C91901E1C29 for ; Mon, 20 Jan 2025 13:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737380690; cv=none; b=qfxiqG7RDLwW7ZT34cy9Km8jY7/npEbKQuD21REJevHqWXjNh3eGds+p+yAB+UtoCI+KOu/mxzwI24m1rkxNNmUZXgu7SK9cXnrLszD5trO+MtjvCozOnRhy/iPoDZVWmjwKf//riiU6j/6kLG/EI+U5nMZtGIPWYP+KOTO+OIo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737380690; c=relaxed/simple; bh=ojYhnGV3y1rgipsvsbCHu+qz/unwOAEI9H2xqBk081c=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=uXEBTGl3t31F6y47avsiUXZacKBwtEBF97oWkvdLhYgzDv4XqQpcEdyyAWaW9EksR9DJ9vZ+sFMlNMHO6U1VaikO1JVZAQRDHC+XT17RO6EqmHt8EDdpi5vtvIoT5eGGi7RhflL010Wr6EdJGe3fm6ZdRMtswi0W0ZbeSpzIM2E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=R9/sGpMb; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="R9/sGpMb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737380687; 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; bh=esHaCH94LdGCcr/CRETDjlEYdI7GR+2kJhOxJ8F9Pps=; b=R9/sGpMblmovSSTEmDpW23zjUMhNyn7ER4kVOkygWHGJiPn0sIeOtl48RBVdl3JyhIjfnj zwdOOMWQPXasGYj96l7u67DE41VQt5Eu9PBsV/CyRWtO9sXBlGVHkNNU1TPiF6tvMMsAhq 1Cs0yRQnVf4i+93/H0Yp94F5oiLW9IQ= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-648-mn46SPf1NXGrxaW4AoHaSQ-1; Mon, 20 Jan 2025 08:44:43 -0500 X-MC-Unique: mn46SPf1NXGrxaW4AoHaSQ-1 X-Mimecast-MFC-AGG-ID: mn46SPf1NXGrxaW4AoHaSQ Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id BFAF41956070; Mon, 20 Jan 2025 13:44:40 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.225.104]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id E98B319560BF; Mon, 20 Jan 2025 13:44:35 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Mon, 20 Jan 2025 14:44:15 +0100 (CET) Date: Mon, 20 Jan 2025 14:44:09 +0100 From: Oleg Nesterov To: Kees Cook , Andy Lutomirski , Will Drewry , Thomas Bogendoerfer Cc: Madhavan Srinivasan , Michael Ellerman , Thomas Gleixner , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 0/4] seccomp: remove the 'sd' argument from __secure_computing() Message-ID: <20250120134409.GA21241@redhat.com> 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 User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 Hello, I know nothing about arch/mips and I don't have a mips machine, 1/4 wasn't even compile tested. Oleg. --- arch/mips/kernel/ptrace.c | 20 ++------------------ arch/powerpc/kernel/ptrace/ptrace.c | 2 +- include/linux/seccomp.h | 12 ++++-------- kernel/entry/common.c | 2 +- kernel/seccomp.c | 26 ++++++++++---------------- 5 files changed, 18 insertions(+), 44 deletions(-)