aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorCasey Schaufler <[email protected]>2023-09-12 13:56:52 -0700
committerPaul Moore <[email protected]>2023-11-12 22:54:42 -0500
commite1ca7129db2c3b3c4d261702905a752e6b2710b4 (patch)
tree34bad43a2ebc45477a111b9e7cb27aa76b4e70d7 /scripts/generate_rust_analyzer.py
parent5f42375904b08890f2e8e7cd955c5bf0c2c0d05a (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