projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2687f33
)
nsjail: use CTRL+\ (SIGQUIT) to display active sessions
author
Robert Swiecki
<robert@swiecki.net>
Thu, 19 Oct 2017 13:25:20 +0000
(15:25 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Thu, 19 Oct 2017 13:25:20 +0000
(15:25 +0200)
nsjail.c
patch
|
blob
|
history
nsjail.h
patch
|
blob
|
history
diff --git
a/nsjail.c
b/nsjail.c
index 15ee203ed60789d86c434a1da7aee2a00f0292dd..3cf01d243d1fdc573ff344ba04efe25114c53a05 100644
(file)
--- a/
nsjail.c
+++ b/
nsjail.c
@@
-47,7
+47,7
@@
static void nsjailSig(int sig)
if (sig == SIGCHLD) {
return;
}
- if (sig == SIGUSR1) {
+ if (sig == SIGUSR1
|| sig == SIGQUIT
) {
nsjailShowProc = true;
return;
}
diff --git
a/nsjail.h
b/nsjail.h
index b094acf84948e92f22db8a8441de6778b711c73e..910bc1df147ad67eacd2f7238847dd3c03dd037c 100644
(file)
--- a/
nsjail.h
+++ b/
nsjail.h
@@
-33,6
+33,7
@@
static const int nssigs[] = {
SIGINT,
+ SIGQUIT,
SIGUSR1,
SIGALRM,
SIGCHLD,