summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2022-01-31 13:57:36 -0500
committerPaul Moore <paul@paul-moore.com>2022-02-01 16:21:22 -0500
commitb8b87fd954b4b1bdd2d739c8f50bf685351a1a94 (patch)
treea55011e8a046610992f9bb941b5b13caa764dfef /tools/perf/scripts/python/export-to-postgresql.py
parentecff30575b5ad0eda149aadad247b7f75411fd47 (diff)
selinux: Fix selinux_sb_mnt_opts_compat()
selinux_sb_mnt_opts_compat() is called under the sb_lock spinlock and shouldn't be performing any memory allocations. Fix this by parsing the sids at the same time we're chopping up the security mount options string and then using the pre-parsed sids when doing the comparison. Fixes: cc274ae7763d ("selinux: fix sleeping function called from invalid context") Fixes: 69c4a42d72eb ("lsm,selinux: add new hook to compare new mount to an existing mount") Signed-off-by: Scott Mayhew <smayhew@redhat.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