Files
linux/security/selinux
Christian Göttsche 37801a36b4 selinux: avoid dereference of garbage after mount failure
In case kern_mount() fails and returns an error pointer return in the
error branch instead of continuing and dereferencing the error pointer.

While on it drop the never read static variable selinuxfs_mount.

Cc: [email protected]
Fixes: 0619f0f5e3 ("selinux: wrap selinuxfs state")
Signed-off-by: Christian Göttsche <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
2024-04-01 23:32:35 -04:00
..
2023-07-19 11:27:02 -04:00
2023-05-08 16:44:01 -04:00
2023-09-13 13:46:57 -04:00
2023-09-13 13:46:57 -04:00
2023-07-18 18:42:57 -04:00