Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp723365rdb; Sun, 28 Jan 2024 06:17:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0AsIVlvJMbPXZYLctAzrnpEPCEqwhpNoxmsXKiVJA+/q5CD+j4Qn6aFhQ7DLNRQHTJLtl X-Received: by 2002:a17:90b:3cd:b0:292:e9b3:be67 with SMTP id go13-20020a17090b03cd00b00292e9b3be67mr1977411pjb.65.1706451453674; Sun, 28 Jan 2024 06:17:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706451453; cv=pass; d=google.com; s=arc-20160816; b=OGgm8xHMS2iDUYNDWLeNlSf3WTbyv8E6OJDrbGIYpif0mwQbJW9+/RiA7P5mcHfY/J fdCB9VyDiS9iueoW1XG49OpESPZCPahvbKI/HoJOqXBUMP1yZsF5pTaiR27jvat0iDb8 ZPiPJc4BuxJNXgQMT4SM/uCLfJYjMKJFYnx/ahE5CjHKE6de4zy1bRNlTm08rV3gT5yL GCirOjbDJg8U6GbHiA+Ax3PnOuaTAvQCnLNAZPzKhwKyJhKe7SMvCQMVCV57A9OBb5U/ DLdWw8kTy2H19tCeDt9qSPHlOjFRKRIiSeng1v1aNIny42mNNHaBE2Ickby1mc60l4DS HfwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=NxVd1x7NOyf26kuCm+ngTfM7i3/wqcA316owjl+WTRo=; fh=ayljsiNbq7zFRQX+B4eens4HGedQUb2MqXUeD8d+gng=; b=F5EMHwT98b8fl6Uc3R0hrYmlYoLGOtDlAgmcKZJtEma3pcc0EmbU0X+QIQwfACjI4R XgkH5z8QNAlOU9MhB8i4TgQKc3Otav271+OI/tMgs9zfog/Aoq0F6nitnXyVy0mAhTvO 8kJ5oW3l6zdxOlp1tHvQEFtXWqiKjnjCWWgD49JgPuhiFGrN17+FgbiyG5sAV9I3/9oP VVshce4Cc0wKFoB8kTr3z1d21Ujz1QeXtPB05cuvP/aOWTSOZr7KJqY1aa/cHdQ95lyf RjbdwAyTB733l72GN36B5mpah6X8XH1x8TfKLlYZiU+1KJyEihUm8vzZ1oVysvZKiDp8 tB8w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-41643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41643-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p9-20020a17090a680900b0029517218203si2694318pjj.189.2024.01.28.06.17.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 06:17:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-41643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41643-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AE32AB22721 for ; Sun, 28 Jan 2024 14:17:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24635249E5; Sun, 28 Jan 2024 14:17:12 +0000 (UTC) Received: from www262.sakura.ne.jp (www262.sakura.ne.jp [202.181.97.72]) (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 88BF023777; Sun, 28 Jan 2024 14:17:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.181.97.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706451431; cv=none; b=QYAsvrqTz1jqsK0WUVYEbovO44GsyEnjmnN83kGxpm/PgdWw1Vf6DyM+E83auvDRHfzl7H/qnu1U7NTfKhc5lY2w6Tzy0OFcwBOuC9BFFDn15UosANae7Yiklkewk7RQ/yFPdeMvkLPuzMa+h1X79HFteVeWOrk4rqt3RulM0VI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706451431; c=relaxed/simple; bh=Lvpoe4XPv399MibOZjtFz+LUCvhA8WJTDLiCKbsxhfQ=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=JI6MuwSreqeKOCyZ3Ul6nOGLayiu6E2sAvzeeZMKVB+j/BIdya77eb3ZrjdzioF8kt/dbsMRWm2YS2wQvbwb9uhwiTch1LTgt+/Jn/enbtgCtV/JwyZRXbm/9fhIY/MG1lYFRNZAH4tF7L+GeUvoQ35PvarDkeBwKHtZ2ENVsJ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=I-love.SAKURA.ne.jp; spf=none smtp.mailfrom=I-love.SAKURA.ne.jp; arc=none smtp.client-ip=202.181.97.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=I-love.SAKURA.ne.jp Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=I-love.SAKURA.ne.jp Received: from fsav314.sakura.ne.jp (fsav314.sakura.ne.jp [153.120.85.145]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 40SEGBKf024137; Sun, 28 Jan 2024 23:16:11 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav314.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav314.sakura.ne.jp); Sun, 28 Jan 2024 23:16:11 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav314.sakura.ne.jp) Received: from [192.168.1.6] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 40SEGAAV024134 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Sun, 28 Jan 2024 23:16:10 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Message-ID: Date: Sun, 28 Jan 2024 23:16:09 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Linus Torvalds , Eric Biederman , Kees Cook , Alexander Viro , Christian Brauner , Jan Kara , Paul Moore , James Morris , "Serge E. Hallyn" Cc: linux-security-module , linux-fsdevel , LKML From: Tetsuo Handa Subject: [PATCH 0/3] fs/exec: remove current->in_execve flag Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit This is a follow up series for removing current->in_execve flag. https://lkml.kernel.org/r/b5a12ecd-468d-4b50-9f8c-17ae2a2560b4@I-love.SAKURA.ne.jp [PATCH 1/3] LSM: add security_bprm_aborting_creds() hook [PATCH 2/3] tomoyo: replace current->in_execve flag with security_bprm_aborting_creds() hook [PATCH 3/3] fs/exec: remove current->in_execve flag fs/exec.c | 4 +--- include/linux/lsm_hook_defs.h | 1 + include/linux/sched.h | 3 --- include/linux/security.h | 5 +++++ security/security.c | 14 ++++++++++++++ security/tomoyo/tomoyo.c | 22 ++++++---------------- 6 files changed, 27 insertions(+), 22 deletions(-) (Please apply directly to linux.git tree if this series is OK, for currently TOMOYO's tree is unavailable.)