kernel_optimize_test/Documentation/security
Kees Cook 7303515ae4 Documentation: Clarify f_cred vs current_cred() use
When making access control choices from a file-based context, f_cred
must be used instead of current_cred() to avoid confused deputy attacks
where an open file may get passed to a more privileged process. Add a
short paragraph to explicitly state the rationale.

Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/202007031038.8833A35DE4@keescook
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-07-05 14:04:45 -06:00
..
keys docs: crypto: convert asymmetric-keys.txt to ReST 2020-06-19 14:03:46 -06:00
tpm It's a somewhat calmer cycle for docs this time, as the churn of the mass 2019-09-17 16:22:26 -07:00
credentials.rst Documentation: Clarify f_cred vs current_cred() use 2020-07-05 14:04:45 -06:00
digsig.rst docs: move digsig docs to the security book 2020-05-15 12:03:48 -06:00
IMA-templates.rst ima: Define ima-modsig template 2019-08-05 18:40:25 -04:00
index.rst docs: move digsig docs to the security book 2020-05-15 12:03:48 -06:00
lsm-development.rst docs: security: move some books to it and update 2019-07-15 11:03:01 -03:00
lsm.rst Documentation: LSM: Correct the basic LSM description 2020-05-25 18:59:59 -06:00
sak.rst docs: security: move some books to it and update 2019-07-15 11:03:01 -03:00
SCTP.rst Replace HTTP links with HTTPS ones: documentation 2020-06-08 09:30:19 -06:00
self-protection.rst doc: self-protection: Add information about STACKLEAK feature 2018-09-04 10:35:48 -07:00
siphash.rst crypto: lib/sha1 - rename "sha" to "sha1" 2020-05-08 15:32:17 +10:00