Christian Brauner
|
6e87cb176f
|
memory_utils: adapt to new infrastructure
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-15 02:34:20 +01:00 |
|
Christian Brauner
|
5a07663367
|
tree-wide: port cgroup cleanup to call_cleaner(cgroup_exit)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-15 01:55:24 +01:00 |
|
Christian Brauner
|
1e22a68300
|
caps: port to call_cleaner() based cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-15 01:38:00 +01:00 |
|
Christian Brauner
|
e16ad728f8
|
memory_utils: add call_cleaner() helper
This allows to trivially declare cleanup attributes on the fly.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-15 01:37:57 +01:00 |
|
Stéphane Graber
|
2b1ec4b999
|
Merge pull request #3293 from brauner/2020-03-14/travis_enable_arches
travis: enable all architectures
|
2020-03-14 10:18:25 -04:00 |
|
Christian Brauner
|
6937ecffdb
|
travis: enable all architectures
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-14 13:14:04 +01:00 |
|
Christian Brauner
|
f132528b1b
|
travis: remove libgnutls-dev
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-14 13:14:04 +01:00 |
|
Stéphane Graber
|
9268a9fb7b
|
Merge pull request #3291 from brauner/2020-03-11/fixes
bugfixes
|
2020-03-11 17:05:57 -04:00 |
|
Christian Brauner
|
f12584558b
|
utils: cleanup
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 19:24:02 +01:00 |
|
Christian Brauner
|
1dc51604cf
|
file_utils: cleanup macros and improvements
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 19:06:19 +01:00 |
|
Stéphane Graber
|
133d96089f
|
Merge pull request #3290 from brauner/2020-03-11/fixes
pidfds: switch infrastructure to rely on pidfds whenever possible
|
2020-03-11 11:34:34 -04:00 |
|
Christian Brauner
|
f3741b92fd
|
api-extensions: use correct headings
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 16:05:13 +01:00 |
|
Christian Brauner
|
712ff18d45
|
api-extensions: document "network_veth_router" api extension
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2020-03-11 16:03:09 +01:00 |
|
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 |
|