---
name: "security_module_enable"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/security_module_enable"
---

# security\_module\_enable(9)

Load given security module on boot ?

## NAME

security\_module\_enable - Load given security module on boot ?

## SYNOPSIS

**int security\_module\_enable(const char \*** *module***);**

## ARGUMENTS

*module*

the name of the module

## DESCRIPTION

Each LSM must pass this method before registering its own operations 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. Otherwise, return false.

## COPYRIGHT
