/lxc/src/include/ |
H A D | lxcmntent.h | 40 FILE *setmntent (const char *file, const char *mode);
|
H A D | lxcmntent.c | 151 FILE *setmntent (const char *file, const char *mode) argument 153 /* Extend the mode parameter with "c" to disable cancellation in the 155 size_t modelen = strlen (mode); 157 memcpy (newmode, mode, modelen);
|
/lxc/src/lxc/ |
H A D | initutils.h | 52 FILE *fopen_cloexec(const char *path, const char *mode);
|
H A D | initutils.c | 256 FILE *fopen_cloexec(const char *path, const char *mode) argument 264 if (!strncmp(mode, "r+", 2)) { 267 } else if (!strncmp(mode, "r", 1)) { 270 } else if (!strncmp(mode, "w+", 2)) { 273 } else if (!strncmp(mode, "w", 1)) { 276 } else if (!strncmp(mode, "a+", 2)) { 279 } else if (!strncmp(mode, "a", 1)) { 283 for (; mode[step]; step++) 284 if (mode[step] == 'x') 292 ret = fdopen(fd, mode); [all...] |
H A D | network.h | 68 extern int lxc_macvlan_create(const char *master, const char *name, int mode);
|
H A D | confile.c | 153 { "lxc.network.macvlan.mode", config_network_macvlan_mode }, 443 macvlan_mode(&netdev->priv.macvlan_attr.mode, "private"); 543 strprint(retv, inlen, "macvlan.mode\n"); 604 int mode; member in struct:mc_mode 618 *valuep = m[i].mode; 720 ERROR("Invalid macvlan.mode for a non-macvlan netdev"); 723 return macvlan_mode(&netdev->priv.macvlan_attr.mode, value); 2393 * macvlan.mode, veth.pair, vlan, ipv4, ipv6, script.up, hwaddr, mtu, 2441 } else if (strcmp(p1, "macvlan.mode") == 0) { 2443 const char *mode; local [all...] |
H A D | conf.h | 103 int mode; /* private, vepa, bridge, passthru */ member in struct:ifla_macvlan
|
H A D | utils.h | 51 extern int mkdir_p(const char *dir, mode_t mode);
|
H A D | network.c | 834 int lxc_macvlan_create(const char *master, const char *name, int mode) argument 887 if (mode) { 892 if (nla_put_u32(nlmsg, IFLA_MACVLAN_MODE, mode))
|
H A D | criu.c | 1061 static bool do_dump(struct lxc_container *c, char *mode, struct migrate_opts *opts) argument 1097 os.action = mode;
|
H A D | conf.c | 166 #define __S_ISTYPE(mode, mask) (((mode) & S_IFMT) == (mask)) 1070 ret = safe_mount("none", path, "tmpfs", 0, "size=500000,mode=755", 1101 mode_t mode; member in struct:lxc_devs 1141 ret = mknod(path, d->mode, makedev(d->maj, d->min)); 1341 const char *devpts_mntopts = "newinstance,ptmxmode=0666,mode=0620,gid=5"; 1484 SYSERROR("failed to set mode '0%o' to '%s'", S_IXUSR | S_IXGRP | S_IXOTH, console->name); 2800 netdev->priv.macvlan_attr.mode); 2820 DEBUG("instantiated macvlan '%s', index is '%d' and mode '%d'", 2821 peer, netdev->ifindex, netdev->priv.macvlan_attr.mode); [all...] |
H A D | utils.c | 241 extern int mkdir_p(const char *dir, mode_t mode) argument 252 if (mkdir(makeme, mode) && errno != EEXIST) {
|
/lxc/src/tests/ |
H A D | concurrent.c | 57 " -m, --modes=<mode,mode,...> Modes to run (create, start, stop, destroy)\n" 69 const char *mode; member in struct:thread_args 92 if (strcmp(args->mode, "create") == 0) { 99 } else if(strcmp(args->mode, "start") == 0) { 112 } else if(strcmp(args->mode, "stop") == 0) { 123 } else if(strcmp(args->mode, "destroy") == 0) { 224 args[j].mode = modes[i];
|
/lxc/templates/ |
H A D | lxc-sshd.in | 144 lxc.mount.entry = tmpfs run/sshd tmpfs mode=0644 0 0
|
H A D | lxc-alpine.in | 77 -d, --debug Run this script in a debug mode (set -x and wget w/o -q).
|
H A D | lxc-plamo.in | 158 none /dev/pts devpts gid=5,mode=620 0 0
|
H A D | lxc-slackware.in | 131 none /run tmpfs defaults,mode=0755 0 0
|
/lxc/src/lxc/bdev/ |
H A D | lxcbtrfs.h | 230 __le32 mode; member in struct:btrfs_inode_item
|
/lxc/src/lxc/cgroups/ |
H A D | cgmanager.c | 470 const char *cgroup_path, const char *file, int mode) 473 cgroup_path, file, mode) != 0) { 1616 if (safe_mount("cgroup", cgpath, "tmpfs", 0, "size=10000,mode=755", root)) { 469 lxc_cgmanager_chmod(const char *controller, const char *cgroup_path, const char *file, int mode) argument
|
/lxc/src/lua-lxc/ |
H A D | lxc.lua | 362 if (cfgattr and cfgattr.mode == "file") then
|