diff options
| author | Paul Moore <paul@paul-moore.com> | 2024-02-23 16:26:40 -0500 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2024-03-26 16:37:45 -0400 |
| commit | e6b5ebca41dda07b76b244462995502d9f6eb10b (patch) | |
| tree | f9b492b4320c1caf9cf40ed6105712134f1cec23 /scripts/stackusage | |
| parent | selinux: reject invalid ebitmaps (diff) | |
| download | linux-e6b5ebca41dda07b76b244462995502d9f6eb10b.tar.gz linux-e6b5ebca41dda07b76b244462995502d9f6eb10b.zip | |
selinux: cleanup selinux_lsm_getattr()
A number of small changes to selinux_lsm_getattr() to improve the
quality and readability of the code:
* Explicitly set the `value` parameter to NULL in the case where an
attribute has not been set.
* Rename the `__tsec` variable to `tsec` to better fit the SELinux code.
* Rename `bad` to `err_unlock` to better indicate the jump target drops
the RCU lock.
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
