diff options
author | Fan Wu <[email protected]> | 2024-08-02 23:08:21 -0700 |
---|---|---|
committer | Paul Moore <[email protected]> | 2024-08-20 14:02:06 -0400 |
commit | 7138679ff2a2b1674f16618558d6cabea6ab2c53 (patch) | |
tree | 9b49f02fc98fdce0d5c87464f83a08fae269aed8 /scripts/generate_rust_analyzer.py | |
parent | a8a74df150835f5ceff89d40fadda1cf3961fdae (diff) |
lsm: add new securityfs delete function
When deleting a directory in the security file system, the existing
securityfs_remove requires the directory to be empty, otherwise
it will do nothing. This leads to a potential risk that the security
file system might be in an unclean state when the intended deletion
did not happen.
This commit introduces a new function securityfs_recursive_remove
to recursively delete a directory without leaving an unclean state.
Co-developed-by: Christian Brauner (Microsoft) <[email protected]>
Signed-off-by: Fan Wu <[email protected]>
[PM: subject line tweak]
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions