Searched defs:cap (Results 1 - 5 of 5) sorted by relevance
/lxc/src/lxc/ |
H A D | caps.h | 39 extern bool lxc_proc_cap_is_set(cap_value_t cap, cap_flag_t flag); 40 extern bool lxc_file_cap_is_set(const char *path, cap_value_t cap, cap_flag_t flag); 58 static inline bool lxc_proc_cap_is_set(cap_value_t cap, cap_flag_t flag) { argument 62 static inline bool lxc_file_cap_is_set(const char *path, cap_value_t cap, cap_flag_t flag) { argument
|
H A D | nl.h | 59 * @cap: capacity of the netlink message, this is the initially allocated size 64 ssize_t cap; member in struct:nlmsg
|
H A D | caps.c | 81 cap_value_t cap; local 95 for (cap = 0; cap <= CAP_LAST_CAP; cap++) { 99 ret = cap_get_flag(caps, cap, CAP_PERMITTED, &flag); 102 INFO("Last supported cap was %d", cap-1); 110 ret = cap_set_flag(caps, CAP_EFFECTIVE, 1, &cap, flag); 196 int cap = 0; local 197 while (prctl(PR_CAPBSET_READ, cap) > 212 lxc_cap_is_set(cap_t caps, cap_value_t cap, cap_flag_t flag) argument 226 lxc_file_cap_is_set(const char *path, cap_value_t cap, cap_flag_t flag) argument 253 lxc_proc_cap_is_set(cap_value_t cap, cap_flag_t flag) argument [all...] |
H A D | attach.c | 350 int cap; local 352 for (cap = 0; cap <= last_cap; cap++) { 353 if (ctx->capability_mask & (1LL << cap)) 356 if (prctl(PR_CAPBSET_DROP, cap, 0, 0, 0)) { 357 SYSERROR("Failed to remove capability id %d.", cap);
|
H A D | conf.c | 258 static int in_caplist(int cap, struct lxc_list *caps); 2127 static int parse_cap(const char *cap) argument 2133 if (!strcmp(cap, "none")) 2138 if (strcmp(cap, caps_opt[i].name)) 2150 capid = strtol(cap, &ptr, 10); 2163 int in_caplist(int cap, struct lxc_list *caps) argument 2170 if (capid == cap) 3288 static int idmaptool_on_path_and_privileged(const char *binary, cap_value_t cap) argument 3314 if ((cap & CAP_SETUID) && 3324 if ((cap [all...] |
Completed in 27 milliseconds