mod_reg_security(9)

mod_reg_security9

Allows security modules to be stacked

Usage

int mod_reg_security(const char * name, struct security_operations * ops);

Arguments

name

a pointer to a string with the name of the security_options to be registered

ops

a pointer to the struct security_options that is to be registered

Overview

This function allows security modules to be stacked if the currently loaded security module allows this to happen. It passes the name and ops to the register_security function of the currently loaded security module.

The return value depends on the currently loaded security module, with 0 as success.

Releases

2 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0

From linux-manual-2.6.26 2.6.26-29 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.