summaryrefslogtreecommitdiff
path: root/Documentation/security
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2024-11-25 15:10:25 +0100
committerChristian Brauner <brauner@kernel.org>2024-12-02 11:25:14 +0100
commit6efbb80490a545cfd9f87ebd9225879d8cdbed93 (patch)
treea1d0d7d15440f142534fe3f3b3722b72ded01804 /Documentation/security
parent4fa6af563d4dcef43ae34a9bce9d1a9440f20867 (diff)
cred: remove unused get_new_cred()
This helper is not used anymore so remove it. Link: https://lore.kernel.org/r/20241125-work-cred-v2-29-68b9d38bb5b2@kernel.org Reviewed-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'Documentation/security')
-rw-r--r--Documentation/security/credentials.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/security/credentials.rst b/Documentation/security/credentials.rst
index 357328d566c8..2aa0791bcefe 100644
--- a/Documentation/security/credentials.rst
+++ b/Documentation/security/credentials.rst
@@ -527,11 +527,6 @@ There are some functions to help manage credentials:
This gets a reference on a live set of credentials, returning a pointer to
that set of credentials.
- - ``struct cred *get_new_cred(struct cred *cred);``
-
- This gets a reference on a set of credentials that is under construction
- and is thus still mutable, returning a pointer to that set of credentials.
-
Open File Credentials
=====================