diff options
author | Kees Cook <keescook@chromium.org> | 2018-10-10 17:18:19 -0700 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2018-10-10 20:40:21 -0700 |
commit | b048ae6e6c7062809e4398f4d0bfe80870715d3c (patch) | |
tree | 7680426b9b60cf5c2cc5d072f4bbd2770090129b /security | |
parent | 1e80cd1672bc77c96fa72205ba6db78dc10825b4 (diff) | |
download | talos-op-linux-b048ae6e6c7062809e4398f4d0bfe80870715d3c.tar.gz talos-op-linux-b048ae6e6c7062809e4398f4d0bfe80870715d3c.zip |
LSM: Rename .security_initcall section to .lsm_info
In preparation for switching from initcall to just a regular set of
pointers in a section, rename the internal section name.
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: James Morris <james.morris@microsoft.com>
Reviewed-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/security.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c index 4cbcf244a965..892fe6b691cf 100644 --- a/security/security.c +++ b/security/security.c @@ -51,9 +51,9 @@ static void __init do_security_initcalls(void) initcall_t call; initcall_entry_t *ce; - ce = __security_initcall_start; + ce = __start_lsm_info; trace_initcall_level("security"); - while (ce < __security_initcall_end) { + while (ce < __end_lsm_info) { call = initcall_from_entry(ce); trace_initcall_start(call); ret = call(); |