Lines Matching refs:cap
142 extern bool has_capability(struct task_struct *t, int cap);
144 struct user_namespace *ns, int cap);
145 extern bool has_capability_noaudit(struct task_struct *t, int cap);
147 struct user_namespace *ns, int cap);
148 extern bool capable(int cap);
149 extern bool ns_capable(struct user_namespace *ns, int cap);
150 extern bool ns_capable_noaudit(struct user_namespace *ns, int cap);
151 extern bool ns_capable_setid(struct user_namespace *ns, int cap);
153 static inline bool has_capability(struct task_struct *t, int cap) in has_capability() argument
158 struct user_namespace *ns, int cap) in has_ns_capability() argument
162 static inline bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() argument
167 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() argument
171 static inline bool capable(int cap) in capable() argument
175 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() argument
179 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() argument
183 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() argument
192 const struct inode *inode, int cap);
193 extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap);