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)
158 struct user_namespace *ns, int cap)
162 static inline bool has_capability_noaudit(struct task_struct *t, int cap)
167 struct user_namespace *ns, int cap)
171 static inline bool capable(int cap)
175 static inline bool ns_capable(struct user_namespace *ns, int cap)
179 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap)
183 static inline bool ns_capable_setid(struct user_namespace *ns, int cap)
192 const struct inode *inode, int cap);
193 extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap);
211 /* audit system wants to get cap info from files as well */