diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2012-02-06 10:11:09 -0500 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2012-02-06 10:12:16 -0500 |
| commit | d4730ace0c7dbb64513e35b6fc5fd7e7f381e490 (patch) | |
| tree | 18890c096cdd869a593c56de3257faa40af8e050 /include/linux/capability.h | |
| parent | c1c454b8691cc95aa83f19273ed7845914c70e83 (diff) | |
| parent | 23783f817bceedd6d4e549385e3f400ea64059e5 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into upstream-fixes
Sync with Linus' tree. This is necessary to have a base for
patch that fixes commit 35b4c01e29b ("power_supply: add "powers"
links to self-powered HID devices") which went in through Anton's
tree.
Diffstat (limited to 'include/linux/capability.h')
| -rw-r--r-- | include/linux/capability.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/capability.h b/include/linux/capability.h index a63d13d84ad8..12d52dedb229 100644 --- a/include/linux/capability.h +++ b/include/linux/capability.h | |||
| @@ -380,7 +380,6 @@ struct user_namespace; | |||
| 380 | struct user_namespace *current_user_ns(void); | 380 | struct user_namespace *current_user_ns(void); |
| 381 | 381 | ||
| 382 | extern const kernel_cap_t __cap_empty_set; | 382 | extern const kernel_cap_t __cap_empty_set; |
| 383 | extern const kernel_cap_t __cap_full_set; | ||
| 384 | extern const kernel_cap_t __cap_init_eff_set; | 383 | extern const kernel_cap_t __cap_init_eff_set; |
| 385 | 384 | ||
| 386 | /* | 385 | /* |
| @@ -544,9 +543,10 @@ extern bool has_capability(struct task_struct *t, int cap); | |||
| 544 | extern bool has_ns_capability(struct task_struct *t, | 543 | extern bool has_ns_capability(struct task_struct *t, |
| 545 | struct user_namespace *ns, int cap); | 544 | struct user_namespace *ns, int cap); |
| 546 | extern bool has_capability_noaudit(struct task_struct *t, int cap); | 545 | extern bool has_capability_noaudit(struct task_struct *t, int cap); |
| 546 | extern bool has_ns_capability_noaudit(struct task_struct *t, | ||
| 547 | struct user_namespace *ns, int cap); | ||
| 547 | extern bool capable(int cap); | 548 | extern bool capable(int cap); |
| 548 | extern bool ns_capable(struct user_namespace *ns, int cap); | 549 | extern bool ns_capable(struct user_namespace *ns, int cap); |
| 549 | extern bool task_ns_capable(struct task_struct *t, int cap); | ||
| 550 | extern bool nsown_capable(int cap); | 550 | extern bool nsown_capable(int cap); |
| 551 | 551 | ||
| 552 | /* audit system wants to get cap info from files as well */ | 552 | /* audit system wants to get cap info from files as well */ |
