Searched refs:program (Results 1 - 8 of 8) sorted by relevance

/lxc/src/lxc/
H A Dattach_options.h153 char* program; /*!< The program to run (passed to execvp) */ member in struct:lxc_attach_command_t
154 char** argv; /*!< The argv pointer of that program, including the program itself in argv[0] */
162 * \return \c -1 on error, exit code of lxc_attach_command_t program on success.
H A Dlxccontainer.h628 * \brief Run a program inside a container and wait for it to exit.
632 * \param program Full path inside container of program to run.
633 * \param argv Array of arguments to pass to \p program.
636 * program, or \c -1 on error.
638 int (*attach_run_wait)(struct lxc_container *c, lxc_attach_options_t *options, const char *program, const char * const argv[]);
641 * \brief Run a program inside a container and wait for it to exit (list variant).
645 * \param program Full path inside container of program to run.
646 * \param ... Command-line to pass to \p program (mus
[all...]
H A Dattach.c470 /* We need to fork off a process that runs the getent program, and we
604 /* Try to run getent program. */
812 * run program
1291 execvp(cmd->program, cmd->argv);
1292 SYSERROR("Failed to exec \"%s\".", cmd->program);
H A Dlxccontainer.c3298 static int do_lxcapi_attach_run_wait(struct lxc_container *c, lxc_attach_options_t *options, const char *program, const char * const argv[]) argument
3307 command.program = (char*)program;
3317 static int lxcapi_attach_run_wait(struct lxc_container *c, lxc_attach_options_t *options, const char *program, const char * const argv[]) argument
3321 ret = do_lxcapi_attach_run_wait(c, options, program, argv);
4068 static int lxcapi_attach_run_waitl(struct lxc_container *c, lxc_attach_options_t *options, const char *program, const char *arg, ...) argument
4090 ret = do_lxcapi_attach_run_wait(c, options, program, (const char * const *)argv);
/lxc/src/lua-lxc/test/
H A Dapitest.lua14 -- This program is distributed in the hope that it will be useful,
20 -- with this program; if not, write to the Free Software Foundation, Inc.,
/lxc/src/lxc/tools/
H A Dlxc_attach.c209 -a, --arch=ARCH Use ARCH for program instead of container's own\n\
224 The attached shell/program will start with only\n\
232 attached program in the container. May be specified\n\
273 if (wrap->command->program)
379 lxc_attach_command_t command = (lxc_attach_command_t){.program = NULL};
448 command.program = my_args.argv[0];
469 if (command.program)
H A Dlxc-top.lua14 -- This program is distributed in the hope that it will be useful,
20 -- with this program; if not, write to the Free Software Foundation, Inc.,
/lxc/src/python-lxc/
H A Dlxc.c296 NULL, /* program */
300 if (!PyArg_ParseTuple(arg, "sO", (const char**)&cmd.program, &args_obj))

Completed in 207 milliseconds