Searched refs:flag (Results 1 - 7 of 7) sorted by relevance

/lxc/src/lxc/
H A Dcaps.h39 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 Dcaps.c97 cap_flag_value_t flag; local
99 ret = cap_get_flag(caps, cap, CAP_PERMITTED, &flag);
110 ret = cap_set_flag(caps, CAP_EFFECTIVE, 1, &cap, flag);
212 static bool lxc_cap_is_set(cap_t caps, cap_value_t cap, cap_flag_t flag) argument
217 ret = cap_get_flag(caps, cap, flag, &flagval);
226 bool lxc_file_cap_is_set(const char *path, cap_value_t cap, cap_flag_t flag) argument
244 cap_is_set = lxc_cap_is_set(caps, cap, flag);
253 bool lxc_proc_cap_is_set(cap_value_t cap, cap_flag_t flag) argument
264 cap_is_set = lxc_cap_is_set(caps, cap, flag);
H A Dnetwork.h49 extern int netdev_set_flag(const char *name, int flag);
H A Dnetwork.c365 int netdev_set_flag(const char *name, int flag) argument
406 ifi->ifi_flags |= flag;
416 int netdev_get_flag(const char* name, int *flag) argument
466 *flag = ifi->ifi_flags;
486 int flag; local
489 err = netdev_get_flag(name, &flag);
492 if (flag & IFF_UP)
591 * last message had the NLF_F_MULTI flag set */
929 static int ip_forward_set(const char *ifname, int family, int flag) argument
942 return proc_sys_net_write(path, flag
955 neigh_proxy_set(const char *ifname, int family, int flag) argument
[all...]
H A Dconfile.c1576 static struct { const char *token; int mask; int flag; } allowed_auto_mounts[] = { member in struct:__anon9
1593 * no options: keep mask and flag identical and just define the
1630 lxc_conf->auto_mounts |= allowed_auto_mounts[i].flag;
2137 struct { const char *token; int flag; } all_privs[] = { member in struct:__anon10
2148 *flags |= all_privs[i].flag;
2158 aflag = all_privs[i].flag;
H A Dconf.c238 int flag; member in struct:mount_opt
1676 *flags &= ~mo->flag;
1678 *flags |= mo->flag;
/lxc/src/python-lxc/
H A Dsetup.py.in34 for flag in current.split(" "):
35 if flag.lower() in ("-pie", "-fpie"):
39 new.append(flag)

Completed in 577 milliseconds