aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/netnode.c
diff options
context:
space:
mode:
authorYang Guo <[email protected]>2019-12-12 02:02:24 +0000
committerPaul Moore <[email protected]>2019-12-12 13:50:39 +0000
commit210a292874517782bed2e2220c7beb1608d3b05d (patch)
treeff1a822ba3402df91a1105ea77e37ac5a08dc717 /security/selinux/netnode.c
parentselinux: ensure we cleanup the internal AVC counters on error in avc_insert() (diff)
downloadkernel-210a292874517782bed2e2220c7beb1608d3b05d.tar.gz
kernel-210a292874517782bed2e2220c7beb1608d3b05d.zip
selinux: remove unnecessary selinux cred request
task_security_struct was obtained at the beginning of may_create and selinux_inode_init_security, no need to obtain again. may_create will be called very frequently when create dir and file. Cc: Paul Moore <[email protected]> Cc: Stephen Smalley <[email protected]> Cc: Eric Paris <[email protected]> Signed-off-by: Yang Guo <[email protected]> Signed-off-by: Shaokun Zhang <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions