mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
selinux: rename the cred_security_struct variables to "crsec"
Along with the renaming from task_security_struct to cred_security_struct, rename the local variables to "crsec" from "tsec". This both fits with existing conventions and helps distinguish between task and cred related variables. No functional changes. Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
@@ -217,9 +217,9 @@ selinux_ipc(const struct kern_ipc_perm *ipc)
|
||||
*/
|
||||
static inline u32 current_sid(void)
|
||||
{
|
||||
const struct cred_security_struct *tsec = selinux_cred(current_cred());
|
||||
const struct cred_security_struct *crsec = selinux_cred(current_cred());
|
||||
|
||||
return tsec->sid;
|
||||
return crsec->sid;
|
||||
}
|
||||
|
||||
static inline struct superblock_security_struct *
|
||||
|
||||
Reference in New Issue
Block a user