Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
71ac3f07
Unverified
Commit
71ac3f07
authored
Feb 28, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
terminal: lxc_console()
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
5bd171bd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
terminal.c
src/lxc/terminal.c
+2
-2
No files found.
src/lxc/terminal.c
View file @
71ac3f07
...
@@ -1026,7 +1026,7 @@ int lxc_console(struct lxc_container *c, int ttynum,
...
@@ -1026,7 +1026,7 @@ int lxc_console(struct lxc_container *c, int ttynum,
int
stdinfd
,
int
stdoutfd
,
int
stderrfd
,
int
stdinfd
,
int
stdoutfd
,
int
stderrfd
,
int
escape
)
int
escape
)
{
{
int
ret
,
ttyfd
,
master
fd
;
int
masterfd
,
ret
,
tty
fd
;
struct
lxc_epoll_descr
descr
;
struct
lxc_epoll_descr
descr
;
struct
termios
oldtios
;
struct
termios
oldtios
;
struct
lxc_terminal_state
*
ts
;
struct
lxc_terminal_state
*
ts
;
...
@@ -1055,7 +1055,7 @@ int lxc_console(struct lxc_container *c, int ttynum,
...
@@ -1055,7 +1055,7 @@ int lxc_console(struct lxc_container *c, int ttynum,
lxc_terminal_winsz
(
stdinfd
,
masterfd
);
lxc_terminal_winsz
(
stdinfd
,
masterfd
);
lxc_cmd_terminal_winch
(
ts
->
winch_proxy
,
ts
->
winch_proxy_lxcpath
);
lxc_cmd_terminal_winch
(
ts
->
winch_proxy
,
ts
->
winch_proxy_lxcpath
);
}
else
{
}
else
{
INFO
(
"File descriptor %d does not refer to a t
ty device
"
,
stdinfd
);
INFO
(
"File descriptor %d does not refer to a t
erminal
"
,
stdinfd
);
}
}
ret
=
lxc_mainloop_open
(
&
descr
);
ret
=
lxc_mainloop_open
(
&
descr
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment