From patchwork Mon Jan 20 13:44:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Nesterov X-Patchwork-Id: 13945130 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 571CE1E1C29 for ; Mon, 20 Jan 2025 13:44:46 +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=1737380687; cv=none; b=dxMqcjW2/cub2jOH/tLpkSMwnuRGnFjt0WpYnZB3CE+4KXCl9AGDsptMVqKlmSupOVeIuH/u7d+rgUQGEW2PDoj2rVyGB6+WaVIl+xhxXqiaa5o9PT6+WBn+6mW+opesKno/Yu1s1F1w6Q0xfPSgwRllspjIoLFhi7DkXdMRBIA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737380687; c=relaxed/simple; bh=ojYhnGV3y1rgipsvsbCHu+qz/unwOAEI9H2xqBk081c=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ZSphyexzKz6fg4eSXO7tg2NR+Pu65Rxz1fLdwVloHC04axJ7dBeD2/uWorcUZYQf5r+GmY/EkUNl8dUeFT0cdt/VvWIwKi46PwFQNzR+IIadsnw0rudQEfHf5dHYjksi1ByEDgNHeTL3zMDp24AhyP7Fu5cjI9/pjwwR/mAI1U4= 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=iqvWCpR9; 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="iqvWCpR9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737380685; 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=iqvWCpR9PdsODWPJKFOdoTyvcsfxI7/X1r2b/xpN5WzONiOVbD6qgcgPoPElVlGMwBccpO yJKZBg3WBm6EYprMfJOig5CG3BJV1lAA9d5fH3ab7fkmV+aB/vD5+sxKeRPsz/P8fcdL8M 6dFVrh7z4FPoTNE/iLehcls/hS7UTVw= 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-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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(-)