Lines Matching full:capability
3 * linux/kernel/capability.c
14 #include <linux/capability.h>
55 * Version 2 capabilities worked fine, but the linux/capability.h file
79 * Version check. Return the number of u32s in each capability flag
141 * @header: pointer to struct that contains capability version and
180 * implementations implicitly drop upper capability in SYSCALL_DEFINE2()
206 * @header: pointer to struct that contains capability version and
284 * has_ns_capability - Does a task have a capability in a specific user ns
287 * @cap: The capability to be tested for
289 * Return true if the specified task has the given superior capability
307 * has_capability - Does a task have a capability in init_user_ns
309 * @cap: The capability to be tested for
311 * Return true if the specified task has the given superior capability
323 * has_ns_capability_noaudit - Does a task have a capability (unaudited)
327 * @cap: The capability to be tested for
329 * Return true if the specified task has the given superior capability
348 * has_capability_noaudit - Does a task have a capability (unaudited) in the
351 * @cap: The capability to be tested for
353 * Return true if the specified task has the given superior capability
384 * ns_capable - Determine if the current task has a superior capability in effect
385 * @ns: The usernamespace we want the capability in
386 * @cap: The capability to be tested for
388 * Return true if the current task has the given superior capability currently
391 * This sets PF_SUPERPRIV on the task if the capability is available on the
401 * ns_capable_noaudit - Determine if the current task has a superior capability
403 * @ns: The usernamespace we want the capability in
404 * @cap: The capability to be tested for
406 * Return true if the current task has the given superior capability currently
409 * This sets PF_SUPERPRIV on the task if the capability is available on the
419 * ns_capable_setid - Determine if the current task has a superior capability
422 * @ns: The usernamespace we want the capability in
423 * @cap: The capability to be tested for
425 * Return true if the current task has the given superior capability currently
428 * This sets PF_SUPERPRIV on the task if the capability is available on the
438 * capable - Determine if the current task has a superior capability in effect
439 * @cap: The capability to be tested for
441 * Return true if the current task has the given superior capability currently
444 * This sets PF_SUPERPRIV on the task if the capability is available on the
455 * file_ns_capable - Determine if the file's opener had a capability in effect
457 * @ns: The usernamespace we want the capability in
458 * @cap: The capability to be tested for
460 * Return true if task that opened the file had a capability in effect
496 * @cap: The capability in question
498 * Return true if the current task has the given capability targeted at