Lines Matching full:capability

3  * linux/kernel/capability.c
14 #include <linux/capability.h>
48 * Version 2 capabilities worked fine, but the linux/capability.h file
72 * Version check. Return the number of u32s in each capability flag
134 * @header: pointer to struct that contains capability version and
166 * capability values up. in SYSCALL_DEFINE2()
176 * implementations implicitly drop upper capability in SYSCALL_DEFINE2()
204 * @header: pointer to struct that contains capability version and
270 * has_ns_capability - Does a task have a capability in a specific user ns
273 * @cap: The capability to be tested for
275 * Return true if the specified task has the given superior capability
293 * has_capability - Does a task have a capability in init_user_ns
295 * @cap: The capability to be tested for
297 * Return true if the specified task has the given superior capability
309 * has_ns_capability_noaudit - Does a task have a capability (unaudited)
313 * @cap: The capability to be tested for
315 * Return true if the specified task has the given superior capability
334 * has_capability_noaudit - Does a task have a capability (unaudited) in the
337 * @cap: The capability to be tested for
339 * Return true if the specified task has the given superior capability
371 * ns_capable - Determine if the current task has a superior capability in effect
372 * @ns: The usernamespace we want the capability in
373 * @cap: The capability to be tested for
375 * Return true if the current task has the given superior capability currently
378 * This sets PF_SUPERPRIV on the task if the capability is available on the
388 * ns_capable_noaudit - Determine if the current task has a superior capability
390 * @ns: The usernamespace we want the capability in
391 * @cap: The capability to be tested for
393 * Return true if the current task has the given superior capability currently
396 * This sets PF_SUPERPRIV on the task if the capability is available on the
406 * ns_capable_setid - Determine if the current task has a superior capability
409 * @ns: The usernamespace we want the capability in
410 * @cap: The capability to be tested for
412 * Return true if the current task has the given superior capability currently
415 * This sets PF_SUPERPRIV on the task if the capability is available on the
425 * capable - Determine if the current task has a superior capability in effect
426 * @cap: The capability to be tested for
428 * Return true if the current task has the given superior capability currently
431 * This sets PF_SUPERPRIV on the task if the capability is available on the
442 * file_ns_capable - Determine if the file's opener had a capability in effect
444 * @ns: The usernamespace we want the capability in
445 * @cap: The capability to be tested for
447 * Return true if task that opened the file had a capability in effect
487 * @cap: The capability in question
489 * Return true if the current task has the given capability targeted at