diff options
author | 2019-12-12 10:02:24 +0800 | |
---|---|---|
committer | 2019-12-12 08:50:39 -0500 | |
commit | 210a292874517782bed2e2220c7beb1608d3b05d (patch) | |
tree | ff1a822ba3402df91a1105ea77e37ac5a08dc717 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selinux: ensure we cleanup the internal AVC counters on error in avc_insert() (diff) | |
download | linux-dev-210a292874517782bed2e2220c7beb1608d3b05d.tar.xz linux-dev-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 <paul@paul-moore.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Eric Paris <eparis@parisplace.org>
Signed-off-by: Yang Guo <guoyang2@huawei.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions