linux/Documentation/security
Alice Ryhl 15c1f17979 cred: delete task_euid()
task_euid() is a very weird operation. You can see how weird it is by
grepping for task_euid() - binder is its only user. task_euid() obtains
the objective effective UID - it looks at the credentials of the task
for purposes of acting on it as an object, but then accesses the
effective UID (which the credentials.7 man page describes as "[...] used
by the kernel to determine the permissions that the process will have
when accessing shared resources [...]").

Since usage in Binder has now been removed, get rid of the resulting
dead code.

Changes to the zh_CN translation was carried out with the help of
Gemini and Google Translate, and since adjusted as per Alex Shi's
feedback.

Suggested-by: Jann Horn <jannh@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2026-07-07 15:10:48 -04:00
..
keys docs: trusted-encryped: add PKWM as a new trust source 2026-01-30 09:27:27 +05:30
secrets Documentation: Fix typos 2023-08-18 11:29:03 -06:00
tpm Documentation: tpm: Add documentation for the CRB FF-A interface 2025-03-27 15:34:05 +02:00
credentials.rst cred: delete task_euid() 2026-07-07 15:10:48 -04:00
digsig.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
IMA-export-delete.rst doc: security: Add documentation of exporting and deleting IMA measurements 2026-06-08 11:43:36 -04:00
IMA-templates.rst ima: support fs-verity file digest based version 3 signatures 2022-05-05 17:41:51 -04:00
index.rst doc: security: Add documentation of exporting and deleting IMA measurements 2026-06-08 11:43:36 -04:00
ipe.rst docs: security: ipe: fix typos and grammar 2026-04-13 15:58:49 -07:00
landlock.rst landlock: Control pathname UNIX domain socket resolution by path 2026-04-07 18:51:06 +02:00
lsm-development.rst lsm: move hook comments docs to security/security.c 2023-04-28 11:58:34 -04:00
lsm.rst lsm: move hook comments docs to security/security.c 2023-04-28 11:58:34 -04:00
sak.rst docs: security: move some books to it and update 2019-07-15 11:03:01 -03:00
SCTP.rst Docs: typos/spelling 2024-05-02 10:02:29 -06:00
self-protection.rst stackleak: Rename STACKLEAK to KSTACK_ERASE 2025-07-21 21:35:01 -07:00
siphash.rst Documentation: siphash: Fix typo in the name of offsetofend macro 2022-07-13 14:01:22 -06:00
snp-tdx-threat-model.rst docs/MAINTAINERS: Update my email address 2024-04-26 07:42:47 -06:00