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
385 * ns_capable - Determine if the current task has a superior capability in effect
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_noaudit - Determine if the current task has a superior capability
404 * @ns: The usernamespace we want the capability in
405 * @cap: The capability to be tested for
407 * Return true if the current task has the given superior capability currently
410 * This sets PF_SUPERPRIV on the task if the capability is available on the
420 * ns_capable_setid - Determine if the current task has a superior capability
423 * @ns: The usernamespace we want the capability in
424 * @cap: The capability to be tested for
426 * Return true if the current task has the given superior capability currently
429 * This sets PF_SUPERPRIV on the task if the capability is available on the
439 * capable - Determine if the current task has a superior capability in effect
440 * @cap: The capability to be tested for
442 * Return true if the current task has the given superior capability currently
445 * This sets PF_SUPERPRIV on the task if the capability is available on the
456 * file_ns_capable - Determine if the file's opener had a capability in effect
458 * @ns: The usernamespace we want the capability in
459 * @cap: The capability to be tested for
461 * Return true if task that opened the file had a capability in effect
499 * @cap: The capability in question
501 * Return true if the current task has the given capability targeted at