]> git.ipfire.org Git - thirdparty/lxc.git/log
thirdparty/lxc.git
3 years agoFix `lxc-create` completion.
Edênis Freindorfer Azevedo [Tue, 31 Aug 2021 10:52:03 +0000 (07:52 -0300)] 
Fix `lxc-create` completion.

Do not append a name of an existing container.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoAdd support for comma as a completion word.
Edênis Freindorfer Azevedo [Tue, 31 Aug 2021 10:29:01 +0000 (07:29 -0300)] 
Add support for comma as a completion word.

For `lxc-ls --groups` and `lxc-autostart --groups`.
Support leading comma, trailing comma, embedded double comma.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoRefactor `__lxc_piped_args`.
Edênis Freindorfer Azevedo [Mon, 30 Aug 2021 22:47:58 +0000 (19:47 -0300)] 
Refactor `__lxc_piped_args`.

Use bash functions for common array operations. Keep code logic somewhat
easy to read for bug hunting.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoFix `lxc-snapshot` completion.
Edênis Freindorfer Azevedo [Mon, 30 Aug 2021 18:34:06 +0000 (15:34 -0300)] 
Fix `lxc-snapshot` completion.

For options `-r,--restore` and `-d,--destroy`, we need the container
name to create the list of completion values.

Therefore, it is needed to scan the current command line to check if
there is a container name available.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoUse more bash-like syntax.
Edênis Freindorfer Azevedo [Mon, 30 Aug 2021 13:50:52 +0000 (10:50 -0300)] 
Use more bash-like syntax.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoAdd support for container composed names.
Edênis Freindorfer Azevedo [Mon, 30 Aug 2021 13:33:35 +0000 (10:33 -0300)] 
Add support for container composed names.

When a container name has whitespace in it
(e.g. created by `lxc-create -t download -n "arch linux"` ),
the completion for other commands should be able to work by adding a
backslash to escape it.

Although it may be interesting to support names between quotes, this
would probably means to have to add quotes to all names. Might not be
interesting just due to an edge case.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoAdd completion output for `lxc-ls --fancy-format`.
Edênis Freindorfer Azevedo [Sat, 28 Aug 2021 17:59:57 +0000 (14:59 -0300)] 
Add completion output for `lxc-ls --fancy-format`.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoImprove name completion handling.
Edênis Freindorfer Azevedo [Fri, 27 Aug 2021 20:24:24 +0000 (17:24 -0300)] 
Improve name completion handling.

Use regex to handle short option `-n`, since short options can be
combined (e.g. `-nd`) as long as at max one requires an argument.

Also consider the case when the arg for the long option is not given
together with `--name=`.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoAdd `compopt` call to `__lxc_piped_args`.
Edênis Freindorfer Azevedo [Fri, 27 Aug 2021 12:11:42 +0000 (09:11 -0300)] 
Add `compopt` call to `__lxc_piped_args`.

On pair with how other functions do it. Also, be smarter about adding
whitespace when there are no more completions available for the
parameter.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoUse `--running` instead of `--active`.
Edênis Freindorfer Azevedo [Fri, 27 Aug 2021 11:48:38 +0000 (08:48 -0300)] 
Use `--running` instead of `--active`.

Commands block if container is frozen.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agoFill missing commands on name completion.
Edênis Freindorfer Azevedo [Fri, 27 Aug 2021 11:42:05 +0000 (08:42 -0300)] 
Fill missing commands on name completion.

Signed-off-by: Edênis Freindorfer Azevedo <edenisfa@gmail.com>
3 years agobuild: add tools to meson
Christian Brauner [Fri, 3 Sep 2021 14:35:55 +0000 (16:35 +0200)] 
build: add tools to meson

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agobuild: add meson skeleton
Christian Brauner [Fri, 3 Sep 2021 07:26:52 +0000 (09:26 +0200)] 
build: add meson skeleton

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agobuild: make sure _GNU_SOURCE is set
Christian Brauner [Fri, 3 Sep 2021 15:57:39 +0000 (17:57 +0200)] 
build: make sure _GNU_SOURCE is set

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxc: remove "version.h" inclusion
Christian Brauner [Fri, 3 Sep 2021 17:05:35 +0000 (19:05 +0200)] 
lxc: remove "version.h" inclusion

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotests: include "version.h"
Christian Brauner [Fri, 3 Sep 2021 16:04:42 +0000 (18:04 +0200)] 
tests: include "version.h"

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotree-wide: fix config.h inclusion
Christian Brauner [Fri, 3 Sep 2021 15:47:49 +0000 (17:47 +0200)] 
tree-wide: fix config.h inclusion

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotools: fix build warnings
Christian Brauner [Fri, 3 Sep 2021 15:29:04 +0000 (17:29 +0200)] 
tools: fix build warnings

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotree-wide: fix lxc header inclusion
Christian Brauner [Fri, 3 Sep 2021 15:05:12 +0000 (17:05 +0200)] 
tree-wide: fix lxc header inclusion

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocaps: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:14:16 +0000 (16:14 +0200)] 
caps: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotools/lxc_start: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:13:12 +0000 (16:13 +0200)] 
tools/lxc_start: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoarguments: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:12:09 +0000 (16:12 +0200)] 
arguments: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoinitutils: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:11:39 +0000 (16:11 +0200)] 
initutils: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolog: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:10:44 +0000 (16:10 +0200)] 
log: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoinitutils: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:10:35 +0000 (16:10 +0200)] 
initutils: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:10:16 +0000 (16:10 +0200)] 
conf: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agostring_utils: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:09:56 +0000 (16:09 +0200)] 
string_utils: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoarguments: fix includes
Christian Brauner [Fri, 3 Sep 2021 14:09:43 +0000 (16:09 +0200)] 
arguments: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocommands_utils: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 10:57:07 +0000 (12:57 +0200)] 
commands_utils: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agofile_utils: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 10:56:43 +0000 (12:56 +0200)] 
file_utils: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agomonitor: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 10:54:57 +0000 (12:54 +0200)] 
monitor: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agonl: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 10:53:54 +0000 (12:53 +0200)] 
nl: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agouuid: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 10:51:17 +0000 (12:51 +0200)] 
uuid: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoseccomp: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 10:50:28 +0000 (12:50 +0200)] 
seccomp: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxcmntent: fix fallthrough
Christian Brauner [Fri, 3 Sep 2021 10:12:24 +0000 (12:12 +0200)] 
lxcmntent: fix fallthrough

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agonetns_ifaddrs: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 10:11:43 +0000 (12:11 +0200)] 
netns_ifaddrs: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agostart: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 09:58:55 +0000 (11:58 +0200)] 
start: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoutils: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 09:43:05 +0000 (11:43 +0200)] 
utils: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoterminal: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 09:41:25 +0000 (11:41 +0200)] 
terminal: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxccontainer: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 09:30:01 +0000 (11:30 +0200)] 
lxccontainer: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agonetwork: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 09:25:56 +0000 (11:25 +0200)] 
network: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotree-wide: fix public lxc header inclusions
Christian Brauner [Fri, 3 Sep 2021 09:09:02 +0000 (11:09 +0200)] 
tree-wide: fix public lxc header inclusions

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocommands: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 09:04:58 +0000 (11:04 +0200)] 
commands: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocriu: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 09:03:07 +0000 (11:03 +0200)] 
criu: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconfile_utils: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 08:49:34 +0000 (10:49 +0200)] 
confile_utils: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotree-wide: fix attach header inclusion
Christian Brauner [Fri, 3 Sep 2021 08:30:16 +0000 (10:30 +0200)] 
tree-wide: fix attach header inclusion

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: fix array initalization
Christian Brauner [Fri, 3 Sep 2021 08:25:01 +0000 (10:25 +0200)] 
conf: fix array initalization

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: fix struct mount_attr initalization
Christian Brauner [Fri, 3 Sep 2021 08:21:18 +0000 (10:21 +0200)] 
conf: fix struct mount_attr initalization

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agostring_utils: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 08:14:55 +0000 (10:14 +0200)] 
string_utils: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 08:14:44 +0000 (10:14 +0200)] 
conf: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolsm: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 08:01:51 +0000 (10:01 +0200)] 
lsm: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoattach: fix helper declarations
Christian Brauner [Fri, 3 Sep 2021 07:51:17 +0000 (09:51 +0200)] 
attach: fix helper declarations

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agostorage: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 07:42:11 +0000 (09:42 +0200)] 
storage: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconfile: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 07:35:34 +0000 (09:35 +0200)] 
confile: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocgroups: fix integer comparisons
Christian Brauner [Fri, 3 Sep 2021 07:34:59 +0000 (09:34 +0200)] 
cgroups: fix integer comparisons

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agosyscall_wrapper: fix pivot_root() declaration
Christian Brauner [Fri, 3 Sep 2021 07:31:50 +0000 (09:31 +0200)] 
syscall_wrapper: fix pivot_root() declaration

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agobuild: add src/include to build and simplify header inclusions
Christian Brauner [Fri, 3 Sep 2021 07:25:56 +0000 (09:25 +0200)] 
build: add src/include to build and simplify header inclusions

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotree-wide: fix build
Christian Brauner [Thu, 2 Sep 2021 14:21:33 +0000 (16:21 +0200)] 
tree-wide: fix build

Fixes: #3960
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoinclude: make all functions __hidden
Christian Brauner [Thu, 2 Sep 2021 13:57:05 +0000 (15:57 +0200)] 
include: make all functions __hidden

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconfigure: add sanitizer flags to LDFLAGS as well
Christian Brauner [Wed, 1 Sep 2021 07:46:58 +0000 (09:46 +0200)] 
configure: add sanitizer flags to LDFLAGS as well

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxccontainer: don't pass NULL pointer
Christian Brauner [Mon, 30 Aug 2021 16:05:29 +0000 (18:05 +0200)] 
lxccontainer: don't pass NULL pointer

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxccontainer: fail when container can't be loaded
Christian Brauner [Mon, 30 Aug 2021 15:55:09 +0000 (17:55 +0200)] 
lxccontainer: fail when container can't be loaded

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxccontainer: remove useless {}
Christian Brauner [Mon, 30 Aug 2021 13:21:53 +0000 (15:21 +0200)] 
lxccontainer: remove useless {}

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxccontainer: use free_disarm() in list_all_containers()
Christian Brauner [Mon, 30 Aug 2021 13:19:25 +0000 (15:19 +0200)] 
lxccontainer: use free_disarm() in list_all_containers()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxc-usernsexec: small tweaks
Christian Brauner [Mon, 30 Aug 2021 12:37:06 +0000 (14:37 +0200)] 
lxc-usernsexec: small tweaks

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotree-wide: fix list_entry()
Christian Brauner [Mon, 30 Aug 2021 11:52:51 +0000 (13:52 +0200)] 
tree-wide: fix list_entry()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoattach: Fix -c command
Maximilian Blenk [Mon, 23 Aug 2021 13:39:28 +0000 (15:39 +0200)] 
attach: Fix -c command

Currently, the -c command (to set the selinux context) seems to be
broken because the passed context is ignored and always overwritten by
the context specified in the config file. The intention behind the -c
imho was to be able to manually overwrite this behavior. This patch
ensures that the selinux context will be set if passed via the command
line.

Signed-off-by: Maximilian Blenk <Maximilian.Blenk@bmw.de>
3 years agolxccontainer: tweak some array handling helpers
Christian Brauner [Fri, 27 Aug 2021 14:14:19 +0000 (16:14 +0200)] 
lxccontainer: tweak some array handling helpers

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxccontainer: improve add_to_clist()
Christian Brauner [Fri, 27 Aug 2021 14:00:45 +0000 (16:00 +0200)] 
lxccontainer: improve add_to_clist()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxccontainer: improve add_to_array()
Christian Brauner [Fri, 27 Aug 2021 13:59:39 +0000 (15:59 +0200)] 
lxccontainer: improve add_to_array()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port groups to new list type
Christian Brauner [Fri, 27 Aug 2021 13:12:00 +0000 (15:12 +0200)] 
conf: port groups to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port hooks to new list type
Christian Brauner [Fri, 27 Aug 2021 12:57:51 +0000 (14:57 +0200)] 
conf: port hooks to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port apparmor to new list type
Christian Brauner [Fri, 27 Aug 2021 12:51:01 +0000 (14:51 +0200)] 
conf: port apparmor to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port mounts to new list type
Christian Brauner [Fri, 27 Aug 2021 11:08:09 +0000 (13:08 +0200)] 
conf: port mounts to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocgroups: fix bpf device list
Christian Brauner [Fri, 27 Aug 2021 09:15:19 +0000 (11:15 +0200)] 
cgroups: fix bpf device list

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agonetwork: port ipv6 routes to new list type
Christian Brauner [Fri, 27 Aug 2021 08:36:48 +0000 (10:36 +0200)] 
network: port ipv6 routes to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agonetwork: port ipv4 routes to new list type
Christian Brauner [Fri, 27 Aug 2021 08:30:55 +0000 (10:30 +0200)] 
network: port ipv4 routes to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocgroups: fix cgroup settings sorting
Christian Brauner [Fri, 27 Aug 2021 08:17:01 +0000 (10:17 +0200)] 
cgroups: fix cgroup settings sorting

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agolxccontainer: align initialization
Christian Brauner [Thu, 26 Aug 2021 19:46:58 +0000 (21:46 +0200)] 
lxccontainer: align initialization

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agotree-wide: s/ipv{4,6}_list/ipv{4,6}_addresses/g
Christian Brauner [Thu, 26 Aug 2021 19:39:38 +0000 (21:39 +0200)] 
tree-wide: s/ipv{4,6}_list/ipv{4,6}_addresses/g

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agonetwork: port ipv6 addresses to new list type
Christian Brauner [Thu, 26 Aug 2021 19:35:08 +0000 (21:35 +0200)] 
network: port ipv6 addresses to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agonetwork: port ipv4 to new list type
Christian Brauner [Thu, 26 Aug 2021 16:15:23 +0000 (18:15 +0200)] 
network: port ipv4 to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: simplify and port caps to new list type
Christian Brauner [Thu, 26 Aug 2021 13:25:28 +0000 (15:25 +0200)] 
conf: simplify and port caps to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocgroup: remove unneeded forward declaration
Christian Brauner [Thu, 26 Aug 2021 12:19:53 +0000 (14:19 +0200)] 
cgroup: remove unneeded forward declaration

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoterminal: remove unused struct member
Christian Brauner [Thu, 26 Aug 2021 12:19:14 +0000 (14:19 +0200)] 
terminal: remove unused struct member

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port environment to new list type
Christian Brauner [Thu, 26 Aug 2021 12:11:48 +0000 (14:11 +0200)] 
conf: port environment to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: remove unused variables
Christian Brauner [Thu, 26 Aug 2021 11:38:07 +0000 (13:38 +0200)] 
conf: remove unused variables

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: switch to parse_mount_attrs() even for legacy mount()
Christian Brauner [Thu, 26 Aug 2021 09:11:08 +0000 (11:11 +0200)] 
conf: switch to parse_mount_attrs() even for legacy mount()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: support recursive propagation options properly
Christian Brauner [Thu, 26 Aug 2021 09:06:52 +0000 (11:06 +0200)] 
conf: support recursive propagation options properly

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: rework recursive mount option handling
Christian Brauner [Thu, 26 Aug 2021 08:47:47 +0000 (10:47 +0200)] 
conf: rework recursive mount option handling

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agorootfs: remove "options" member
Christian Brauner [Thu, 26 Aug 2021 08:25:48 +0000 (10:25 +0200)] 
rootfs: remove "options" member

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: remove unused mountflags nember
Christian Brauner [Thu, 26 Aug 2021 08:17:21 +0000 (10:17 +0200)] 
conf: remove unused mountflags nember

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port id_map to new list type
Christian Brauner [Wed, 25 Aug 2021 20:38:18 +0000 (22:38 +0200)] 
conf: port id_map to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port cgroup settings to new list type
Christian Brauner [Wed, 25 Aug 2021 17:20:57 +0000 (19:20 +0200)] 
conf: port cgroup settings to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port procs to new list type
Christian Brauner [Wed, 25 Aug 2021 16:55:10 +0000 (18:55 +0200)] 
conf: port procs to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port sysctls to new list type
Christian Brauner [Wed, 25 Aug 2021 16:47:51 +0000 (18:47 +0200)] 
conf: port sysctls to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port rlimits to new list type
Christian Brauner [Wed, 25 Aug 2021 16:38:06 +0000 (18:38 +0200)] 
conf: port rlimits to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agoconf: port state_clients to new list type
Christian Brauner [Wed, 25 Aug 2021 12:38:00 +0000 (14:38 +0200)] 
conf: port state_clients to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agomainloop: port handlers to new list type
Christian Brauner [Wed, 25 Aug 2021 12:47:06 +0000 (14:47 +0200)] 
mainloop: port handlers to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
3 years agocgroups: port bpf devices to new list type
Christian Brauner [Wed, 25 Aug 2021 12:27:09 +0000 (14:27 +0200)] 
cgroups: port bpf devices to new list type

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>