mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
LSM: Introduce LSM_FLAG_LEGACY_MAJOR
This adds a flag for the current "major" LSMs to distinguish them when we have a universal method for ordering all LSMs. It's called "legacy" since the distinction of "major" will go away in the blob-sharing world. Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Casey Schaufler <[email protected]> Reviewed-by: John Johansen <[email protected]>
This commit is contained in:
parent
bfeffd1552
commit
47008e5161
5 changed files with 7 additions and 0 deletions
|
|
@ -552,5 +552,6 @@ static int __init tomoyo_init(void)
|
|||
|
||||
DEFINE_LSM(tomoyo) = {
|
||||
.name = "tomoyo",
|
||||
.flags = LSM_FLAG_LEGACY_MAJOR,
|
||||
.init = tomoyo_init,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue