Name

capable — calls the currently loaded security module's capable function with the specified capability

Synopsis

int capable (int cap);

Arguments

cap

the requested capability level.

Description

This function calls the currently loaded security module's capable function with a pointer to the current task and the specified cap value.

This allows the security module to implement the capable function call however it chooses to.