2020-08-30 14:27:00

by Denis Efremov (Oracle)

[permalink] [raw]
Subject: [PATCH] Documentation: remove current_security() reference

Commit 15322a0d90b6 ("lsm: remove current_security()") removed
current_security() from the sources.

Signed-off-by: Denis Efremov <[email protected]>
---
Documentation/security/credentials.rst | 1 -
1 file changed, 1 deletion(-)

diff --git a/Documentation/security/credentials.rst b/Documentation/security/credentials.rst
index d9387209d143..357328d566c8 100644
--- a/Documentation/security/credentials.rst
+++ b/Documentation/security/credentials.rst
@@ -323,7 +323,6 @@ credentials (the value is simply returned in each case)::
uid_t current_fsuid(void) Current's file access UID
gid_t current_fsgid(void) Current's file access GID
kernel_cap_t current_cap(void) Current's effective capabilities
- void *current_security(void) Current's LSM security pointer
struct user_struct *current_user(void) Current's user account

There are also convenience wrappers for retrieving specific associated pairs of
--
2.26.2


2020-09-09 17:35:47

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: remove current_security() reference

On Sun, 30 Aug 2020 17:25:09 +0300
Denis Efremov <[email protected]> wrote:

> Commit 15322a0d90b6 ("lsm: remove current_security()") removed
> current_security() from the sources.
>
> Signed-off-by: Denis Efremov <[email protected]>
> ---
> Documentation/security/credentials.rst | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/Documentation/security/credentials.rst b/Documentation/security/credentials.rst
> index d9387209d143..357328d566c8 100644
> --- a/Documentation/security/credentials.rst
> +++ b/Documentation/security/credentials.rst
> @@ -323,7 +323,6 @@ credentials (the value is simply returned in each case)::
> uid_t current_fsuid(void) Current's file access UID
> gid_t current_fsgid(void) Current's file access GID
> kernel_cap_t current_cap(void) Current's effective capabilities
> - void *current_security(void) Current's LSM security pointer
> struct user_struct *current_user(void) Current's user account

Applied, thanks.

jon