eBPF-based security platform
docs: say that the executable memory checks apply to authority
Daniel Borkmanncf0aa10a7ecf
diff --git a/Documentation/internals/enforcement.rst b/Documentation/internals/enforcement.rstindex ea8f17cb..3b4fbc73 100644--- a/Documentation/internals/enforcement.rst+++ b/Documentation/internals/enforcement.rst@@ -196,8 +196,8 @@ Exec and processesruntime executable in secure-exec mode, so the dynamic loader ignores``LD_PRELOAD`` and the other unsafe variables, and refuses``PR_SET_MM_EXE_FILE`` and ``PR_SET_MM_MAP`` to tasks without- authority. ``seal`` refuses a marked task executable memory that does- not come from the runtime image.+ authority. ``seal`` refuses a task with runtime authority executable+ memory that does not come from the runtime image.KexecA kexec hands the machine to a kernel and initrd of the caller's@@ -540,8 +540,9 @@ when the record it needs is missing.- ``SealPerf``- Not applicable.* - ``lsm/mmap_file`` (``seal``)- - An executable mapping in a marked task, other than the bootstrap- task, that is writable or does not come from a runtime file.+ - An executable mapping in a task with runtime authority, other+ than the bootstrap task, that is writable or does not come from a+ runtime file.- ``EACCES``- Uncounted- Closed.diff --git a/Documentation/internals/seal.rst b/Documentation/internals/seal.rstindex 25968d22..4d5108d4 100644--- a/Documentation/internals/seal.rst+++ b/Documentation/internals/seal.rst@@ -172,12 +172,12 @@ limits and disarming the timers it inherited when it starts, and``lsm/task_setrlimit`` refuses another task a change of its limits(``SealRlimit``). ``SIGKILL`` from ``cgroup.kill`` or the OOM killer,``SIGPIPE`` and the cgroup freezer stay uncounted.-``lsm/mmap_file`` and ``lsm/file_mprotect`` refuse a marked task-executable memory that is writable or that does not come from the-runtime image. ``bpf2`` makes every exec of a runtime file a secure-exec,-so the dynamic loader ignores ``LD_PRELOAD`` and its kin, and refuses-``PR_SET_MM_EXE_FILE`` and ``PR_SET_MM_MAP`` to tasks without-authority.+``lsm/mmap_file`` and ``lsm/file_mprotect`` refuse a task with runtime+authority executable memory that is writable or that does not come+from the runtime image. ``bpf2`` makes every exec of a runtime file a+secure-exec, so the dynamic loader ignores ``LD_PRELOAD`` and its kin,+and refuses ``PR_SET_MM_EXE_FILE`` and ``PR_SET_MM_MAP`` to tasks+without authority.Labels------