unregister_security(9)

unregister_security9

Unregisters a security framework with the kernel

Usage

int unregister_security(struct security_operations * ops);

Arguments

ops

a pointer to the struct security_options that is to be registered

Overview

This function removes a struct security_operations variable that had previously been registered with a successful call to register_security.

If ops does not match the valued previously passed to register_security an error is returned. Otherwise the default security options is set to the the dummy_security_ops structure, and 0 is returned.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.