[lxc/lxc] b8c423: Fix typo on documentation for `lxc-autostart`.

0 views
Skip to first unread message

Christian Brauner

unread,
Oct 14, 2021, 11:37:27 AMOct 14
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/stable-4.0
Home: https://github.com/lxc/lxc
Commit: b8c4234ef143824b6d64eee00ed8478a91b365d5
https://github.com/lxc/lxc/commit/b8c4234ef143824b6d64eee00ed8478a91b365d5
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M doc/ja/lxc-autostart.sgml.in
M doc/ko/lxc-autostart.sgml.in
M doc/lxc-autostart.sgml.in

Log Message:
-----------
Fix typo on documentation for `lxc-autostart`.

According to `[1,2]`, this command has `--groups` instead of `--group`.

- [1] https://github.com/lxc/lxc/blob/stable-4.0/src/lxc/tools/lxc_autostart.c#L64
- [2] https://github.com/lxc/lxc/blob/stable-4.0/src/lxc/tools/lxc_autostart.c#L84

Signed-off-by: Edenis Freindorfer Azevedo <eden...@gmail.com>


Commit: ce97c9de057a0f4c26ec6079510908514db447dc
https://github.com/lxc/lxc/commit/ce97c9de057a0f4c26ec6079510908514db447dc
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M doc/ja/lxc-attach.sgml.in
M doc/ja/lxc-execute.sgml.in
M doc/ko/lxc-attach.sgml.in
M doc/ko/lxc-execute.sgml.in
M doc/lxc-attach.sgml.in
M doc/lxc-execute.sgml.in

Log Message:
-----------
Fix typo on documentation for `lxc-{attach,execute}`.

According to `[1]`, `lxc-attach` uses `-u,-g` instead of `--u,--g`.
According to `[2]`, `lxc-execute` uses `-u,-g` instead of `--u,--g`.

- [1] https://github.com/lxc/lxc/blob/stable-4.0/src/lxc/tools/lxc_attach.c#L131-L132
- [2] https://github.com/lxc/lxc/blob/stable-4.0/src/lxc/tools/lxc_execute.c#L59-L60

Signed-off-by: Edenis Freindorfer Azevedo <eden...@gmail.com>


Commit: 2d317f2596c8c0a39f57f68a55aab7ad9903d463
https://github.com/lxc/lxc/commit/2d317f2596c8c0a39f57f68a55aab7ad9903d463
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/Makefile.am

Log Message:
-----------
Create rules to add/remove symlinks for bash completion.

By default, there is no out-of-the-box bash completion for lxc tools.
This is due to dynamic loading of completions, that requires the
completion filename to be the same as the command (e.g. `lxc-start`
expects a completion filename `lxc-start`). But all commands are in file
`lxc`, which is not read.

Signed-off-by: Edenis Freindorfer Azevedo <eden...@gmail.com>


Commit: 983c0dd85a50c36072dc4fd426a177da00c98561
https://github.com/lxc/lxc/commit/983c0dd85a50c36072dc4fd426a177da00c98561
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Improve bash completion.

Use as much as possible from each command `--help` for completion.

Some options require a long list of completions that should be dumped by
some command option. These are not added here yet.

Examples of those are: `lxc-info --config`, `lxc-execute --define` and
`lxc-start --define`.

Signed-off-by: Edenis Freindorfer Azevedo <eden...@gmail.com>


Commit: 27217f7c5403b44342d54ae0dee6c446c367b231
https://github.com/lxc/lxc/commit/27217f7c5403b44342d54ae0dee6c446c367b231
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: log at warning instead of error level

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


Commit: cff59253a0f6f9aec86489370a914b9675a5bd80
https://github.com/lxc/lxc/commit/cff59253a0f6f9aec86489370a914b9675a5bd80
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: log session keyring failure on WARN level

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


Commit: 5210178135ec4abb650f59a9de5c9fcad0ce75ed
https://github.com/lxc/lxc/commit/5210178135ec4abb650f59a9de5c9fcad0ce75ed
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/cgroups/cgfsng.c
M src/lxc/cmd/lxc_monitord.c
M src/lxc/commands.c
M src/lxc/commands.h
M src/lxc/lxcseccomp.h
M src/lxc/mainloop.c
M src/lxc/mainloop.h
M src/lxc/seccomp.c
M src/lxc/start.c
M src/lxc/terminal.c
M src/lxc/terminal.h
M src/lxc/tools/lxc_top.c

Log Message:
-----------
tree-wide: s/lxc_epoll_descr/lxc_async_descr/g

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


Commit: aa96b8e35ba9a92f56dcb56c25a153a27cef31ff
https://github.com/lxc/lxc/commit/aa96b8e35ba9a92f56dcb56c25a153a27cef31ff
Author: Thomas Parrott <thomas....@canonical.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M doc/lxc.container.conf.sgml.in

Log Message:
-----------
doc: Adds mention of ability to specify manual IPv4 broadcast address

See also https://github.com/lxc/lxd/pull/9103

Signed-off-by: Thomas Parrott <thomas....@canonical.com>


Commit: b1f9aee5c466b5a6d88582375ea15971d846d18b
https://github.com/lxc/lxc/commit/b1f9aee5c466b5a6d88582375ea15971d846d18b
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M configure.ac
M src/lxc/Makefile.am
M src/lxc/cgroups/cgfsng.c
M src/lxc/cmd/lxc_monitord.c
M src/lxc/commands.c
M src/lxc/lxcseccomp.h
M src/lxc/macro.h
M src/lxc/mainloop.c
M src/lxc/mainloop.h
M src/lxc/seccomp.c
M src/lxc/start.c
M src/lxc/syscall_wrappers.h
M src/lxc/terminal.c
M src/lxc/terminal.h
M src/lxc/tools/lxc_top.c
M src/tests/Makefile.am

Log Message:
-----------
mainloop: add io_uring support

Users can choose to compile liblxc with io_uring support. This will
cause LXC to use io_uring instead of epoll.
We're using both, io_uring's one-shot and multi-shot poll mode depending
on the type of handler.

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


Commit: 2aad32dca2f3821e0f6e7fcfa063cf0ffd36a935
https://github.com/lxc/lxc/commit/2aad32dca2f3821e0f6e7fcfa063cf0ffd36a935
Author: Simon Deziel <simon....@canonical.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M templates/lxc-download.in

Log Message:
-----------
lxc-download: add LXC version/compat level to user-agent

Signed-off-by: Simon Deziel <simon....@canonical.com>


Commit: eb218b39430daa6c02fd7586f1db4c147e21c1d3
https://github.com/lxc/lxc/commit/eb218b39430daa6c02fd7586f1db4c147e21c1d3
Author: Tycho Andersen <ty...@tycho.pizza>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c

Log Message:
-----------
mainloop: s,sys/poll,poll

I get the following warning (which then fails the build because of
-Werror):

In file included from mainloop.c:11:
/usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror=cpp]
1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
| ^~~~~~~

Signed-off-by: Tycho Andersen <ty...@tycho.pizza>


Commit: 771161376eb0a3c28f37f97447abd1806d13b8bc
https://github.com/lxc/lxc/commit/771161376eb0a3c28f37f97447abd1806d13b8bc
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c

Log Message:
-----------
mainloop: minor fixes

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


Commit: 4fc38d526eeaebf84fe8f53b577d0118940974c3
https://github.com/lxc/lxc/commit/4fc38d526eeaebf84fe8f53b577d0118940974c3
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c

Log Message:
-----------
mainloop: remove CANCEL_RAISE flag

This is really not needed since we're not checking it anywhere anyway.

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


Commit: 502998699a30c57885719f3063bea11ea6636d48
https://github.com/lxc/lxc/commit/502998699a30c57885719f3063bea11ea6636d48
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c

Log Message:
-----------
mainloop: fix io_uring cleanup handling

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


Commit: 14f8022a5918ad7bde723fa2eb5b612e0e38fbfa
https://github.com/lxc/lxc/commit/14f8022a5918ad7bde723fa2eb5b612e0e38fbfa
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/memory_utils.h

Log Message:
-----------
memory_utils: make cleanup handler as unused

They are sometimes used to just clean something up automatically at end
of scope but the variables themselves might not be actually used.

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


Commit: 1306659ecbd1c749902f2362c65aa40c7e75b259
https://github.com/lxc/lxc/commit/1306659ecbd1c749902f2362c65aa40c7e75b259
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c

Log Message:
-----------
mainloop: move variables into tighter scope

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


Commit: 620f6c9caab0367a9b432040ac572b2ff0c4559c
https://github.com/lxc/lxc/commit/620f6c9caab0367a9b432040ac572b2ff0c4559c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c
M src/lxc/mainloop.h

Log Message:
-----------
mainloop: s/handler_name/name/g

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


Commit: 3f3e75c4e21450aabbe1a38ee6118fedf3aa2b1e
https://github.com/lxc/lxc/commit/3f3e75c4e21450aabbe1a38ee6118fedf3aa2b1e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c

Log Message:
-----------
mainloop: add comments about multishot and oneshot cleanup

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


Commit: eda2b7467e7b8411a7e53afd22bfe6d802ea7a22
https://github.com/lxc/lxc/commit/eda2b7467e7b8411a7e53afd22bfe6d802ea7a22
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c

Log Message:
-----------
mainloop: disable IORING_SETUP_SQPOLL for now

It's a bit more complicated to use then I envisioned here.

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


Commit: 38db8993803d0635a91687836a5c043bb8c876ed
https://github.com/lxc/lxc/commit/38db8993803d0635a91687836a5c043bb8c876ed
Author: Jim Ferrigno <jfer...@Jamess-MacBook-Pro.local>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: fix cpu bitmasks

Link: https://discuss.linuxcontainers.org/t/lxc-4-0-9-lxc-start-sigabrt-on-systems-with-defined-offline-cpus-and-a-total-number-of-cpus-divisible-by-32
Signed-off-by: Jim Ferrigno <jim.fe...@oracle.com>
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 4bd5942f750fc1edaadff2eecbaefe2fb99d1627
https://github.com/lxc/lxc/commit/4bd5942f750fc1edaadff2eecbaefe2fb99d1627
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: s/calloc/zalloc/g

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


Commit: 0a5347ddbe6ebac865cb59afd3911b5b5b4d0b65
https://github.com/lxc/lxc/commit/0a5347ddbe6ebac865cb59afd3911b5b5b4d0b65
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
Revert "cgroups: fix cpu bitmasks"

This reverts commit e0f7296a6d537f0d2eb5fbc6d7f9e007d11d516a.

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


Commit: b6907488b39b97d797ebe93409a48194e62dc58a
https://github.com/lxc/lxc/commit/b6907488b39b97d797ebe93409a48194e62dc58a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: fix comments in cpuset1_initialize()

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


Commit: 7b8746b9766af94e0070c09d06d262a862e972de
https://github.com/lxc/lxc/commit/7b8746b9766af94e0070c09d06d262a862e972de
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: fix cpumask handling

Link: https://discuss.linuxcontainers.org/t/lxc-4-0-9-lxc-start-sigabrt-on-systems-with-defined-offline-cpus-and-a-total-number-of-cpus-divisible-by-32
Signed-off-by: Jim Ferrigno <jim.fe...@oracle.com>
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 23ef48f0d81a38e45d6d5a4a04aeb02c1d5efc7e
https://github.com/lxc/lxc/commit/23ef48f0d81a38e45d6d5a4a04aeb02c1d5efc7e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: use semantically clean check in cpuset1_cpus_initialize()

The variable is a pointer not a integer.

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


Commit: 65cb2231ad36f8d1a947c21439ef31d6801eaff0
https://github.com/lxc/lxc/commit/65cb2231ad36f8d1a947c21439ef31d6801eaff0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: simplify offline and isolated cpu handling

Don't create separate cpumask arrays for them. Just clear the ones that
are set in the original cpumask array.

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


Commit: 7381a5de50d807b09f3e61a2e3913d89428e237a
https://github.com/lxc/lxc/commit/7381a5de50d807b09f3e61a2e3913d89428e237a
Author: Po-Hsu Lin <po-hs...@canonical.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/lxc-test-automount
M src/tests/lxc-test-createconfig
M src/tests/lxc-test-snapdeps

Log Message:
-----------
tests: set lxc-test-automount/createconfig/snapdeps as executable

The debian/tests/exercise script will skip those non-executable tests
in src/test, thus these three tests were never get tested.

Signed-off-by: Po-Hsu Lin <po-hs...@canonical.com>


Commit: 0f9f5ec0f761247f9cc41e000adcd186a4960ade
https://github.com/lxc/lxc/commit/0f9f5ec0f761247f9cc41e000adcd186a4960ade
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/file_utils.c
M src/lxc/file_utils.h

Log Message:
-----------
file_utils: add same_device() helper

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


Commit: 3d95eb893f1ee695ec21aeb2f9f13637f6e7cbb3
https://github.com/lxc/lxc/commit/3d95eb893f1ee695ec21aeb2f9f13637f6e7cbb3
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/syscall_wrappers.h
M src/lxc/terminal.c

Log Message:
-----------
terminal: use /dev/ptmx when allocating pty devices from devpts instances we didn't mount ourselves

When we aren't told what devpts instance to allocate from we assume it
is the one in the caller's mount namespace.
This poses a slight complication, a lot of distros will change
permissions on /dev/ptmx so it can be opened by unprivileged users but
will not change permissions on /dev/pts/ptmx itself. In addition,
/dev/ptmx can either be a symlink, a bind-mount, or a separate device
node. So we need to allow for fairly lax lookup.

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


Commit: 79dc690fa7b36cdc35af508ad0354cde10b62321
https://github.com/lxc/lxc/commit/79dc690fa7b36cdc35af508ad0354cde10b62321
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M templates/lxc-busybox.in

Log Message:
-----------
busybox: mount sys:ro

There's no udev so sys doesn't need to be read-write.

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


Commit: c47e4b6ac0d4ae48ba2e506c128e441a66fd0f7c
https://github.com/lxc/lxc/commit/c47e4b6ac0d4ae48ba2e506c128e441a66fd0f7c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M templates/lxc-busybox.in

Log Message:
-----------
busybox: simplify

Start relying on autodev for busybox template and wipe all the device
creation.

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


Commit: 729a423b4592332660f3d4ed3967fbd46b7f0ad8
https://github.com/lxc/lxc/commit/729a423b4592332660f3d4ed3967fbd46b7f0ad8
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: allow for tty allocation even when container did not request separate devpts instance

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


Commit: 26580f0e162bdd8c448afad6b4fa22039ac4de7c
https://github.com/lxc/lxc/commit/26580f0e162bdd8c448afad6b4fa22039ac4de7c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/sys_mixed.c

Log Message:
-----------
tests: fix order in sys_mixed

We need to set the config item after we loaded the config obviously.

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


Commit: 6292dde621998e45f915f7e0d6878b4ca8648ff2
https://github.com/lxc/lxc/commit/6292dde621998e45f915f7e0d6878b4ca8648ff2
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/lxc-test-apparmor-generated

Log Message:
-----------
test: use busybox in lxc-test-apparmor-generated

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


Commit: 5e1337c6558d5573f209a3198ffde197d7b3573d
https://github.com/lxc/lxc/commit/5e1337c6558d5573f209a3198ffde197d7b3573d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/lxc-test-apparmor-mount

Log Message:
-----------
test: use busybox in lxc-test-apparmor-mount

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


Commit: e13b0012e832390b174a2749188224068147beb5
https://github.com/lxc/lxc/commit/e13b0012e832390b174a2749188224068147beb5
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/lxc-test-autostart

Log Message:
-----------
test: use busybox in lxc-test-autostart

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


Commit: 82b850ddaa21e0f4d713e764bd57d3d9235fd319
https://github.com/lxc/lxc/commit/82b850ddaa21e0f4d713e764bd57d3d9235fd319
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/lxc-test-no-new-privs

Log Message:
-----------
tests: use busybox in lxc-test-no-new-privs

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


Commit: efc14832b0ae6df8e9d1c55453f985cb966bffad
https://github.com/lxc/lxc/commit/efc14832b0ae6df8e9d1c55453f985cb966bffad
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/lxc-test-unpriv

Log Message:
-----------
tests: use busybox in lxc-test-unpriv

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


Commit: edd448515fd7d8bfb85634749a9471301ec2c74a
https://github.com/lxc/lxc/commit/edd448515fd7d8bfb85634749a9471301ec2c74a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/lxc-test-usernic.in

Log Message:
-----------
tests: use busybox in lxc-test-usernic.in

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


Commit: 58b6132d887ab0c8f60b89ed121efa0d77e5266b
https://github.com/lxc/lxc/commit/58b6132d887ab0c8f60b89ed121efa0d77e5266b
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/seccomp.c

Log Message:
-----------
seccomp: fix complication when !HAVE_DECL_SECCOMP_NOTIFY_FD

[2021-08-18 05:48:26] [build-stdout] mv -f $depbase.Tpo $depbase.Po
[2021-08-18 05:48:26] [build-stderr] seccomp.c: In function ‘seccomp_notify_cleanup_handler’:
[2021-08-18 05:48:26] [build-stderr] seccomp.c:1367:25: error: ‘struct lxc_seccomp’ has no member named ‘notifier’
[2021-08-18 05:48:26] [build-stderr] 1367 | if (fd == conf->seccomp.notifier.notify_fd)
[2021-08-18 05:48:26] [build-stderr] | ^
[2021-08-18 05:48:26] [build-stderr] In file included from af_unix.h:12,
[2021-08-18 05:48:26] [build-stderr] from seccomp.c:14:
[2021-08-18 05:48:26] [build-stderr] seccomp.c:1368:29: error: ‘struct lxc_seccomp’ has no member named ‘notifier’
[2021-08-18 05:48:26] [build-stderr] 1368 | fd = move_fd(conf->seccomp.notifier.notify_fd);
[2021-08-18 05:48:26] [build-stderr] | ^
[2021-08-18 05:48:26] [build-stderr] macro.h:655:26: note: in definition of macro ‘move_fd’
[2021-08-18 05:48:26] [build-stderr] 655 | int __internal_fd__ = (fd); \
[2021-08-18 05:48:26] [build-stderr] | ^~
[2021-08-18 05:48:26] [build-stderr] seccomp.c:1368:29: error: ‘struct lxc_seccomp’ has no member named ‘notifier’
[2021-08-18 05:48:26] [build-stderr] 1368 | fd = move_fd(conf->seccomp.notifier.notify_fd);
[2021-08-18 05:48:26] [build-stderr] | ^
[2021-08-18 05:48:26] [build-stderr] macro.h:656:4: note: in definition of macro ‘move_fd’
[2021-08-18 05:48:26] [build-stderr] 656 | (fd) = -EBADF; \
[2021-08-18 05:48:26] [build-stderr] | ^~
[2021-08-18 05:48:26] [build-stderr] make[3]: *** [Makefile:4496: seccomp.o] Error 1
[2021-08-18 05:48:26] [build-stdout] make[3]: Leaving directory '/opt/src/src/lxc'
[2021-08-18 05:48:26] [build-stdout] make[2]: Leaving directory '/opt/src/src'
[2021-08-18 05:48:26] [build-stdout] make[1]: Leaving directory '/opt/src/src'
[2021-08-18 05:48:26] [build-stderr] make[2]: *** [Makefile:440: all-recursive] Error 1
[2021-08-18 05:48:26] [build-stderr] make[1]: *** [Makefile:379: all] Error 2
[2021-08-18 05:48:26] [build-stderr] make: *** [Makefile:537: all-recursive] Error 1
[2021-08-18 05:48:26] [build-stderr] + '[' -f build.ninja ']'
[2021-08-18 05:48:26] [build-stdout] Semmle autobuild: no supported build system detected.
[2021-08-18 05:48:26] [build-stderr] + '[' -d ../_lgtm_build_dir ']'
[2021-08-18 05:48:26] [build-stderr] + for f in build build.sh
[2021-08-18 05:48:26] [build-stderr] + '[' -x build ']'
[2021-08-18 05:48:26] [build-stderr] + for f in build build.sh
[2021-08-18 05:48:26] [build-stderr] + '[' -x build.sh ']'
[2021-08-18 05:48:26] [build-stderr] + '[' -f setup.py ']'
[2021-08-18 05:48:26] [build-stderr] + echo 'Semmle autobuild: no supported build system detected.'
[2021-08-18 05:48:26] [build-stderr] + exit 1
[2021-08-18 05:48:26] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/opt/dist/tools/linux64/preload_tracer, /opt/dist/cpp/tools/do-build])
[2021-08-18 05:48:26] [build-stderr] A fatal error occurred: Exit status 1 from command: [/opt/dist/cpp/tools/do-build]
[2021-08-18 05:48:26] [build-stderr] deptrace-server: received exit command
[2021-08-18 05:48:27] [ERROR] Spawned process exited abnormally (code 2; tried to run: [/opt/work/lgtm-workspace/lgtm/extract.sh])
A fatal error occurred: Exit status 2 from command: [/opt/work/lgtm-workspace/lgtm/extract.sh]

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


Commit: 61dd752523bda0c2b426330beaad4e78db458d61
https://github.com/lxc/lxc/commit/61dd752523bda0c2b426330beaad4e78db458d61
Author: Maximilian Blenk <Maximili...@bmw.de>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile.c

Log Message:
-----------
config: enable seccomp profile only when compiled with libseccomp

Make lxc fail if seccomp.profile is specified but lxc is compiled
without seccomp support. Currently, seccomp.profile is silently ignored
if is specified in such a scenario. This could lead to the false
impression that the seccomp filter is applied while it actually isn't.

Signed-off-by: Maximilian Blenk <Maximili...@bmw.de>


Commit: 251bd80cf3aa75ad55f02af1cb47fa3312d898ec
https://github.com/lxc/lxc/commit/251bd80cf3aa75ad55f02af1cb47fa3312d898ec
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/af_unix.c
M src/lxc/confile.c

Log Message:
-----------
confile: return negative errno everywhere

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


Commit: bfcbb082230a1054424e5f9fca0ae391e52fc2a0
https://github.com/lxc/lxc/commit/bfcbb082230a1054424e5f9fca0ae391e52fc2a0
Author: Maximilian Blenk <Maximili...@bmw.de>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c

Log Message:
-----------
attach: allow LSM attach without new mnt namespace

Currently, the -c command (to set the selinux context) seems to be
broken because lxc-attach expects that also a new mount namespace
is specified via command line. This commit remove the check for the new
mount namespace to fix this issue. Please note that the
--elevated-privileges option is not affected by this issue.

Signed-off-by: Maximilian Blenk <Maximili...@bmw.de>
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 2cea4258318fb88a48f2fe844a24718aa187bbd0
https://github.com/lxc/lxc/commit/2cea4258318fb88a48f2fe844a24718aa187bbd0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/lxc_attach.c

Log Message:
-----------
tools: fix variable declarations in lxc-attach

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


Commit: c87c0d4bcfe34fc8632e29d07a70e3d50bef9e12
https://github.com/lxc/lxc/commit/c87c0d4bcfe34fc8632e29d07a70e3d50bef9e12
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/lxc_attach.c

Log Message:
-----------
tools: align struct initialization

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


Commit: 4e4f2816ffa9a15f52154b8bb3d9545dc1b9fe7a
https://github.com/lxc/lxc/commit/4e4f2816ffa9a15f52154b8bb3d9545dc1b9fe7a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach_options.h

Log Message:
-----------
attach_options: add LXC_ATTACH_LSM_LABEL to LXC_ATTACH_LSM flags

Cc: Maximilian Blenk <Maximili...@bmw.de>
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 4cbbd1ce28818c0f2717eb5c4e6a18b49aade980
https://github.com/lxc/lxc/commit/4cbbd1ce28818c0f2717eb5c4e6a18b49aade980
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile.c
M src/lxc/confile.h
M src/lxc/tools/lxc_attach.c

Log Message:
-----------
confile: rework lxc_fill_elevated_privileges()

Cc: Maximilian Blenk <Maximili...@bmw.de>
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: fe4704417ae2a5eb10a93dee4d0cb7d277bfe8af
https://github.com/lxc/lxc/commit/fe4704417ae2a5eb10a93dee4d0cb7d277bfe8af
Author: Maximilian Blenk <Maximili...@bmw.de>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/lxc_attach.c

Log Message:
-----------
tools: fix elevated privilege handler in lxc-attach

Make sure to return an error when the user requests an LSM profile to be
set while also requesting that elevated LSM privileges are to be used.

Signed-off-by: Maximilian Blenk <Maximili...@bmw.de>
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: a6926a0f6d11e1ddb923e969bd78156065303914
https://github.com/lxc/lxc/commit/a6926a0f6d11e1ddb923e969bd78156065303914
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/Makefile.am
M src/lxc/cgroups/cgfsng.c
M src/lxc/compiler.h
A src/lxc/hlist.h
M src/lxc/macro.h

Log Message:
-----------
list: add new kernel-based list implementation

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


Commit: 222ae84c88320c08580c9c74ea87ffbdec07e585
https://github.com/lxc/lxc/commit/222ae84c88320c08580c9c74ea87ffbdec07e585
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/confile_utils.c
M src/lxc/confile_utils.h
M src/lxc/criu.c
M src/lxc/hlist.h
M src/lxc/network.c
M src/lxc/network.h

Log Message:
-----------
tree-wide: port network handling to new list type

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


Commit: c2c0105ca89f04653d3964cd07f48d918fd4df83
https://github.com/lxc/lxc/commit/c2c0105ca89f04653d3964cd07f48d918fd4df83
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup2_devices.c
M src/lxc/conf.c
M src/lxc/conf.h

Log Message:
-----------
cgroups: port bpf devices to new list type

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


Commit: b988c5c989569381854b961256cc4d2f804ec3fe
https://github.com/lxc/lxc/commit/b988c5c989569381854b961256cc4d2f804ec3fe
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/mainloop.c
M src/lxc/mainloop.h

Log Message:
-----------
mainloop: port handlers to new list type

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


Commit: 1fc03f382d0eabef79fee487610377c66d5abe73
https://github.com/lxc/lxc/commit/1fc03f382d0eabef79fee487610377c66d5abe73
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/commands.c
M src/lxc/commands_utils.c
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/start.c

Log Message:
-----------
conf: port state_clients to new list type

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


Commit: 168be7b8fbdb405a651995235c2151d32b9bc1fc
https://github.com/lxc/lxc/commit/168be7b8fbdb405a651995235c2151d32b9bc1fc
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/start.c

Log Message:
-----------
conf: port rlimits to new list type

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


Commit: 44ace6d0ce8b07bf6bc04f7f7c424538f47be813
https://github.com/lxc/lxc/commit/44ace6d0ce8b07bf6bc04f7f7c424538f47be813
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c

Log Message:
-----------
conf: port sysctls to new list type

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


Commit: 95fb101e723004c437bcca9cbfa6dda6eaf652c7
https://github.com/lxc/lxc/commit/95fb101e723004c437bcca9cbfa6dda6eaf652c7
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/start.c

Log Message:
-----------
conf: port procs to new list type

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


Commit: 82c5fb533148b41a547744c3432b80620aa21fee
https://github.com/lxc/lxc/commit/82c5fb533148b41a547744c3432b80620aa21fee
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c

Log Message:
-----------
conf: port cgroup settings to new list type

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


Commit: edffcd81b31a5d9e79b4a8bb53376da9198045d4
https://github.com/lxc/lxc/commit/edffcd81b31a5d9e79b4a8bb53376da9198045d4
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c
M src/lxc/cmd/lxc_usernsexec.c
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/lsm/apparmor.c
M src/lxc/lxccontainer.c
M src/lxc/start.c
M src/lxc/storage/overlay.c
M src/lxc/terminal.c

Log Message:
-----------
conf: port id_map to new list type

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


Commit: fa27894965612d681891a16a3225a6687772c81d
https://github.com/lxc/lxc/commit/fa27894965612d681891a16a3225a6687772c81d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.h

Log Message:
-----------
conf: remove unused mountflags nember

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


Commit: 9014ae58fa482a70539ba9930c54a246673db1df
https://github.com/lxc/lxc/commit/9014ae58fa482a70539ba9930c54a246673db1df
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/storage/storage.c

Log Message:
-----------
rootfs: remove "options" member

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


Commit: a79107249bc667f1a6a42b664f96452a545bb195
https://github.com/lxc/lxc/commit/a79107249bc667f1a6a42b664f96452a545bb195
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h

Log Message:
-----------
conf: rework recursive mount option handling

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


Commit: 7c855bf843647bbe046ce03b88b395d5a5ced921
https://github.com/lxc/lxc/commit/7c855bf843647bbe046ce03b88b395d5a5ced921
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: support recursive propagation options properly

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


Commit: bbf41da5649ed0e72ab07f9341ec57ea3cc99d85
https://github.com/lxc/lxc/commit/bbf41da5649ed0e72ab07f9341ec57ea3cc99d85
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: switch to parse_mount_attrs() even for legacy mount()

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


Commit: 2e76a39e3996edb569f9640bf51bb497e2455cc9
https://github.com/lxc/lxc/commit/2e76a39e3996edb569f9640bf51bb497e2455cc9
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c

Log Message:
-----------
conf: remove unused variables

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


Commit: d2a4cb330719d2c70db16131f2daa551b41bf606
https://github.com/lxc/lxc/commit/d2a4cb330719d2c70db16131f2daa551b41bf606
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/start.c

Log Message:
-----------
conf: port environment to new list type

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


Commit: 4d7f6d45b32570da955667ae75d8b04b5580544e
https://github.com/lxc/lxc/commit/4d7f6d45b32570da955667ae75d8b04b5580544e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/terminal.h

Log Message:
-----------
terminal: remove unused struct member

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


Commit: 0b2f87febaff6daab7c056e7117c9cc2d5f323c6
https://github.com/lxc/lxc/commit/0b2f87febaff6daab7c056e7117c9cc2d5f323c6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgroup.h

Log Message:
-----------
cgroup: remove unneeded forward declaration

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


Commit: ff6da820fd0eb551bb8578d8945538304fec6892
https://github.com/lxc/lxc/commit/ff6da820fd0eb551bb8578d8945538304fec6892
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c

Log Message:
-----------
conf: simplify and port caps to new list type

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


Commit: f005570576d22f2015f6c48063a85de58e6ba20f
https://github.com/lxc/lxc/commit/f005570576d22f2015f6c48063a85de58e6ba20f
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile.c
M src/lxc/confile_utils.c
M src/lxc/network.c
M src/lxc/network.h

Log Message:
-----------
network: port ipv4 to new list type

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


Commit: 9e9d3bdb096f4efbbd8e72cd614fa01ac341551e
https://github.com/lxc/lxc/commit/9e9d3bdb096f4efbbd8e72cd614fa01ac341551e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile.c
M src/lxc/confile_utils.c
M src/lxc/network.c
M src/lxc/network.h

Log Message:
-----------
network: port ipv6 addresses to new list type

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


Commit: 18a65c946f37584bfa7a3c46ec2d07d4487ae5ef
https://github.com/lxc/lxc/commit/18a65c946f37584bfa7a3c46ec2d07d4487ae5ef
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile.c
M src/lxc/confile_utils.c
M src/lxc/network.c
M src/lxc/network.h

Log Message:
-----------
tree-wide: s/ipv{4,6}_list/ipv{4,6}_addresses/g

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


Commit: 383f9ac0685be0831352a770d9d8549661aeffce
https://github.com/lxc/lxc/commit/383f9ac0685be0831352a770d9d8549661aeffce
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: align initialization

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


Commit: 83f2603419d84bd4a66c4306756c5d1bba83f336
https://github.com/lxc/lxc/commit/83f2603419d84bd4a66c4306756c5d1bba83f336
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c
M src/lxc/conf.c
M src/lxc/conf.h

Log Message:
-----------
cgroups: fix cgroup settings sorting

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


Commit: 5bd1e99c6d4a0a83fbe0e5e26d4603c564c9f8ec
https://github.com/lxc/lxc/commit/5bd1e99c6d4a0a83fbe0e5e26d4603c564c9f8ec
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile.c
M src/lxc/confile_utils.c
M src/lxc/network.c
M src/lxc/network.h

Log Message:
-----------
network: port ipv4 routes to new list type

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


Commit: 7034f8b53fd7b82bd4b62947fa4f99b2013cd99f
https://github.com/lxc/lxc/commit/7034f8b53fd7b82bd4b62947fa4f99b2013cd99f
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile.c
M src/lxc/confile_utils.c
M src/lxc/network.c
M src/lxc/network.h

Log Message:
-----------
network: port ipv6 routes to new list type

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


Commit: 05f914122a7d4179b46d71672358405ee9d171c6
https://github.com/lxc/lxc/commit/05f914122a7d4179b46d71672358405ee9d171c6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgroup2_devices.c

Log Message:
-----------
cgroups: fix bpf device list

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


Commit: e1bef9f3c801c2286e16dad94c7b085f610c3a57
https://github.com/lxc/lxc/commit/e1bef9f3c801c2286e16dad94c7b085f610c3a57
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/criu.c
M src/lxc/storage/overlay.c
M src/lxc/storage/overlay.h

Log Message:
-----------
conf: port mounts to new list type

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


Commit: 1c1468103496cd0cd81111b3a119031fd5edbcd0
https://github.com/lxc/lxc/commit/1c1468103496cd0cd81111b3a119031fd5edbcd0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/lsm/apparmor.c

Log Message:
-----------
conf: port apparmor to new list type

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


Commit: 519fd9ef83a50bdf0739c12a1ace0ea3ac309707
https://github.com/lxc/lxc/commit/519fd9ef83a50bdf0739c12a1ace0ea3ac309707
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/lxccontainer.c

Log Message:
-----------
conf: port hooks to new list type

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


Commit: 1b861f1c310fe38a6c352257c9b2a80766dd7714
https://github.com/lxc/lxc/commit/1b861f1c310fe38a6c352257c9b2a80766dd7714
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c

Log Message:
-----------
conf: port groups to new list type

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


Commit: 05fa65b9b7baed867c02c39810ff5a659126c208
https://github.com/lxc/lxc/commit/05fa65b9b7baed867c02c39810ff5a659126c208
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: improve add_to_array()

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


Commit: f6eb82534cfeb4cfd2ac1c3d85fab0b8cbf7a5e3
https://github.com/lxc/lxc/commit/f6eb82534cfeb4cfd2ac1c3d85fab0b8cbf7a5e3
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: improve add_to_clist()

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


Commit: 51551eae02388881c88abc5065363f80dda78c01
https://github.com/lxc/lxc/commit/51551eae02388881c88abc5065363f80dda78c01
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: tweak some array handling helpers

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


Commit: 5f5fead6d49fe976a7fbf8d4027a29f2519bc24c
https://github.com/lxc/lxc/commit/5f5fead6d49fe976a7fbf8d4027a29f2519bc24c
Author: Maximilian Blenk <Maximili...@bmw.de>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/lxc_attach.c

Log Message:
-----------
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 <Maximili...@bmw.de>


Commit: 10d871ac4d77ed1ca94e7b7dcc7b452a4c1d1687
https://github.com/lxc/lxc/commit/10d871ac4d77ed1ca94e7b7dcc7b452a4c1d1687
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/confile.c
M src/lxc/criu.c
M src/lxc/hlist.h

Log Message:
-----------
tree-wide: fix list_entry()

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


Commit: 042070c23713d2c770d873525c52c02eb00217bd
https://github.com/lxc/lxc/commit/042070c23713d2c770d873525c52c02eb00217bd
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/Makefile.am
M src/lxc/cmd/lxc_usernsexec.c

Log Message:
-----------
lxc-usernsexec: small tweaks

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


Commit: 4c693145ff39a74e8de14450dd82503929dc5931
https://github.com/lxc/lxc/commit/4c693145ff39a74e8de14450dd82503929dc5931
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: use free_disarm() in list_all_containers()

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


Commit: 471ec4611c8291557d2d004ff478b7b96f5eafc6
https://github.com/lxc/lxc/commit/471ec4611c8291557d2d004ff478b7b96f5eafc6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: remove useless {}

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


Commit: 74e9fc135789916d7d8ce2225a3b2797a0ff3cce
https://github.com/lxc/lxc/commit/74e9fc135789916d7d8ce2225a3b2797a0ff3cce
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: fail when container can't be loaded

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


Commit: 98434950256ee08e63a7299a26cadb41effad378
https://github.com/lxc/lxc/commit/98434950256ee08e63a7299a26cadb41effad378
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: don't pass NULL pointer

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


Commit: 6aaa6ece4210e4da7cfd38bd9f19dc3d74d97ab4
https://github.com/lxc/lxc/commit/6aaa6ece4210e4da7cfd38bd9f19dc3d74d97ab4
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M configure.ac

Log Message:
-----------
configure: add sanitizer flags to LDFLAGS as well

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


Commit: 9ee4905abb0e52f65a7bbbb307f93a120d856eff
https://github.com/lxc/lxc/commit/9ee4905abb0e52f65a7bbbb307f93a120d856eff
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/include/fexecve.h
M src/include/getgrgid_r.h
M src/include/getline.h
M src/include/lxcmntent.h
M src/include/netns_ifaddrs.h
M src/include/openpty.h
M src/include/prlimit.h
M src/include/strchrnul.h
M src/include/strlcat.h
M src/include/strlcpy.h

Log Message:
-----------
include: make all functions __hidden

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


Commit: 887e750fd612761012d6806a6a7dcc1690554758
https://github.com/lxc/lxc/commit/887e750fd612761012d6806a6a7dcc1690554758
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/Makefile.am
M src/lxc/cgroups/cgfsng.c
M src/lxc/string_utils.h
M src/lxc/tools/lxc_destroy.c
M src/tests/Makefile.am

Log Message:
-----------
tree-wide: fix build

Fixes: #3960
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: ba3b704ad610dcefa02121c314ecaa6a5efef2f9
https://github.com/lxc/lxc/commit/ba3b704ad610dcefa02121c314ecaa6a5efef2f9
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M hooks/unmount-namespace.c
M src/lxc/Makefile.am
M src/lxc/af_unix.c
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup2_devices.h
M src/lxc/cmd/lxc_user_nic.c
M src/lxc/conf.c
M src/lxc/confile.c
M src/lxc/confile_utils.c
M src/lxc/criu.c
M src/lxc/initutils.c
M src/lxc/log.c
M src/lxc/lxccontainer.c
M src/lxc/monitor.c
M src/lxc/network.c
M src/lxc/pam/pam_cgfs.c
M src/lxc/rexec.c
M src/lxc/start.c
M src/lxc/storage/btrfs.c
M src/lxc/storage/nbd.c
M src/lxc/storage/rbd.c
M src/lxc/storage/storage.c
M src/lxc/storage/storage.h
M src/lxc/storage/storage_utils.c
M src/lxc/string_utils.c
M src/lxc/string_utils.h
M src/lxc/terminal.c
M src/lxc/tools/include/getsubopt.c
M src/lxc/tools/lxc_copy.c
M src/lxc/tools/lxc_device.c
M src/lxc/utils.c
M src/lxc/utils.h
M src/tests/Makefile.am
M src/tests/api_reboot.c
M src/tests/arch_parse.c
M src/tests/attach.c
M src/tests/cgpath.c
M src/tests/device_add_remove.c
M src/tests/get_item.c
M src/tests/shortlived.c

Log Message:
-----------
build: add src/include to build and simplify header inclusions

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


Commit: 0e8c426bc7955abae475077ccaa74152a0781708
https://github.com/lxc/lxc/commit/0e8c426bc7955abae475077ccaa74152a0781708
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/syscall_wrappers.h

Log Message:
-----------
syscall_wrapper: fix pivot_root() declaration

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


Commit: 18568d6639229f0dcf1ca87508a19d9cb168190a
https://github.com/lxc/lxc/commit/18568d6639229f0dcf1ca87508a19d9cb168190a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: fix integer comparisons

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


Commit: 6775c68d8a8d2760dae7bf148b7d2633d16ef6c4
https://github.com/lxc/lxc/commit/6775c68d8a8d2760dae7bf148b7d2633d16ef6c4
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile.c

Log Message:
-----------
confile: fix integer comparisons

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


Commit: 44737eb2a04b369393a50b694af3c49799db64e7
https://github.com/lxc/lxc/commit/44737eb2a04b369393a50b694af3c49799db64e7
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/storage/btrfs.c
M src/lxc/storage/lvm.c
M src/lxc/storage/overlay.c
M src/lxc/storage/storage_utils.c
M src/lxc/storage/zfs.c

Log Message:
-----------
storage: fix integer comparisons

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


Commit: 1a6fa486adca4034d55ef4aa0d5f93dbd32ade04
https://github.com/lxc/lxc/commit/1a6fa486adca4034d55ef4aa0d5f93dbd32ade04
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c

Log Message:
-----------
attach: fix helper declarations

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


Commit: ee66aca9be62654f26bbdc9d552c859a964d37be
https://github.com/lxc/lxc/commit/ee66aca9be62654f26bbdc9d552c859a964d37be
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lsm/apparmor.c
M src/lxc/lsm/selinux.c

Log Message:
-----------
lsm: fix integer comparisons

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


Commit: f19ea2f960c8b736693a836c9b9d31683bec6807
https://github.com/lxc/lxc/commit/f19ea2f960c8b736693a836c9b9d31683bec6807
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: fix integer comparisons

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


Commit: f50b0ac6d21ddb7067b4ed2ef0d8244bb05b8f10
https://github.com/lxc/lxc/commit/f50b0ac6d21ddb7067b4ed2ef0d8244bb05b8f10
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/string_utils.c
M src/lxc/string_utils.h

Log Message:
-----------
string_utils: fix integer comparisons

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


Commit: 36345059ed897fe9779699fc07e76cbd3d6ca396
https://github.com/lxc/lxc/commit/36345059ed897fe9779699fc07e76cbd3d6ca396
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: fix struct mount_attr initalization

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


Commit: 3641e8cd9f6b7327421da0052785ae323d28d0c6
https://github.com/lxc/lxc/commit/3641e8cd9f6b7327421da0052785ae323d28d0c6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: fix array initalization

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


Commit: 94090bb472321fef935dc58b8a0bc7f915df8259
https://github.com/lxc/lxc/commit/94090bb472321fef935dc58b8a0bc7f915df8259
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/criu.c
M src/lxc/start.c

Log Message:
-----------
tree-wide: fix attach header inclusion

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


Commit: 82a1732bd7698ad61ea7ae1047dff22d9f7f2fdb
https://github.com/lxc/lxc/commit/82a1732bd7698ad61ea7ae1047dff22d9f7f2fdb
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/confile_utils.c

Log Message:
-----------
confile_utils: fix integer comparisons

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


Commit: 945f12ebeb89eb97d9f2764a5b20a9ddaa8ae25c
https://github.com/lxc/lxc/commit/945f12ebeb89eb97d9f2764a5b20a9ddaa8ae25c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/criu.c

Log Message:
-----------
criu: fix integer comparisons

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


Commit: a3a94e1af105bda217895d0f39e4ebd0a2c1809d
https://github.com/lxc/lxc/commit/a3a94e1af105bda217895d0f39e4ebd0a2c1809d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/commands.c

Log Message:
-----------
commands: fix integer comparisons

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


Commit: 57144edd8b1aada927cdc33ea466af56c8876c48
https://github.com/lxc/lxc/commit/57144edd8b1aada927cdc33ea466af56c8876c48
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/attach.h
M src/lxc/commands_utils.c
M src/lxc/conf.c
M src/lxc/confile.h
M src/lxc/criu.c
M src/lxc/freezer.c
M src/tests/rootfs_options.c
M src/tests/sys_mixed.c

Log Message:
-----------
tree-wide: fix public lxc header inclusions

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


Commit: cda1acec9101cb6c745c72c01fdee8fd05a97867
https://github.com/lxc/lxc/commit/cda1acec9101cb6c745c72c01fdee8fd05a97867
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/network.c

Log Message:
-----------
network: fix integer comparisons

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


Commit: 0b2d6d429c2ed29540e939b28fa474660582d9db
https://github.com/lxc/lxc/commit/0b2d6d429c2ed29540e939b28fa474660582d9db
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
lxccontainer: fix integer comparisons

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


Commit: d79d86cd3871dad1da39b0d83bd6770f1a73959e
https://github.com/lxc/lxc/commit/d79d86cd3871dad1da39b0d83bd6770f1a73959e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/terminal.c

Log Message:
-----------
terminal: fix integer comparisons

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


Commit: 2aa9e89ab22a2be0a9cab83ce8b02952380474de
https://github.com/lxc/lxc/commit/2aa9e89ab22a2be0a9cab83ce8b02952380474de
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/utils.c

Log Message:
-----------
utils: fix integer comparisons

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


Commit: 64703c8bd3a426308b40abde5628df0f68cb6b1e
https://github.com/lxc/lxc/commit/64703c8bd3a426308b40abde5628df0f68cb6b1e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/start.c

Log Message:
-----------
start: fix integer comparisons

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


Commit: 8e6bc99f605ed4b8153569c7d24bedad1aa25483
https://github.com/lxc/lxc/commit/8e6bc99f605ed4b8153569c7d24bedad1aa25483
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/include/netns_ifaddrs.c

Log Message:
-----------
netns_ifaddrs: fix integer comparisons

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


Commit: f432b4e683536060ee866ec72ea83537a799deb5
https://github.com/lxc/lxc/commit/f432b4e683536060ee866ec72ea83537a799deb5
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/include/lxcmntent.c

Log Message:
-----------
lxcmntent: fix fallthrough

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


Commit: 91d7105e11a26c977a0430b6a6d9ba8a2b6c54db
https://github.com/lxc/lxc/commit/91d7105e11a26c977a0430b6a6d9ba8a2b6c54db
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/seccomp.c

Log Message:
-----------
seccomp: fix integer comparisons

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


Commit: 65906c3edfeac6f0bf72a37a161dadcfbbc6fe38
https://github.com/lxc/lxc/commit/65906c3edfeac6f0bf72a37a161dadcfbbc6fe38
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/uuid.c

Log Message:
-----------
uuid: fix integer comparisons

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


Commit: d22477a4bfbc741846978fe778dac363dacafc3b
https://github.com/lxc/lxc/commit/d22477a4bfbc741846978fe778dac363dacafc3b
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/nl.c

Log Message:
-----------
nl: fix integer comparisons

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


Commit: e712874d344be929b20c79ad5ff79db4f15b6d4d
https://github.com/lxc/lxc/commit/e712874d344be929b20c79ad5ff79db4f15b6d4d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/monitor.c

Log Message:
-----------
monitor: fix integer comparisons

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


Commit: e0ffd0d061dd6977d9aaf292fff2711b874807dd
https://github.com/lxc/lxc/commit/e0ffd0d061dd6977d9aaf292fff2711b874807dd
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/file_utils.c

Log Message:
-----------
file_utils: fix integer comparisons

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


Commit: b726f19b9a7c142ba49878e913bb7cc501fb2137
https://github.com/lxc/lxc/commit/b726f19b9a7c142ba49878e913bb7cc501fb2137
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/commands_utils.c

Log Message:
-----------
commands_utils: fix integer comparisons

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


Commit: 310521b0867e0c98a84366b5e59ed7ff7a1c1b68
https://github.com/lxc/lxc/commit/310521b0867e0c98a84366b5e59ed7ff7a1c1b68
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/arguments.c
M src/lxc/tools/arguments.h

Log Message:
-----------
arguments: fix includes

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


Commit: ce774360ff497a95b900c5954842f2c01b87b753
https://github.com/lxc/lxc/commit/ce774360ff497a95b900c5954842f2c01b87b753
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/string_utils.c

Log Message:
-----------
string_utils: fix includes

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


Commit: ac77bc9742529d0744215efcbb8827418d08c1c1
https://github.com/lxc/lxc/commit/ac77bc9742529d0744215efcbb8827418d08c1c1
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h

Log Message:
-----------
conf: fix includes

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


Commit: 528a5089e57878f6b863c5ad2a7d05c79c0d6dcd
https://github.com/lxc/lxc/commit/528a5089e57878f6b863c5ad2a7d05c79c0d6dcd
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/initutils.h

Log Message:
-----------
initutils: fix includes

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


Commit: 037bb4f693aa99eb900b2afb4762fb9f2cafa27f
https://github.com/lxc/lxc/commit/037bb4f693aa99eb900b2afb4762fb9f2cafa27f
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/log.h

Log Message:
-----------
log: fix includes

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


Commit: d4b0261fa95f1ef2ce68d64e4ea794d88e0f1ff7
https://github.com/lxc/lxc/commit/d4b0261fa95f1ef2ce68d64e4ea794d88e0f1ff7
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/initutils.h

Log Message:
-----------
initutils: fix includes

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


Commit: 25cf1554b4a325a9c97c5380659be6a044b0c608
https://github.com/lxc/lxc/commit/25cf1554b4a325a9c97c5380659be6a044b0c608
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/arguments.c

Log Message:
-----------
arguments: fix includes

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


Commit: 14cfc17935f19349f31414739dacdf86c8451df6
https://github.com/lxc/lxc/commit/14cfc17935f19349f31414739dacdf86c8451df6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/lxc_start.c

Log Message:
-----------
tools/lxc_start: fix includes

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


Commit: 7bce79c5d14015284a87589b5cbc2315ebbe227a
https://github.com/lxc/lxc/commit/7bce79c5d14015284a87589b5cbc2315ebbe227a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/caps.c
M src/lxc/caps.h

Log Message:
-----------
caps: fix includes

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


Commit: 8b4312af6269efa5c250f9eea98693cbc85375fa
https://github.com/lxc/lxc/commit/8b4312af6269efa5c250f9eea98693cbc85375fa
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.h
M src/lxc/cmd/lxc_init.c
M src/lxc/cmd/lxc_monitord.c
M src/lxc/commands.h
M src/lxc/confile.h
M src/lxc/confile_utils.c
M src/lxc/criu.h
M src/lxc/log.c
M src/lxc/lxc.h
M src/lxc/lxccontainer.c
M src/lxc/lxclock.c
M src/lxc/seccomp.c
M src/lxc/start.c
M src/lxc/storage/overlay.c
M src/lxc/storage/storage.h
M src/lxc/terminal.c
M src/lxc/tools/arguments.c
M src/lxc/tools/arguments.h
M src/lxc/tools/lxc_attach.c
M src/lxc/tools/lxc_autostart.c
M src/lxc/tools/lxc_cgroup.c
M src/lxc/tools/lxc_checkpoint.c
M src/lxc/tools/lxc_config.c
M src/lxc/tools/lxc_console.c
M src/lxc/tools/lxc_copy.c
M src/lxc/tools/lxc_create.c
M src/lxc/tools/lxc_destroy.c
M src/lxc/tools/lxc_device.c
M src/lxc/tools/lxc_execute.c
M src/lxc/tools/lxc_freeze.c
M src/lxc/tools/lxc_info.c
M src/lxc/tools/lxc_ls.c
M src/lxc/tools/lxc_monitor.c
M src/lxc/tools/lxc_snapshot.c
M src/lxc/tools/lxc_start.c
M src/lxc/tools/lxc_stop.c
M src/lxc/tools/lxc_top.c
M src/lxc/tools/lxc_unfreeze.c
M src/lxc/tools/lxc_wait.c

Log Message:
-----------
tree-wide: fix lxc header inclusion

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


Commit: 38431dbd71ae1920fa32dbf068500121b217fb10
https://github.com/lxc/lxc/commit/38431dbd71ae1920fa32dbf068500121b217fb10
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/lxc_monitor.c
M src/lxc/tools/lxc_unshare.c

Log Message:
-----------
tools: fix build warnings

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


Commit: 803247fe96d07a014e37d35df9ffd8ac2ba00239
https://github.com/lxc/lxc/commit/803247fe96d07a014e37d35df9ffd8ac2ba00239
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/af_unix.c
M src/lxc/af_unix.h
M src/lxc/api_extensions.h
M src/lxc/attach.c
M src/lxc/attach.h
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup.c
M src/lxc/cgroups/cgroup.h
M src/lxc/cgroups/cgroup2_devices.c
M src/lxc/cgroups/cgroup2_devices.h
M src/lxc/cgroups/cgroup_utils.c
M src/lxc/cgroups/cgroup_utils.h
M src/lxc/commands.c
M src/lxc/commands_utils.c
M src/lxc/commands_utils.h
M src/lxc/compiler.h
M src/lxc/confile.c
M src/lxc/confile.h
M src/lxc/confile_utils.c
M src/lxc/confile_utils.h
M src/lxc/criu.c
M src/lxc/criu.h
M src/lxc/error.c
M src/lxc/error_utils.h
M src/lxc/execute.c
M src/lxc/file_utils.c
M src/lxc/file_utils.h
M src/lxc/freezer.c
M src/lxc/initutils.c
M src/lxc/list.h
M src/lxc/log.c
M src/lxc/lsm/apparmor.c
M src/lxc/lsm/lsm.c
M src/lxc/lsm/lsm.h
M src/lxc/lsm/nop.c
M src/lxc/lsm/selinux.c
M src/lxc/lxc.h
M src/lxc/lxccontainer.c
M src/lxc/lxccontainer.h
M src/lxc/lxclock.c
M src/lxc/lxclock.h
M src/lxc/lxcseccomp.h
M src/lxc/macro.h
M src/lxc/mainloop.c
M src/lxc/mainloop.h
M src/lxc/memory_utils.h
M src/lxc/monitor.c
M src/lxc/monitor.h
M src/lxc/mount_utils.c
M src/lxc/mount_utils.h
M src/lxc/namespace.c
M src/lxc/namespace.h
M src/lxc/network.c
M src/lxc/network.h
M src/lxc/nl.c
M src/lxc/nl.h
M src/lxc/pam/pam_cgfs.c
M src/lxc/parse.c
M src/lxc/parse.h
M src/lxc/process_utils.c
M src/lxc/process_utils.h
M src/lxc/rexec.c
M src/lxc/rexec.h
M src/lxc/ringbuf.c
M src/lxc/ringbuf.h
M src/lxc/rtnl.c
M src/lxc/rtnl.h
M src/lxc/seccomp.c
M src/lxc/start.c
M src/lxc/start.h
M src/lxc/state.c
M src/lxc/state.h
M src/lxc/storage/btrfs.c
M src/lxc/storage/btrfs.h
M src/lxc/storage/dir.c
M src/lxc/storage/dir.h
M src/lxc/storage/loop.c
M src/lxc/storage/loop.h
M src/lxc/storage/lvm.c
M src/lxc/storage/lvm.h
M src/lxc/storage/nbd.c
M src/lxc/storage/nbd.h
M src/lxc/storage/overlay.c
M src/lxc/storage/overlay.h
M src/lxc/storage/rbd.c
M src/lxc/storage/rbd.h
M src/lxc/storage/rsync.c
M src/lxc/storage/rsync.h
M src/lxc/storage/storage.c
M src/lxc/storage/storage.h
M src/lxc/storage/storage_utils.c
M src/lxc/storage/storage_utils.h
M src/lxc/storage/zfs.c
M src/lxc/storage/zfs.h
M src/lxc/string_utils.h
M src/lxc/sync.c
M src/lxc/sync.h
M src/lxc/syscall_numbers.h
M src/lxc/syscall_wrappers.h
M src/lxc/terminal.c
M src/lxc/terminal.h
M src/lxc/tools/lxc_attach.c
M src/lxc/tools/lxc_autostart.c
M src/lxc/tools/lxc_cgroup.c
M src/lxc/tools/lxc_checkpoint.c
M src/lxc/tools/lxc_config.c
M src/lxc/tools/lxc_console.c
M src/lxc/tools/lxc_copy.c
M src/lxc/tools/lxc_create.c
M src/lxc/tools/lxc_device.c
M src/lxc/tools/lxc_execute.c
M src/lxc/tools/lxc_freeze.c
M src/lxc/tools/lxc_info.c
M src/lxc/tools/lxc_ls.c
M src/lxc/tools/lxc_monitor.c
M src/lxc/tools/lxc_snapshot.c
M src/lxc/tools/lxc_stop.c
M src/lxc/tools/lxc_top.c
M src/lxc/tools/lxc_unfreeze.c
M src/lxc/tools/lxc_unshare.c
M src/lxc/tools/lxc_wait.c

Log Message:
-----------
tree-wide: fix config.h inclusion

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


Commit: 97d5f1f110b9e920c9454e07172191a79ecafa1c
https://github.com/lxc/lxc/commit/97d5f1f110b9e920c9454e07172191a79ecafa1c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/Makefile.am

Log Message:
-----------
tests: include "version.h"

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


Commit: 1d480c1b3e62a141cf9cb3c151feb55e8de5beee
https://github.com/lxc/lxc/commit/1d480c1b3e62a141cf9cb3c151feb55e8de5beee
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxc.h
M src/tests/Makefile.am

Log Message:
-----------
lxc: remove "version.h" inclusion

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


Commit: 94bdf89bc45bce845f93a94ff6bc68ebabaf929a
https://github.com/lxc/lxc/commit/94bdf89bc45bce845f93a94ff6bc68ebabaf929a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M configure.ac

Log Message:
-----------
build: make sure _GNU_SOURCE is set

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


Commit: a8c42131579094dfc9d22981c253a31e8d299ba6
https://github.com/lxc/lxc/commit/a8c42131579094dfc9d22981c253a31e8d299ba6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
A meson.build
A meson_options.txt
A src/include/meson.build
A src/lxc/meson.build

Log Message:
-----------
build: add meson skeleton

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


Commit: e7d52b3bcbf036444de1da8bd0d3a7f6ee692245
https://github.com/lxc/lxc/commit/e7d52b3bcbf036444de1da8bd0d3a7f6ee692245
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build
A src/lxc/tools/meson.build

Log Message:
-----------
build: add tools to meson

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


Commit: a248708e73f026cf328d8f50e9306a9a0fef989f
https://github.com/lxc/lxc/commit/a248708e73f026cf328d8f50e9306a9a0fef989f
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Fill missing commands on name completion.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: c0e3a7627896dc1ddbd8741848d3a95909631a35
https://github.com/lxc/lxc/commit/c0e3a7627896dc1ddbd8741848d3a95909631a35
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Use `--running` instead of `--active`.

Commands block if container is frozen.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: ea35c37f0daf60798ce5693eb522001398950bbc
https://github.com/lxc/lxc/commit/ea35c37f0daf60798ce5693eb522001398950bbc
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
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 <eden...@gmail.com>


Commit: 2afe5123915356c9c4534b0a19409556c5dd64f1
https://github.com/lxc/lxc/commit/2afe5123915356c9c4534b0a19409556c5dd64f1
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
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 <eden...@gmail.com>


Commit: c942fad9018288a86a524bafd2160fac5cffce7f
https://github.com/lxc/lxc/commit/c942fad9018288a86a524bafd2160fac5cffce7f
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Add completion output for `lxc-ls --fancy-format`.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 8fa0b91a432c90cc68fc8c065c3ae69778a74c7e
https://github.com/lxc/lxc/commit/8fa0b91a432c90cc68fc8c065c3ae69778a74c7e
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
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 <eden...@gmail.com>


Commit: 0b7480790aac76dc647666eccab62a76f4371d7a
https://github.com/lxc/lxc/commit/0b7480790aac76dc647666eccab62a76f4371d7a
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Use more bash-like syntax.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 289b75c8b34aec95e34778e62edd8b5d0bd8329b
https://github.com/lxc/lxc/commit/289b75c8b34aec95e34778e62edd8b5d0bd8329b
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
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 <eden...@gmail.com>


Commit: a93a4a674802ffaa7d6170c579a1dfbd574aed42
https://github.com/lxc/lxc/commit/a93a4a674802ffaa7d6170c579a1dfbd574aed42
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
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 <eden...@gmail.com>


Commit: 1a5ba64b069d9399dcd53560bf6a733b957ed0cc
https://github.com/lxc/lxc/commit/1a5ba64b069d9399dcd53560bf6a733b957ed0cc
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
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 <eden...@gmail.com>


Commit: eaeec61d2bc5210cb4fa83819908985b2ff168ee
https://github.com/lxc/lxc/commit/eaeec61d2bc5210cb4fa83819908985b2ff168ee
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Fix `lxc-create` completion.

Do not append a name of an existing container.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: fbdba650a20492062aecedec750d4997a5fd94da
https://github.com/lxc/lxc/commit/fbdba650a20492062aecedec750d4997a5fd94da
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Another round of more bash-like syntax.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 1a357f5f8929bd5454a85c1ec80c5eb67c9f64d0
https://github.com/lxc/lxc/commit/1a357f5f8929bd5454a85c1ec80c5eb67c9f64d0
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Refactor `__lxc_groups()` to `__lxc_get_groups()`.

Make code logic be more clear to what it is being done.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 0f97c7c721df5f5f8dc6c479fbd68b155dbcc7c9
https://github.com/lxc/lxc/commit/0f97c7c721df5f5f8dc6c479fbd68b155dbcc7c9
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Add `__lxc_get_selinux_contexts()`.

List SElinux contexts available. Not clear if this could be only for
root or if normal user with `sudo` is also supported.

Using `Fedora34` for basic testing.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 0c454f772181154f703c790490443196374d74bf
https://github.com/lxc/lxc/commit/0c454f772181154f703c790490443196374d74bf
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Add completion for `lxc-copy` param `--fssize`.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 508d880864ac0c853a76040458f2c1a3040366c9
https://github.com/lxc/lxc/commit/508d880864ac0c853a76040458f2c1a3040366c9
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Update `_lxc_usernsexec`.

Not really much can be done for this function, as `-m` requires an ID
mapping that has to be manually input, since it will use
`/etc/sub{g,u}id` if not specified.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: b9227d8bc906fe3c412b47822e3444419ed6cd2f
https://github.com/lxc/lxc/commit/b9227d8bc906fe3c412b47822e3444419ed6cd2f
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Add `__lxc_cgroup_state_object()`.

Support cgroup state-object completion values for `lxc-cgroup`.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 22975ebb0636afba2e5d97649c29b98bebd9a1ae
https://github.com/lxc/lxc/commit/22975ebb0636afba2e5d97649c29b98bebd9a1ae
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Check completion for prefixes names.

If a name is a prefix of another word available for completion, adjust
to show all words with given prefix.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: e8aa72eafdf6a6a9d73363e34de8193f09a20794
https://github.com/lxc/lxc/commit/e8aa72eafdf6a6a9d73363e34de8193f09a20794
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Refactor ` __lxc_check_name_present()`.

Print name of container found, if any.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 505922727b04df835a5a6e13c7a332dcc87ae7e6
https://github.com/lxc/lxc/commit/505922727b04df835a5a6e13c7a332dcc87ae7e6
Author: Edênis Freindorfer Azevedo <eden...@gmail.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M config/bash/lxc.in

Log Message:
-----------
Fix `lxc-cgroup` smart completion.

Also make bash function more readable for itself.

Signed-off-by: Edênis Freindorfer Azevedo <eden...@gmail.com>


Commit: 7e2724b2a80aad69ca92b6d423634b436614b821
https://github.com/lxc/lxc/commit/7e2724b2a80aad69ca92b6d423634b436614b821
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: set pie in default_options

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


Commit: d14f5bf2b65d2a94af61a15619fae6c8d5fad366
https://github.com/lxc/lxc/commit/d14f5bf2b65d2a94af61a15619fae6c8d5fad366
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: set as-needed in default_options

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


Commit: 9d9d3c5af2fc2ce4d8b75eecb8067fd95778d02a
https://github.com/lxc/lxc/commit/9d9d3c5af2fc2ce4d8b75eecb8067fd95778d02a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: use dependency() where possible

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


Commit: 70107a07f504ffa7c8466fda6aa1873500b8f209
https://github.com/lxc/lxc/commit/70107a07f504ffa7c8466fda6aa1873500b8f209
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: -fPIC and -shared are handled automatically

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


Commit: 78eb5fac2d22ad0cee15fdaf02074c5cf468e0e8
https://github.com/lxc/lxc/commit/78eb5fac2d22ad0cee15fdaf02074c5cf468e0e8
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: set find_library('libcap', require : false)

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


Commit: 1065db85241836a36558005d8ea2ce5bb2e4a370
https://github.com/lxc/lxc/commit/1065db85241836a36558005d8ea2ce5bb2e4a370
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: libdir and bindir are the default for shared libraries and executables

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


Commit: a42aa8f4ece4a124130cdfe1b5570576c8b0c092
https://github.com/lxc/lxc/commit/a42aa8f4ece4a124130cdfe1b5570576c8b0c092
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: use common dependencies variable

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


Commit: 0dc89e238b54a61ad1d073a887334373061ca2d4
https://github.com/lxc/lxc/commit/0dc89e238b54a61ad1d073a887334373061ca2d4
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build
M src/include/meson.build
M src/lxc/tools/meson.build

Log Message:
-----------
build: remove unneeded variables

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


Commit: 6bd2736a9dda4ebe92cb0a84b5925777c04c6eba
https://github.com/lxc/lxc/commit/6bd2736a9dda4ebe92cb0a84b5925777c04c6eba
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/meson.build

Log Message:
-----------
build: add single option directly to static library

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


Commit: c077362de80813f0dad1ab809d8ba75012ccac8c
https://github.com/lxc/lxc/commit/c077362de80813f0dad1ab809d8ba75012ccac8c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: set diagnostic colours directly in default_options

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


Commit: 73eb5ccc55d65c7d29cd5162916b5ff55f0f4f3f
https://github.com/lxc/lxc/commit/73eb5ccc55d65c7d29cd5162916b5ff55f0f4f3f
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build
M meson_options.txt

Log Message:
-----------
build: add more global config variables

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


Commit: a32fc8b4dab2b56d17157ca23c0053f00569f836
https://github.com/lxc/lxc/commit/a32fc8b4dab2b56d17157ca23c0053f00569f836
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: set more variables and print summary

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


Commit: d5f993841bcedc58478f5e82ab0e2dfe937a8795
https://github.com/lxc/lxc/commit/d5f993841bcedc58478f5e82ab0e2dfe937a8795
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M configure.ac
M src/lxc/log.h

Log Message:
-----------
log: fix cross-compilation with %m modifier

Fixes: #3961
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: ae92922b4811acf76f24ab34327b7f750fa6d5cc
https://github.com/lxc/lxc/commit/ae92922b4811acf76f24ab34327b7f750fa6d5cc
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/parse_config_file.c

Log Message:
-----------
tests: fix config file tests

Link: https://bugs.launchpad.net/bugs/1943441
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: ab4538b1bc6771b18a66ef7e38b463a3bf9fd2fd
https://github.com/lxc/lxc/commit/ab4538b1bc6771b18a66ef7e38b463a3bf9fd2fd
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: remove pointless prefixdir validation

Meson will handle this internall and treat a non-absolute path as an
error.

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


Commit: 81d8affcdab5f3db212b1ca3b954733d04f94e1c
https://github.com/lxc/lxc/commit/81d8affcdab5f3db212b1ca3b954733d04f94e1c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: use correct minimal meson version requirement

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


Commit: ac09b96fa234478d2d81f54ec9871d8ef9baacb7
https://github.com/lxc/lxc/commit/ac09b96fa234478d2d81f54ec9871d8ef9baacb7
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: record meson version

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


Commit: c7734ae9aa45b0e66be43f1703ae250ccc20c3f9
https://github.com/lxc/lxc/commit/c7734ae9aa45b0e66be43f1703ae250ccc20c3f9
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: show more detailed information

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


Commit: 70c8f1c0d743f79041fb7975604222ef01eb0af6
https://github.com/lxc/lxc/commit/70c8f1c0d743f79041fb7975604222ef01eb0af6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: ensure all relevant calls are checked for availability at build time

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


Commit: 2bb4d9658d414bc17794fa6ad9a71e5e39075b5f
https://github.com/lxc/lxc/commit/2bb4d9658d414bc17794fa6ad9a71e5e39075b5f
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/network.c

Log Message:
-----------
network: fix integer comparisons

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


Commit: ecfbb953293bd8ba7ff7bc525ceedb2c0f4f0605
https://github.com/lxc/lxc/commit/ecfbb953293bd8ba7ff7bc525ceedb2c0f4f0605
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup.h

Log Message:
-----------
cgroups: fix declarations and headers

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


Commit: d1f36b770996243a7d778831b17db4786693c495
https://github.com/lxc/lxc/commit/d1f36b770996243a7d778831b17db4786693c495
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: support lto

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


Commit: 560462234796e3d02d2e6953bc6a4102b23969fa
https://github.com/lxc/lxc/commit/560462234796e3d02d2e6953bc6a4102b23969fa
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/lxc_copy.c

Log Message:
-----------
tools: use correct include for Android

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


Commit: 3a7151efcb174842961d6018cf3b001e1cf8b490
https://github.com/lxc/lxc/commit/3a7151efcb174842961d6018cf3b001e1cf8b490
Author: Stéphane Graber <stgr...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/lxccontainer.h

Log Message:
-----------
Don't include internal headers in external library headers

Signed-off-by: Stéphane Graber <stgr...@ubuntu.com>


Commit: 7f8803d9ad9efb4a29d5d28a750a92d960d7cff4
https://github.com/lxc/lxc/commit/7f8803d9ad9efb4a29d5d28a750a92d960d7cff4
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M hooks/Makefile.am
M hooks/unmount-namespace.c
M meson.build

Log Message:
-----------
build: fix hook program build

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


Commit: 4e0454beae101b891284beb38933e87a20f431f4
https://github.com/lxc/lxc/commit/4e0454beae101b891284beb38933e87a20f431f4
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/tools/meson.build

Log Message:
-----------
build: fix tools build

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


Commit: ef5f183fe8a98634bdbe498a6d6d71e7dedd15e3
https://github.com/lxc/lxc/commit/ef5f183fe8a98634bdbe498a6d6d71e7dedd15e3
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M hooks/unmount-namespace.c

Log Message:
-----------
hooks: use cloexec everywhere

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


Commit: bf7c10133a51cd34c37887af533bc2b80372a1d1
https://github.com/lxc/lxc/commit/bf7c10133a51cd34c37887af533bc2b80372a1d1
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/include/meson.build
M src/lxc/meson.build
M src/lxc/tools/meson.build

Log Message:
-----------
build: split netns_ifaddrs into separate sources

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


Commit: 1655468806f8c043046f102ca7addb594b1b9e4f
https://github.com/lxc/lxc/commit/1655468806f8c043046f102ca7addb594b1b9e4f
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build
M src/lxc/cmd/lxc-update-config.in
A src/lxc/cmd/meson.build

Log Message:
-----------
build: add commands

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


Commit: 3af1349c964db6f54c001421081bf2c05aedeb7a
https://github.com/lxc/lxc/commit/3af1349c964db6f54c001421081bf2c05aedeb7a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: expand default_options

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


Commit: 30538e7aedf7d75b51a1742568ab286162e6474d
https://github.com/lxc/lxc/commit/30538e7aedf7d75b51a1742568ab286162e6474d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cmd/meson.build

Log Message:
-----------
build: use dummy config data

to avoid having to rely on newer meson features.

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


Commit: 9a9dab3b811f4ca8a3e2e419199ad185be365278
https://github.com/lxc/lxc/commit/9a9dab3b811f4ca8a3e2e419199ad185be365278
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M hooks/unmount-namespace.c
M meson.build
M src/include/meson.build
M src/include/strlcat.c
M src/lxc/af_unix.c
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup2_devices.h
M src/lxc/conf.c
M src/lxc/confile.c
M src/lxc/confile_utils.c
M src/lxc/criu.c
M src/lxc/log.c
M src/lxc/lxccontainer.c
M src/lxc/macro.h
M src/lxc/process_utils.h
M src/lxc/start.c
M src/lxc/string_utils.c
M src/lxc/string_utils.h
M src/lxc/syscall_wrappers.h
A src/lxc/tools/include/meson.build
M src/lxc/tools/meson.build
M src/lxc/utils.c
M src/lxc/utils.h

Log Message:
-----------
build: improve meson build

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


Commit: 75507f44558a7766f9e43f6fc93890cafb17b5e2
https://github.com/lxc/lxc/commit/75507f44558a7766f9e43f6fc93890cafb17b5e2
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: build hooks directly in their folder

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


Commit: b004a748ce77831662c840a0278d2fa392515506
https://github.com/lxc/lxc/commit/b004a748ce77831662c840a0278d2fa392515506
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M hooks/dhclient-script
A hooks/meson.build
M meson.build
M src/lxc/cmd/meson.build

Log Message:
-----------
build: add hooks

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


Commit: c710ef7c81789fb5c81ff293e65ec3d785aebff4
https://github.com/lxc/lxc/commit/c710ef7c81789fb5c81ff293e65ec3d785aebff4
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build
M meson_options.txt
M src/lxc/cmd/meson.build

Log Message:
-----------
build: add cmd builds

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


Commit: 7efc949d8ed7285fac01a6f6fb10c04b4fbee1a0
https://github.com/lxc/lxc/commit/7efc949d8ed7285fac01a6f6fb10c04b4fbee1a0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cmd/lxc_monitord.c

Log Message:
-----------
lxc-monitord: use {} around ;

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


Commit: dbb08277ce9f654f4a8c0a19f17bdc9c87ecc41e
https://github.com/lxc/lxc/commit/dbb08277ce9f654f4a8c0a19f17bdc9c87ecc41e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cmd/lxc_user_nic.c
M src/lxc/cmd/lxc_usernsexec.c

Log Message:
-----------
cmds: fix integer conversions

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


Commit: 29853ef5368c22b200908fcd220a879258cffae9
https://github.com/lxc/lxc/commit/29853ef5368c22b200908fcd220a879258cffae9
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cmd/lxc_init.c
M src/lxc/cmd/lxc_monitord.c
M src/lxc/cmd/lxc_user_nic.c
M src/lxc/cmd/lxc_usernsexec.c

Log Message:
-----------
cmds: fix includes

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


Commit: 4024959812d9c5e30827cbe96e67292d1c1d1906
https://github.com/lxc/lxc/commit/4024959812d9c5e30827cbe96e67292d1c1d1906
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/initutils.c
M src/lxc/log.h
M src/lxc/mainloop.c
M src/lxc/monitor.c
M src/lxc/network.c
M src/lxc/pam/pam_cgfs.c
M src/lxc/storage/btrfs.c
M src/lxc/storage/nbd.c
M src/lxc/storage/rbd.c
M src/lxc/storage/storage.c
M src/lxc/storage/storage_utils.c
M src/lxc/tools/include/getsubopt.c
M src/lxc/tools/lxc_copy.c
M src/tests/api_reboot.c
M src/tests/arch_parse.c
M src/tests/attach.c
M src/tests/cgpath.c
M src/tests/device_add_remove.c
M src/tests/get_item.c
M src/tests/shortlived.c

Log Message:
-----------
tree-wide: fix HAVE_* checks

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


Commit: 0e8a5bc53647c6db988aa525f14e8ab6844c7c5f
https://github.com/lxc/lxc/commit/0e8a5bc53647c6db988aa525f14e8ab6844c7c5f
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build

Log Message:
-----------
build: fix remaining HAVE_* generations

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


Commit: 0957acc412cfa7347d3bb708b16920f20b044a2c
https://github.com/lxc/lxc/commit/0957acc412cfa7347d3bb708b16920f20b044a2c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build
M templates/lxc-busybox.in
M templates/lxc-download.in
M templates/lxc-local.in
M templates/lxc-oci.in
A templates/meson.build

Log Message:
-----------
build: add templates

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


Commit: e4d0a7f59a1797e3835ba26b4aebfea8fc03f0da
https://github.com/lxc/lxc/commit/e4d0a7f59a1797e3835ba26b4aebfea8fc03f0da
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M templates/lxc-download.in
M templates/lxc-local.in
M templates/lxc-oci.in

Log Message:
-----------
templates: don't double quote

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


Commit: 14a22d62c8d27497f57f8c1c8468d6cf73c36213
https://github.com/lxc/lxc/commit/14a22d62c8d27497f57f8c1c8468d6cf73c36213
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M hooks/meson.build

Log Message:
-----------
hooks: fix quoting

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


Commit: 808f4e83bb7e5e577018fab740cedece25d7b8d6
https://github.com/lxc/lxc/commit/808f4e83bb7e5e577018fab740cedece25d7b8d6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
build: check whether compiler supports nonnull and returns_nonnull attributes

Fixes: #3980
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 4e4fc4fc4b6195adf32b514dd003aa5bd2231ea5
https://github.com/lxc/lxc/commit/4e4fc4fc4b6195adf32b514dd003aa5bd2231ea5
Author: Stéphane Graber <stgr...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M .github/workflows/build.yml

Log Message:
-----------
github: Drop 16.04 tests

Signed-off-by: Stéphane Graber <stgr...@ubuntu.com>


Commit: c55fff0c38abf568fd1aad8b45fa2c60b537acca
https://github.com/lxc/lxc/commit/c55fff0c38abf568fd1aad8b45fa2c60b537acca
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M meson.build
M src/lxc/compiler.h

Log Message:
-----------
build: compiler attribute improvements

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


Commit: 0d134902943f044750e0d7f090b955e4256baf8c
https://github.com/lxc/lxc/commit/0d134902943f044750e0d7f090b955e4256baf8c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/initutils.h

Log Message:
-----------
initutils: add missing prctl include

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


Commit: 23355c196ce4e4cd8b8bc089fd8a48d7e715351c
https://github.com/lxc/lxc/commit/23355c196ce4e4cd8b8bc089fd8a48d7e715351c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M doc/lxc.container.conf.sgml.in
M src/lxc/api_extensions.h
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/lxc/start.c
M src/lxc/syscall_wrappers.h
M src/tests/parse_config_file.c

Log Message:
-----------
lxc: add lxc.sched.core

Core scheduling defines if the container payload is marked as being
schedulable on the same core. Doing so will cause the kernel scheduler
to ensure that tasks that are not in the same group never run
simultaneously on a core. This can serve as an extra security measure to
prevent the container payload from using cross hyper thread attacks.

The only allowed values are 0 and 1. Set this to 1 to create a core
scheduling domain for the container or 0 to not create one. If not set
explicitly no core scheduling domain will be created for the container.

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


Commit: c396350c2ac4d8259b190c8fc15ff8df01ab529a
https://github.com/lxc/lxc/commit/c396350c2ac4d8259b190c8fc15ff8df01ab529a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/start.c
M src/lxc/syscall_wrappers.h

Log Message:
-----------
attach: handle core scheduling

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


Commit: 4b79bd3cdcd8725443791c479862742f9862afc0
https://github.com/lxc/lxc/commit/4b79bd3cdcd8725443791c479862742f9862afc0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/macro.h
M src/lxc/start.c

Log Message:
-----------
tree-wide: cast to core scheduling cookie to llu

Link: https://launchpadlibrarian.net/561086365/buildlog_ubuntu-focal-ppc64el.lxc_1%3A4.0.10+master~20210930-1812-0ubuntu1~focal_BUILDING.txt.gz
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: d753bc7715e54f961e6ca2c0964db2f8b2ae83f7
https://github.com/lxc/lxc/commit/d753bc7715e54f961e6ca2c0964db2f8b2ae83f7
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/start.c
M src/lxc/syscall_wrappers.h

Log Message:
-----------
syscall_wrappers: fix core scheduling creation helper naming

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


Commit: c197f076da24af9344d8dc2e6d6fe9c2838b67f8
https://github.com/lxc/lxc/commit/c197f076da24af9344d8dc2e6d6fe9c2838b67f8
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/start.c

Log Message:
-----------
start: don't fail when core scheduling isn't supported

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


Commit: b95aacb77f3bbdc5cb0c4572606d4a2f6f6d4d8e
https://github.com/lxc/lxc/commit/b95aacb77f3bbdc5cb0c4572606d4a2f6f6d4d8e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/start.c

Log Message:
-----------
start: use core scheduling error helper

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


Commit: 5eeb93f467b09bdae1fc7271523fd6208b6fe9aa
https://github.com/lxc/lxc/commit/5eeb93f467b09bdae1fc7271523fd6208b6fe9aa
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/start.c

Log Message:
-----------
start: make failure to apply core scheduling fatal

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


Commit: 7a73fa9f2ab8dcbcec1da4a4a4330c110df998fd
https://github.com/lxc/lxc/commit/7a73fa9f2ab8dcbcec1da4a4a4330c110df998fd
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/log.h

Log Message:
-----------
log: improve %m handling on musl

Fixes: #3961
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: b108edb7446c68abe87f60092e94d911dd273fe5
https://github.com/lxc/lxc/commit/b108edb7446c68abe87f60092e94d911dd273fe5
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/terminal.c

Log Message:
-----------
terminal: log at warning message

The lxc_devpts_terminal() helper is called in contexts where it can fail
due to various reasons but where we safely fallback to allocating
terminal devices on the host. Logging error messages irritates users so
just log warning messages.

Link: https://discuss.linuxcontainers.org/t/lxc-attach-error-failed-to-open-terminal-multiplexer-device
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 87099b920abea419941633b31cf63485c82f64d8
https://github.com/lxc/lxc/commit/87099b920abea419941633b31cf63485c82f64d8
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c
M src/lxc/conf.c
M src/lxc/macro.h
M src/lxc/pam/pam_cgfs.c

Log Message:
-----------
conf: fix lxc.cap.keep behavior

Fixes: ##3993
Fixes: 20ab75789eb9 ("conf: simplify and port caps to new list type")
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 2da153cc37c15dec28d1eb58809a2bf3f936a6d7
https://github.com/lxc/lxc/commit/2da153cc37c15dec28d1eb58809a2bf3f936a6d7
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M .gitignore
M src/tests/Makefile.am
A src/tests/capabilities_allow.c

Log Message:
-----------
tests: add test for lxc.cap.keep

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


Commit: 31d32b800f6c689dcc1a42a004f88f8b631c039e
https://github.com/lxc/lxc/commit/31d32b800f6c689dcc1a42a004f88f8b631c039e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/caps.c
M src/lxc/conf.c
M src/lxc/macro.h

Log Message:
-----------
conf: improve capability handling

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


Commit: 388cccf6b84be51919e381bf27814b1b746de819
https://github.com/lxc/lxc/commit/388cccf6b84be51919e381bf27814b1b746de819
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cgroups/cgfsng.c

Log Message:
-----------
cgroups: use __u32 for cpumasks

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


Commit: 21cc116e6cad8f864fc1f134c3be988eafdd5b4d
https://github.com/lxc/lxc/commit/21cc116e6cad8f864fc1f134c3be988eafdd5b4d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/caps.c
M src/lxc/caps.h
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/confile.c
M src/tests/capabilities_allow.c

Log Message:
-----------
tree-wide: use __u32 for capabilities

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


Commit: 5f6c26723e5b54f398c07d25817587b7644050a0
https://github.com/lxc/lxc/commit/5f6c26723e5b54f398c07d25817587b7644050a0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M .gitignore
M src/tests/Makefile.am
A src/tests/capabilities.c
R src/tests/capabilities_allow.c

Log Message:
-----------
tests: expand capability tests

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


Commit: a5ac48c8d995b0cea9d77cc6a3445b420e710a08
https://github.com/lxc/lxc/commit/a5ac48c8d995b0cea9d77cc6a3445b420e710a08
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/attach.c
M src/lxc/caps.c

Log Message:
-----------
attach: improve error logging for drop_capabilities()

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


Commit: 1eebaf03aaa6e2126e088c9638e6af685da79a30
https://github.com/lxc/lxc/commit/1eebaf03aaa6e2126e088c9638e6af685da79a30
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/capabilities.c

Log Message:
-----------
test: fix nested capability tests

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


Commit: ca9340977220ede76f8d41d4638cf9568f2b71a2
https://github.com/lxc/lxc/commit/ca9340977220ede76f8d41d4638cf9568f2b71a2
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/lxc/cmd/lxc_monitord.c

Log Message:
-----------
lxc-monitord: fix integer comparisions

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


Commit: 5ac772d63214239fb4903dfa96e601e282f6cb42
https://github.com/lxc/lxc/commit/5ac772d63214239fb4903dfa96e601e282f6cb42
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-10-14 (Thu, 14 Oct 2021)

Changed paths:
M src/tests/parse_config_file.c

Log Message:
-----------
tests: remove trailing endifs

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


Compare: https://github.com/lxc/lxc/compare/cec7cb14b2a4...5ac772d63214
Reply all
Reply to author
Forward
0 new messages