History

lsm: remove current_security()

There are no remaining callers and it really is unsafe in the brave new world of LSM stacking.

Paul Moore committed 7 years ago

Commit 15322a01 parent 169ce0c1 file · +0 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/cred.h+0−1
@@ -384,7 +384,6 @@ static inline void put_cred(const struct cred *_cred) · 383 unmodified lines
384384 #define current_fsgid() (current_cred_xxx(fsgid))
385385 #define current_cap() (current_cred_xxx(cap_effective))
386386 #define current_user() (current_cred_xxx(user))
387−#define current_security() (current_cred_xxx(security))
388387
389388 extern struct user_namespace init_user_ns;
390389 #ifdef CONFIG_USER_NS

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t