Searched defs:console (Results 1 - 7 of 7) sorted by relevance
/lxc/src/lxc/ |
H A D | console.c | 41 #include "console.h" 54 lxc_log_define(console, lxc); 161 struct lxc_console *console = (struct lxc_console *)data; local 167 INFO("console client on fd %d has exited", fd); 173 if (fd == console->peer) 174 w = lxc_write_nointr(console->master, buf, r); 176 if (fd == console->master) { 177 if (console->log_fd >= 0) 178 w = lxc_write_nointr(console->log_fd, buf, r); 180 if (console 190 lxc_console_mainloop_add_peer(struct lxc_console *console) argument 212 struct lxc_console *console = &conf->console; local 293 lxc_console_peer_proxy_free(struct lxc_console *console) argument 308 lxc_console_peer_proxy_alloc(struct lxc_console *console, int sockfd) argument 363 struct lxc_console *console = &conf->console; local 405 struct lxc_console *console = &conf->console; local 418 lxc_console_peer_default(struct lxc_console *console) argument 489 lxc_console_delete(struct lxc_console *console) argument 511 struct lxc_console *console = &conf->console; local [all...] |
H A D | arguments.h | 52 const char *console; member in struct:lxc_arguments 63 /* for lxc-console */
|
H A D | lxccontainer.h | 572 * \brief Allocate a console tty for the container. 592 * \brief Allocate and run a console tty. 597 * console. 605 * \note This function will not return until the console has been 608 int (*console)(struct lxc_container *c, int ttynum, member in struct:lxc_container
|
H A D | conf.h | 199 * Defines the structure to store the console information 200 * @peer : the file descriptor put/get console traffic 277 * @console : console data 278 * @ttydir : directory (under /dev) in which to create console and ttys 313 struct lxc_console console; member in struct:lxc_conf
|
H A D | conf.c | 1440 const struct lxc_console *console) 1445 if (console->path && !strcmp(console->path, "none")) 1448 ret = snprintf(path, sizeof(path), "%s/dev/console", rootfs->mount); 1452 /* When we are asked to setup a console we remove any previous 1453 * /dev/console bind-mounts. 1471 * taken care of creating /dev/console. 1476 SYSERROR("failed to create console"); 1483 if (chmod(console->name, S_IXUSR | S_IXGRP | S_IXOTH)) { 1484 SYSERROR("failed to set mode '0%o' to '%s'", S_IXUSR | S_IXGRP | S_IXOTH, console 1439 lxc_setup_dev_console(const struct lxc_rootfs *rootfs, const struct lxc_console *console) argument 1497 lxc_setup_ttydir_console(const struct lxc_rootfs *rootfs, const struct lxc_console *console, char *ttydir) argument 1624 lxc_setup_console(const struct lxc_rootfs *rootfs, const struct lxc_console *console, char *ttydir) argument 1639 setup_kmsg(const struct lxc_rootfs *rootfs, const struct lxc_console *console) argument [all...] |
/lxc/src/lxc/tools/ |
H A D | lxc_attach.c | 42 #include "console.h" 248 struct lxc_console *console; member in struct:wrapargs 269 close(wrap->console->master); 270 if (login_pty(wrap->console->slave) < 0) 296 free(conf->console.log_path); 298 conf->console.log_path = strdup(my_args.console_log); 300 conf->console.log_path = NULL; 304 * lxc.console.path here and set it to "/dev/tty". Doing this will (a) 306 * lxc.console = none and (b) provide an easy way to ensure that we 307 * always do the correct thing. strdup() must be used since console [all...] |
/lxc/src/python-lxc/lxc/ |
H A D | __init__.py | 258 def console(self, ttynum=-1, stdinfd=0, stdoutfd=1, stderrfd=2, escape=1): member in class:Container 260 Attach to console of running container. 266 return _lxc.Container.console(self, ttynum, stdinfd, stdoutfd, 271 Attach to console of running container.
|
Completed in 33 milliseconds