diff options
author | Casey Schaufler <[email protected]> | 2023-09-12 13:56:52 -0700 |
---|---|---|
committer | Paul Moore <[email protected]> | 2023-11-12 22:54:42 -0500 |
commit | e1ca7129db2c3b3c4d261702905a752e6b2710b4 (patch) | |
tree | 34bad43a2ebc45477a111b9e7cb27aa76b4e70d7 /scripts/generate_rust_analyzer.py | |
parent | 5f42375904b08890f2e8e7cd955c5bf0c2c0d05a (diff) |
LSM: Helpers for attribute names and filling lsm_ctx
Add lsm_name_to_attr(), which translates a text string to a
LSM_ATTR value if one is available.
Add lsm_fill_user_ctx(), which fills a struct lsm_ctx, including
the trailing attribute value.
Both are used in module specific components of LSM system calls.
Signed-off-by: Casey Schaufler <[email protected]>
Reviewed-by: John Johansen <[email protected]>
Reviewed-by: Serge Hallyn <[email protected]>
Reviewed-by: Mickaël Salaün <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions