From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 10ACD634 for ; Mon, 20 Jan 2025 00:08:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737331739; cv=none; b=r6whEPyQPGNELhDqHHk0ZBxw+o8acuZBF3nmBRySrbNrJ7fKZKMYBJIV8WjzGYDI88cOaWlsi4E/KzksClBEWNuRCJAhrgDrQaE7+LjxXYfg7GDnlt5gganQNcFQfYGr/6qdLfQNh74yY7iWX0MFJ62BhHQb2TrH++XrUBNdwcA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737331739; c=relaxed/simple; bh=ppXJ12J1X1y9h225Sm9Tu5EkcL45e+mUwGmJ6ugKXw0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o2ozEjrO2d+t0Sn17z9F95Ag6dYko/gs+ztbKguw76BSziyfF4+aprF1vNzEAEd8Ns2ymEGwe4u68lfpqxRePO90z1Vo/QUaB1bK6PIMI1bwCp0EAnZzm66WH08JNs5wfbGyMUhQw0WeZTyNukZ3099OfMHGpcXBz7raWSJcw+4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aFEXe5Sq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aFEXe5Sq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39EC5C4CED6; Mon, 20 Jan 2025 00:08:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737331736; bh=ppXJ12J1X1y9h225Sm9Tu5EkcL45e+mUwGmJ6ugKXw0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aFEXe5Sqay0Vzg4auzhakd6vBvVTNRbyU/RDfrCNKXsnWhYEqDidwejbXkxL31n2+ h14+/yFl52vuOik5A2Yi2Ztfuz1sER1A44IdhBKvAoGP9TU3sKyiWGNl9227S57pD6 vbjTEWXN5ko21vhOOb1Nkgjs6mU9O4vyaiy/p/+TQUKTj0PMqgD6d4qomyB/mInK0u cDJRYTv6i7BH6dv3zgkcQ7FRK1jQFDEAS5DYZM8LQYeOXVU7jj7/Vl/tiJmwJ1JH7N tIWDhz4AAeSrCYhj1bgsybsZ80p53siR47OjWCp0MdYUtzvyHR7qUmGPKIN0/QaO+L ATtyygcZWMUAg== Date: Sun, 19 Jan 2025 19:08:54 -0500 From: Sasha Levin To: Kees Cook Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Al Viro , Andy Lutomirski , Christian Brauner , =?iso-8859-1?Q?G=FCnther?= Noack , Jeff Xu , Kees Cook , =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , Mimi Zohar , =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado , Paul Moore , Roberto Sassu , Serge Hallyn , Shuah Khan , Stefan Berger Subject: Re: [GIT PULL] AT_EXECVE_CHECK introduction for v6.14-rc1 Message-ID: References: <202501151612.CE6D0686@keescook> 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; format=flowed Content-Disposition: inline In-Reply-To: <202501151612.CE6D0686@keescook> On Wed, Jan 15, 2025 at 04:18:07PM -0800, Kees Cook wrote: >Hi Linus, > >Please pull the AT_EXECVE_CHECK introduction for v6.14-rc1. I split >this series from the core execve tree since it's had a life of its own >as it has progressed from O_MAY_EXEC. :) This provides userspace with >a way to opt in to performing "execability" checks for things that are >executable but don't pass through execve(2) (e.g. scripts, dlopen libs, >etc). It's seen quite a bit of discussion and review, and has lived in >-next for the entire dev cycle. Included is documentation, samples, and >extensive selftests. > >Thanks! > >-Kees > >The following changes since commit fac04efc5c793dccbd07e2d59af9f90b7fc0dca4: > > Linux 6.13-rc2 (2024-12-08 14:03:39 -0800) > >are available in the Git repository at: > > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/AT_EXECVE_CHECK-v6.14-rc1 Hey Kees, LKFT has caught a build error with one of the samples: /builds/linux/samples/check-exec/inc.c: In function 'interpret_stream': /builds/linux/samples/check-exec/inc.c:81:8: warning: implicit declaration of function 'execveat'; did you mean 'execve'? [-Wimplicit-function-declaration] err = execveat(fileno(script), "", script_argv, envp, ^~~~~~~~ execve The full log is here: https://qa-reports.linaro.org/lkft/sashal-linus-next/build/v6.13-rc7-511-g109a8e0fa9d6/testrun/26809210/suite/build/test/gcc-8-allyesconfig/log -- Thanks, Sasha