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. in SYSCALL_DEFINE2()
172 * implementations implicitly drop upper capability in SYSCALL_DEFINE2()
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_ns_capability_noaudit - Does a task have a capability (unaudited)
293 * @cap: The capability to be tested for
295 * Return true if the specified task has the given superior capability
314 * has_capability_noaudit - Does a task have a capability (unaudited) in the
317 * @cap: The capability to be tested for
319 * Return true if the specified task has the given superior capability
351 * ns_capable - Determine if the current task has a superior capability in effect
352 * @ns: The usernamespace we want the capability in
353 * @cap: The capability to be tested for
355 * Return true if the current task has the given superior capability currently
358 * This sets PF_SUPERPRIV on the task if the capability is available on the
368 * ns_capable_noaudit - Determine if the current task has a superior capability
370 * @ns: The usernamespace we want the capability in
371 * @cap: The capability to be tested for
373 * Return true if the current task has the given superior capability currently
376 * This sets PF_SUPERPRIV on the task if the capability is available on the
386 * ns_capable_setid - Determine if the current task has a superior capability
389 * @ns: The usernamespace we want the capability in
390 * @cap: The capability to be tested for
392 * Return true if the current task has the given superior capability currently
395 * This sets PF_SUPERPRIV on the task if the capability is available on the
405 * capable - Determine if the current task has a superior capability in effect
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
422 * file_ns_capable - Determine if the file's opener had a capability in effect
424 * @ns: The usernamespace we want the capability in
425 * @cap: The capability to be tested for
427 * Return true if task that opened the file had a capability in effect
467 * @cap: The capability in question
469 * Return true if the current task has the given capability targeted at