/lxc/src/lxc/ |
H A D | attach.h | 39 extern int lxc_attach(const char* name, const char* lxcpath, lxc_attach_exec_t exec_function, void* exec_payload, lxc_attach_options_t* options, pid_t* attached_process);
|
H A D | attach.c | 660 lxc_attach_options_t* options; member in struct:attach_clone_payload 671 /* Define default options if no options are supplied by the user. */ 675 struct lxc_proc_context_info *i, lxc_attach_options_t *options) 680 if (!(options->namespaces & CLONE_NEWNS) || !(options->attach_flags & LXC_ATTACH_LSM)) 727 int lxc_attach(const char* name, const char* lxcpath, lxc_attach_exec_t exec_function, void* exec_payload, lxc_attach_options_t* options, pid_t* attached_process) argument 737 if (!options) 738 options = &attach_static_default_options; 761 if (!fetch_seccomp(name, lxcpath, init_ctx, options)) 674 fetch_seccomp(const char *name, const char *lxcpath, struct lxc_proc_context_info *i, lxc_attach_options_t *options) argument 1066 lxc_attach_options_t* options = payload->options; local [all...] |
H A D | initutils.c | 90 static const char * const options[][2] = { local 104 static __thread const char *values[sizeof(options) / sizeof(options[0])] = { 0 }; 106 static const char *values[sizeof(options) / sizeof(options[0])] = { 0 }; 146 for (i = 0, ptr = options; (*ptr)[0]; ptr++, i++) {
|
H A D | arguments.h | 42 const struct option* options; member in struct:lxc_arguments 154 /* option keys for long only options */
|
H A D | arguments.c | 142 Common options :\n\ 151 Mandatory or optional arguments to long options are also mandatory or optional\n\ 152 for any corresponding short options.\n\ 188 ret = build_shortopts(args->options, shortopts, sizeof(shortopts)); 198 c = getopt_long(argc, argv, shortopts, args->options, &index); 213 case OPT_USAGE: print_usage(args->options, args); 239 /* Check the command options */
|
H A D | lxccontainer.h | 313 * \param flags \c LXC_CREATE_* options (currently only \ref 333 * \param flags \c LXC_CREATE_* options (currently only \ref 618 * \param options \ref lxc_attach_options_t. 625 void *exec_payload, lxc_attach_options_t *options, pid_t *attached_process); 631 * \param options See \ref attach options. 638 int (*attach_run_wait)(struct lxc_container *c, lxc_attach_options_t *options, const char *program, const char * const argv[]); 644 * \param options See \ref attach options. 651 int (*attach_run_waitl)(struct lxc_container *c, lxc_attach_options_t *options, cons [all...] |
/lxc/src/python-lxc/ |
H A D | lxc.c | 141 static void lxc_attach_free_options(lxc_attach_options_t *options); 161 lxc_attach_options_t *options = malloc(sizeof(*options)); local 163 if (!options) { 167 memcpy(options, &default_options, sizeof(*options)); 173 temp_env_policy = options->env_policy; 179 kwlist, &options->attach_flags, 180 &options->namespaces, 181 &options 241 lxc_attach_free_options(lxc_attach_options_t *options) argument 659 lxc_attach_options_t *options = NULL; local [all...] |
H A D | setup.py.in | 74 options={'build': {'build_base': os.path.join(builddir, 'build')}})
|
/lxc/src/lxc/tools/ |
H A D | lxc_copy.c | 65 char *options; member in struct:mnts 104 --name=NAME [-P lxcpath] -N newname [-p newpath] [-B backingstorage] [-s] [-K] [-M] [-L size [unit]] -- hook options\n\ 105 --name=NAME [-P lxcpath] [-N newname] [-p newpath] [-B backingstorage] -e [-d] [-D] [-K] [-M] [-m {bind,aufs,overlay}=/src:/dest] -- hook options\n\ 125 -- hook options arguments passed to the hook program\n\ 128 .options = my_longopts, 342 strlen(m->src) + strlen(m->dest) + strlen(m->options) + 1; 349 m->src, m->dest, m->options, 514 free(n->options); 677 m->options = strdup("rw"); 680 m->options [all...] |
H A D | lxc_unfreeze.c | 50 .options = my_longopts,
|
H A D | lxc_clone.c | 95 static struct option options[] = { variable in typeref:struct:option 130 c = getopt_long(argc, argv, "sB:L:o:n:v:KMHp:P:Rt:h", options, &option_index);
|
H A D | lxc_init.c | 45 static const struct option options[] = { variable in typeref:struct:option 63 "Common options :\n" 70 "Mandatory or optional arguments to long options are also mandatory or optional\n" 71 "for any corresponding short options.\n" 87 while ((opt = getopt_long(argc, argv, "n:l:qP:", options, NULL)) != -1) {
|
H A D | lxc_attach.c | 240 .options = my_longopts, 246 lxc_attach_options_t *options; member in struct:wrapargs 328 if (c->attach(c, get_pty_on_host_callback, wrap, wrap->options, pid) < 0) 454 .options = &attach_options
|
H A D | lxc_freeze.c | 52 .options = my_longopts,
|
H A D | lxc_wait.c | 77 .options = my_longopts,
|
H A D | lxc_cgroup.c | 61 .options = my_longopts,
|
H A D | lxc_console.c | 90 .options = my_longopts,
|
H A D | lxc_execute.c | 100 .options = my_longopts,
|
H A D | lxc_checkpoint.c | 112 Checkpoint options:\n\ 114 Restore options:\n\ 119 .options = my_longopts,
|
/lxc/src/lxc/bdev/ |
H A D | lxcaufs.c | 238 char *tmp, *options, *dup, *lower, *upper; local 276 // so add xino=/dev/shm/aufs.xino parameter to mount options. 284 options = alloca(len); 285 ret = snprintf(options, len, "br=%s=rw:%s=ro,%s,xino=%s", upper, lower, mntdata, xinopath); 289 options = alloca(len); 290 ret = snprintf(options, len, "br=%s=rw:%s=ro,xino=%s", upper, lower, xinopath); 298 ret = mount(lower, bdev->dest, "aufs", MS_MGC_VAL | mntflags, options); 300 SYSERROR("aufs: error mounting %s onto %s options %s", 301 lower, bdev->dest, options); 303 INFO("aufs: mounted %s onto %s options [all...] |
H A D | lxcoverlay.c | 55 const void *options); 316 char *tmp, *options, *dup, *lower, *upper; local 390 options = alloca(len); 391 ret = snprintf(options, len, "upperdir=%s,lowerdir=%s,%s", upper, lower, mntdata); 396 ret2 = snprintf(options, len2, "upperdir=%s,lowerdir=%s,workdir=%s,%s", 400 options = alloca(len); 401 ret = snprintf(options, len, "upperdir=%s,lowerdir=%s", upper, lower); 419 INFO("Overlayfs: Error mounting %s onto %s with options %s. " 425 MS_MGC_VAL | mntflags, options); 428 "options 664 ovl_remount_on_enodev(const char *lower, const char *target, const char *name, unsigned long mountflags, const void *options) argument [all...] |
H A D | bdev.h | 112 * other backing stores, this will allow additional options. In particular, 140 const char *options);
|
/lxc/hooks/ |
H A D | ubuntu-cloud-prep | 24 Usage: ${0##*/} [options] root-dir 29 options marked '[ds]' 44 --options "${short_opts}" --long "${long_opts}" -- "$@" 2>/dev/null) ||
|
/lxc/templates/ |
H A D | lxc-alpine.in | 68 Template specific options can be passed to lxc-create after a '--' like this: 70 lxc-create --name=NAME [lxc-create-options] -- [template-options] [PKG...] 74 Template options: 407 # Parse command options. 408 options=$(getopt -o a:dFm:n:p:r:h -l arch:,debug,flush-cache,mirror:,name:,\ 410 eval set -- "$options" 422 # Process command options. 475 # Validate options.
|
/lxc/src/tests/ |
H A D | concurrent.c | 37 static const struct option options[] = { variable in typeref:struct:option 51 "Common options :\n" 62 "Mandatory or optional arguments to long options are also mandatory or optional\n" 63 "for any corresponding short options.\n\n"); 157 while ((opt = getopt_long(argc, argv, "j:i:t:d:m:qD", options, NULL)) != -1) {
|