|
Linux Kernel
3.7.1
|
#include <linux/sched.h>Go to the source code of this file.
Data Structures | |
| struct | aa_caps |
Functions | |
| int | aa_capable (struct task_struct *task, struct aa_profile *profile, int cap, int audit) |
| int aa_capable | ( | struct task_struct * | task, |
| struct aa_profile * | profile, | ||
| int | cap, | ||
| int | audit | ||
| ) |
aa_capable - test permission to use capability : task doing capability test against (NOT NULL) : profile confining (NOT NULL) : capability to be tested : whether an audit record should be generated
Look up capability in profile capability set.
Returns: 0 on success, or else an error code.
Definition at line 131 of file capability.c.
1.8.2