Lines Matching full:capability
3 * linux/kernel/capability.c
14 #include <linux/capability.h>
46 * Version 2 capabilities worked fine, but the linux/capability.h file
68 * Version check. Return the number of u32s in each capability flag
130 * @header: pointer to struct that contains capability version and
162 * capability values up.
172 * implementations implicitly drop upper capability
200 * @header: pointer to struct that contains capability version and
266 * has_ns_capability - Does a task have a capability in a specific user ns
269 * @cap: The capability to be tested for
271 * Return true if the specified task has the given superior capability
289 * has_capability - Does a task have a capability in init_user_ns
291 * @cap: The capability to be tested for
293 * Return true if the specified task has the given superior capability
305 * has_ns_capability_noaudit - Does a task have a capability (unaudited)
309 * @cap: The capability to be tested for
311 * Return true if the specified task has the given superior capability
330 * has_capability_noaudit - Does a task have a capability (unaudited) in the
333 * @cap: The capability to be tested for
335 * Return true if the specified task has the given superior capability
367 * ns_capable - Determine if the current task has a superior capability in effect
368 * @ns: The usernamespace we want the capability in
369 * @cap: The capability to be tested for
371 * Return true if the current task has the given superior capability currently
374 * This sets PF_SUPERPRIV on the task if the capability is available on the
384 * ns_capable_noaudit - Determine if the current task has a superior capability
386 * @ns: The usernamespace we want the capability in
387 * @cap: The capability to be tested for
389 * Return true if the current task has the given superior capability currently
392 * This sets PF_SUPERPRIV on the task if the capability is available on the
402 * ns_capable_setid - Determine if the current task has a superior capability
405 * @ns: The usernamespace we want the capability in
406 * @cap: The capability to be tested for
408 * Return true if the current task has the given superior capability currently
411 * This sets PF_SUPERPRIV on the task if the capability is available on the
421 * capable - Determine if the current task has a superior capability in effect
422 * @cap: The capability to be tested for
424 * Return true if the current task has the given superior capability currently
427 * This sets PF_SUPERPRIV on the task if the capability is available on the
438 * file_ns_capable - Determine if the file's opener had a capability in effect
440 * @ns: The usernamespace we want the capability in
441 * @cap: The capability to be tested for
443 * Return true if task that opened the file had a capability in effect
483 * @cap: The capability in question
485 * Return true if the current task has the given capability targeted at