Commit 0e7f90f
selftests/landlock: Add tests for execveat + AT_EXECVE_CHECK
Extend layout1.execute with the new AT_EXECVE_CHECK flag. The semantic
with AT_EXECVE_CHECK is the same as with a simple execve(2),
LANDLOCK_ACCESS_FS_EXECUTE is enforced the same way.
Cc: Günther Noack <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Paul Moore <[email protected]>
Signed-off-by: Mickaël Salaün <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>1 parent b083cc8 commit 0e7f90f
1 file changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
2008 | 2012 | | |
2009 | 2013 | | |
2010 | 2014 | | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
2011 | 2031 | | |
2012 | 2032 | | |
2013 | 2033 | | |
| |||
2025 | 2045 | | |
2026 | 2046 | | |
2027 | 2047 | | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
2028 | 2052 | | |
2029 | 2053 | | |
2030 | 2054 | | |
2031 | 2055 | | |
2032 | 2056 | | |
2033 | 2057 | | |
| 2058 | + | |
2034 | 2059 | | |
2035 | 2060 | | |
2036 | 2061 | | |
2037 | 2062 | | |
| 2063 | + | |
2038 | 2064 | | |
2039 | 2065 | | |
2040 | 2066 | | |
2041 | 2067 | | |
| 2068 | + | |
2042 | 2069 | | |
2043 | 2070 | | |
2044 | 2071 | | |
| |||
0 commit comments