Sync to mainline for security submaintainers to work against
This commit is contained in:
@@ -129,10 +129,14 @@ static int lsm_append(char *new, char **result)
|
||||
* to avoid security registration races. This method may also be used
|
||||
* to check if your LSM is currently loaded during kernel initialization.
|
||||
*
|
||||
* Return true if:
|
||||
* -The passed LSM is the one chosen by user at boot time,
|
||||
* -or the passed LSM is configured as the default and the user did not
|
||||
* choose an alternate LSM at boot time.
|
||||
* Returns:
|
||||
*
|
||||
* true if:
|
||||
*
|
||||
* - The passed LSM is the one chosen by user at boot time,
|
||||
* - or the passed LSM is configured as the default and the user did not
|
||||
* choose an alternate LSM at boot time.
|
||||
*
|
||||
* Otherwise, return false.
|
||||
*/
|
||||
int __init security_module_enable(const char *module)
|
||||
|
||||
Reference in New Issue
Block a user