diff options
| author | Ondrej Mosnacek <[email protected]> | 2021-03-18 21:53:01 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2021-03-19 03:13:04 +0000 |
| commit | 519dad3bcd809dc1523bf80ab0310ddb3bf00ade (patch) | |
| tree | b01c0dacf941d602dbdce10a105e4bba14ee3949 /lib/xarray.c | |
| parent | fs: anon_inodes: rephrase to appropriate kernel-doc (diff) | |
| download | kernel-519dad3bcd809dc1523bf80ab0310ddb3bf00ade.tar.gz kernel-519dad3bcd809dc1523bf80ab0310ddb3bf00ade.zip | |
selinux: don't log MAC_POLICY_LOAD record on failed policy load
If sel_make_policy_nodes() fails, we should jump to 'out', not 'out1',
as the latter would incorrectly log an MAC_POLICY_LOAD audit record,
even though the policy hasn't actually been reloaded. The 'out1' jump
label now becomes unused and can be removed.
Fixes: 02a52c5c8c3b ("selinux: move policy commit after updating selinuxfs")
Cc: [email protected]
Signed-off-by: Ondrej Mosnacek <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
