Christian Brauner
|
51c9ca2ceb
|
api-extensions: reflow "seccomp_allow_nesting" api extension
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 16:02:14 +01:00 |
|
Christian Brauner
|
b3883456f5
|
api-extensions: reflow "seccomp_notify" api extension
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 16:01:01 +01:00 |
|
Christian Brauner
|
cc08c0f322
|
api-extensions: reflow "cgroup2_devices" extensions
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 16:00:34 +01:00 |
|
Christian Brauner
|
15ba80d524
|
api-extensions: reflow "cgroup2" api extension
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 16:00:11 +01:00 |
|
Christian Brauner
|
77f5bdc240
|
api-extensions: add "pidfd" api extension
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 15:59:44 +01:00 |
|
Christian Brauner
|
08eccae8c1
|
lxccontainer: switch to pidfd polling when shutting down containers
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 15:59:33 +01:00 |
|
Christian Brauner
|
9837ee466d
|
lxccontainer: switch to pidfds whenever possible
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 15:59:33 +01:00 |
|
Christian Brauner
|
39293f2213
|
start: add ability to detect whether kernel supports pidfds
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 15:59:33 +01:00 |
|
Christian Brauner
|
fa3621ea82
|
lxccontainer: add init_pidfd() API extension
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 15:59:32 +01:00 |
|
Christian Brauner
|
746aab5184
|
commands: LXC_CMD_GET_INIT_PIDFD
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 15:59:32 +01:00 |
|
Christian Brauner
|
890ecf0860
|
lxccontainer.h: document seccomp_notify_fd()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 15:59:32 +01:00 |
|
Stéphane Graber
|
c6a635312d
|
Merge pull request #3289 from tenforward/japanese
doc: Add keyring options to Japanese lxc.containers.conf(5)
|
2020-03-11 09:37:13 -04:00 |
|
Christian Brauner
|
a804c19ba5
|
commands: use LXC_CMD_REAP_CLIENT_FD in lxc_cmd_get_cgroup2_fd_callback()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 13:02:17 +01:00 |
|
Christian Brauner
|
ea2a070bc5
|
commands: add ability to audit fd connection and cleanup path
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 12:47:01 +01:00 |
|
KATOH Yasufumi
|
48e3c95a8d
|
doc: Fix typo
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
|
2020-03-11 15:56:35 +09:00 |
|
KATOH Yasufumi
|
978499c7c0
|
Merge branch 'master' into japanese
|
2020-03-11 15:25:00 +09:00 |
|
KATOH Yasufumi
|
d1fcb47a33
|
doc: Add keyring options to Japanese lxc.containers.conf(5)
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
|
2020-03-11 15:21:36 +09:00 |
|
Stéphane Graber
|
a99e7037b7
|
Merge pull request #3288 from brauner/2020-03-11/fixes
commands: simplify lxc_cmd_fd_cleanup()
|
2020-03-10 22:47:25 -04:00 |
|
Christian Brauner
|
ab92468c62
|
commands: simplify lxc_cmd_fd_cleanup()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 03:33:16 +01:00 |
|
Stéphane Graber
|
823486c199
|
Merge pull request #3287 from brauner/2020-03-11/fixes
fixes
|
2020-03-10 22:23:35 -04:00 |
|
Christian Brauner
|
807d526dcd
|
commands_utils: fix command socket hashing
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 02:59:36 +01:00 |
|
Christian Brauner
|
0fb40573e5
|
af_unix: fix return value
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 02:35:51 +01:00 |
|
Christian Brauner
|
a783a4140c
|
start: cleanup file descriptor closing
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 01:56:44 +01:00 |
|
Stéphane Graber
|
85e9c763b1
|
Merge pull request #3286 from brauner/2020-03-10/fixes
commands: make sure to always close the client fd
|
2020-03-10 18:03:17 -04:00 |
|
Christian Brauner
|
cd5369b093
|
commands: make sure to always close the client fd
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 22:44:12 +01:00 |
|
Stéphane Graber
|
c2250e7584
|
Merge pull request #3285 from brauner/2020-03-10/fixes
bugfixes
|
2020-03-10 17:05:00 -04:00 |
|
Christian Brauner
|
39e2a438af
|
commands: improve state client cleanup
Improves: ebbca85297 ("commands_utils: fix socket leak when adding state client")
Cc: Matthias Hardt <matthias.hardt@gmail.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 21:46:25 +01:00 |
|
Christian Brauner
|
565eb353e0
|
commands: switch to pid_t to send around pid
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 21:35:25 +01:00 |
|
Stéphane Graber
|
bf7e2093b1
|
Merge pull request #3283 from brauner/2020-03-10/fixes
bugfixes
|
2020-03-10 15:21:09 -04:00 |
|
Christian Brauner
|
b41ec4d2ce
|
share_ns: improve error handling
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 19:51:38 +01:00 |
|
Christian Brauner
|
2580145fe9
|
share_ns: improve error handling
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 19:42:31 +01:00 |
|
Christian Brauner
|
7fa9063089
|
file_utils: handle libcs without fmemopen()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 17:44:56 +01:00 |
|
Christian Brauner
|
77c3e9a22d
|
cgroups: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 17:07:33 +01:00 |
|
Christian Brauner
|
f761d24da6
|
cgfsng: use __do_free_string_list all over
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 16:39:04 +01:00 |
|
Christian Brauner
|
e1e08f3913
|
file_utils: include stdio.h for fmemopen()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 16:39:03 +01:00 |
|
Christian Brauner
|
1b9aca115e
|
tests/share_ns: always call pthread_exit()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 16:39:03 +01:00 |
|
Stéphane Graber
|
44512eeef1
|
Merge pull request #3282 from brauner/2020-03-10/fixes
memory_utils: remove unneeded inclusion of mntent.h
|
2020-03-10 11:23:36 -04:00 |
|
Christian Brauner
|
9b53e0b7d3
|
memory_utils: remove unneeded inclusion of mntent.h
Fixes: Android
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 16:08:06 +01:00 |
|
Stéphane Graber
|
208b3ee0e1
|
Merge pull request #3281 from brauner/2020-03-10/fixes
tree-wide: cleanup
|
2020-03-10 10:03:06 -04:00 |
|
Christian Brauner
|
bbba37f7b4
|
cgroups: fix memory leak and simplify code
Closes #3252.
Reported-by: LiFeng <lifeng68@huawei.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 14:44:59 +01:00 |
|
Christian Brauner
|
dab55f7798
|
tests/share_ns: bugfixes
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 14:10:20 +01:00 |
|
Christian Brauner
|
5502253005
|
conf: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 14:10:19 +01:00 |
|
Christian Brauner
|
cdd673140d
|
commands_utils: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 11:40:06 +01:00 |
|
Christian Brauner
|
6c6497eab4
|
commands: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-10 11:40:05 +01:00 |
|
Stéphane Graber
|
32a0f03300
|
Merge pull request #3279 from brauner/2020-03-04/improvements
bugfixes
|
2020-03-09 23:38:53 -04:00 |
|
Christian Brauner
|
b87ee3121b
|
tree-wide: more cleanup macros
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-09 22:22:12 +01:00 |
|
Christian Brauner
|
768e7ba266
|
lxccontainer: increase cleanup macro usage
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-09 21:47:47 +01:00 |
|
Christian Brauner
|
b816bdde0e
|
autotools: fix lxc-init build with clang-10
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-09 21:47:47 +01:00 |
|
Christian Brauner
|
818a57fc14
|
tree-wide: improve logging
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-09 21:47:47 +01:00 |
|
Christian Brauner
|
4110345b7a
|
tree-wide: make files cloexec whenever possible
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-09 21:47:47 +01:00 |
|