[lxc/lxc] 8b83dc: seccomp: init and destroy notifier.cookie

0 views
Skip to first unread message

Christian Brauner

unread,
Apr 23, 2021, 3:09:58 AMApr 23
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/stable-4.0
Home: https://github.com/lxc/lxc
Commit: 8b83dcdfc770eaad356172e4cf92189fc9cde763
https://github.com/lxc/lxc/commit/8b83dcdfc770eaad356172e4cf92189fc9cde763
Author: Evgeny Vereshchagin <evv...@ya.ru>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/seccomp.c

Log Message:
-----------
seccomp: init and destroy notifier.cookie

It's a follow-up to 84cf6d259b24e4ad48e

Closes https://github.com/lxc/lxc/issues/3806

Signed-off-by: Evgeny Vereshchagin <evv...@ya.ru>


Commit: a2d701dae199830d44b9f3ee492ea41a975111fe
https://github.com/lxc/lxc/commit/a2d701dae199830d44b9f3ee492ea41a975111fe
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

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

Log Message:
-----------
conf: rework lxc specific mount option parsing

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


Commit: 70e105ee18e8030f476500e701b07e8db764ddf9
https://github.com/lxc/lxc/commit/70e105ee18e8030f476500e701b07e8db764ddf9
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

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

Log Message:
-----------
conf: add first, trivial support for idmapped mounts

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


Commit: 4c51f61472a0e89a8f3352a736328727b2133c0f
https://github.com/lxc/lxc/commit/4c51f61472a0e89a8f3352a736328727b2133c0f
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

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

Log Message:
-----------
confile: parse idmap=<path> mount option for rootfs

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


Commit: 1633166b85ac59f19513ce0d64f329367f25b7b0
https://github.com/lxc/lxc/commit/1633166b85ac59f19513ce0d64f329367f25b7b0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M configure.ac
M src/lxc/mount_utils.h
M src/lxc/syscall_numbers.h
M src/lxc/syscall_wrappers.h

Log Message:
-----------
mount_utils: add support for mount_setattr() syscall

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


Commit: 39c2e2e32be776f299bc78ed79f55c020070ca02
https://github.com/lxc/lxc/commit/39c2e2e32be776f299bc78ed79f55c020070ca02
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

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

Log Message:
-----------
storage: keep a reference to lxc_rootfs in lxc_storage

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


Commit: f3dde9c37c4f1694d1c5697730b6e85cb210e7f8
https://github.com/lxc/lxc/commit/f3dde9c37c4f1694d1c5697730b6e85cb210e7f8
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

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

Log Message:
-----------
mount_utils: add helper to determine whether new mount api supports bind mounts

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


Commit: 45e08d76c91b407b03a6e7c384c45b15ea25c980
https://github.com/lxc/lxc/commit/45e08d76c91b407b03a6e7c384c45b15ea25c980
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/mount_utils.c
M src/lxc/mount_utils.h
M src/lxc/start.c
M src/lxc/storage/dir.c

Log Message:
-----------
conf: support idmapping directories

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


Commit: fb9f0d8468562c065e20be73c314ffcf7af155e0
https://github.com/lxc/lxc/commit/fb9f0d8468562c065e20be73c314ffcf7af155e0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

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

Log Message:
-----------
mount_utils: add two detached mount helpers

They'll come in handy in the future.

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


Commit: 88dff0a5fd94547d98cbecd85a199dce2f291257
https://github.com/lxc/lxc/commit/88dff0a5fd94547d98cbecd85a199dce2f291257
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/start.c

Log Message:
-----------
start: documented idmapped mounts

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


Commit: 7597491b5ada8a29ec27c64e2b2df9d2d484f14a
https://github.com/lxc/lxc/commit/7597491b5ada8a29ec27c64e2b2df9d2d484f14a
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: verify that the rootfs can support idmapped mounts

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


Commit: d07d0091f41821cd20f27dadecff05532546b1de
https://github.com/lxc/lxc/commit/d07d0091f41821cd20f27dadecff05532546b1de
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/attach.c

Log Message:
-----------
attach: visually separate pids from fds during initalization

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


Commit: a45cba87653c843e56308f4a8fe3c673135a1d79
https://github.com/lxc/lxc/commit/a45cba87653c843e56308f4a8fe3c673135a1d79
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/attach.c

Log Message:
-----------
attach: use correct lxc_namespace_t type

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


Commit: 4f0e01864622f95bbd948b1c0d30d1a3fd2b2dd2
https://github.com/lxc/lxc/commit/4f0e01864622f95bbd948b1c0d30d1a3fd2b2dd2
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

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

Log Message:
-----------
apparmor: handle on-exec

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


Commit: 0125a899a9d2cd6d6aad05b61fc085f5655ad231
https://github.com/lxc/lxc/commit/0125a899a9d2cd6d6aad05b61fc085f5655ad231
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: tweak parse_lxc_mntopts()

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


Commit: 9bdae39f86902ef000ac02dd47c3a95fe14fa35c
https://github.com/lxc/lxc/commit/9bdae39f86902ef000ac02dd47c3a95fe14fa35c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: don't allow idmapped lxc.mount.{entry,fstab} just yet

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


Commit: 310f5976da1b28763ecb4a4a14636f2f6bb0dd7b
https://github.com/lxc/lxc/commit/310f5976da1b28763ecb4a4a14636f2f6bb0dd7b
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/include/strchrnul.c

Log Message:
-----------
strchrnul: include header

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


Commit: 53ba276251a15717eed225b9e161113e093e331d
https://github.com/lxc/lxc/commit/53ba276251a15717eed225b9e161113e093e331d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: include strchrnul for platforms that don't support it

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


Commit: 615d8f8c8bc2223e5700ddfc42c56eab105c0688
https://github.com/lxc/lxc/commit/615d8f8c8bc2223e5700ddfc42c56eab105c0688
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/Makefile.am
M src/lxc/tools/include/getsubopt.c
M src/tests/Makefile.am

Log Message:
-----------
Makefile: fix strchrnul() inclusion

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


Commit: 0876c9c3cc0aafbcaecb8736704bc39be689c573
https://github.com/lxc/lxc/commit/0876c9c3cc0aafbcaecb8736704bc39be689c573
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/tools/include/getsubopt.c

Log Message:
-----------
getsubopt: use correct include

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


Commit: fe45f5d880304fb3ed9eeee4b8f372e9a8820596
https://github.com/lxc/lxc/commit/fe45f5d880304fb3ed9eeee4b8f372e9a8820596
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: better naming

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


Commit: c1831266cb936945509db98c2640390c52a78c83
https://github.com/lxc/lxc/commit/c1831266cb936945509db98c2640390c52a78c83
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-23 (Fri, 23 Apr 2021)

Changed paths:
M src/lxc/conf.c

Log Message:
-----------
conf: don't overrun dest buffer in parse_lxc_mntopts()

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


Compare: https://github.com/lxc/lxc/compare/5855f270b5fb...c1831266cb93
Reply all
Reply to author
Forward
0 new messages