aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorCasey Schaufler <[email protected]>2023-09-12 13:56:48 -0700
committerPaul Moore <[email protected]>2023-11-12 22:54:42 -0500
commit267c068e5f8b81b68cc4247c94dbba90a21a634e (patch)
tree58b75854f3b7743433ea23603eb08348dd3a4d77 /scripts/generate_rust_analyzer.py
parent9285c5ad9d00abfe0f4e2ce4039c8127e7a09738 (diff)
proc: Use lsmids instead of lsm names for attrs
Use the LSM ID number instead of the LSM name to identify which security module's attibute data should be shown in /proc/self/attr. The security_[gs]etprocattr() functions have been changed to expect the LSM ID. The change from a string comparison to an integer comparison in these functions will provide a minor performance improvement. Cc: [email protected] Signed-off-by: Casey Schaufler <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Serge Hallyn <[email protected]> Reviewed-by: Mickael Salaun <[email protected]> Reviewed-by: John Johansen <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions