[lxc/lxc] 68cf56: tree-wide: minimize liburing.h inclusion

0 views
Skip to first unread message

Stéphane Graber

unread,
Aug 17, 2022, 10:57:43 AMAug 17
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 68cf564890a36a1a094aa08af5cd34fab24e59d3
https://github.com/lxc/lxc/commit/68cf564890a36a1a094aa08af5cd34fab24e59d3
Author: Christian Brauner <bra...@kernel.org>
Date: 2022-08-17 (Wed, 17 Aug 2022)

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

Log Message:
-----------
tree-wide: minimize liburing.h inclusion

because it brings in linux/fs.h and defines struct open_how.

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


Commit: 74c2f58e1fe8be16b0cee0e15f3152bccf74ad81
https://github.com/lxc/lxc/commit/74c2f58e1fe8be16b0cee0e15f3152bccf74ad81
Author: Christian Brauner <bra...@kernel.org>
Date: 2022-08-17 (Wed, 17 Aug 2022)

Changed paths:
M src/lxc/conf.h
M src/lxc/mount_utils.h
M src/lxc/syscall_wrappers.h

Log Message:
-----------
mount: move mount utilities from syscall_wrappers.h into mount_utils.h

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


Commit: da8c298534b0854aab9be51b5deba72649dc34e2
https://github.com/lxc/lxc/commit/da8c298534b0854aab9be51b5deba72649dc34e2
Author: Christian Brauner <bra...@kernel.org>
Date: 2022-08-17 (Wed, 17 Aug 2022)

Changed paths:
M src/lxc/mount_utils.c

Log Message:
-----------
mount_utils: remove conf.h include

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


Commit: 7b1836bce13d32343df9cc1bdb6e0205ef6f195d
https://github.com/lxc/lxc/commit/7b1836bce13d32343df9cc1bdb6e0205ef6f195d
Author: Christian Brauner <bra...@kernel.org>
Date: 2022-08-17 (Wed, 17 Aug 2022)

Changed paths:
M meson.build

Log Message:
-----------
build: prevent the inclusion of linux/mount.h with a hack

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


Commit: 589a930f15ec7b43ddf20b30cf615701c0a6d9b9
https://github.com/lxc/lxc/commit/589a930f15ec7b43ddf20b30cf615701c0a6d9b9
Author: Christian Brauner <bra...@kernel.org>
Date: 2022-08-17 (Wed, 17 Aug 2022)

Changed paths:
M src/lxc/attach.c
M src/lxc/caps.c
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup.c
M src/lxc/cgroups/cgroup_utils.c
M src/lxc/cmd/meson.build
M src/lxc/conf.c
M src/lxc/file_utils.c
M src/lxc/file_utils.h
M src/lxc/lsm/apparmor.c
M src/lxc/lsm/selinux.c
M src/lxc/lxccontainer.c
M src/lxc/meson.build
M src/lxc/mount_utils.c
A src/lxc/open_utils.h
M src/lxc/pam/meson.build
M src/lxc/storage/dir.c
M src/lxc/syscall_wrappers.h
M src/lxc/terminal.c
M src/lxc/utils.c

Log Message:
-----------
tree-wide: split open helpers into open_utils.h

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


Commit: 0453033fd49878daa3e07663e06ae4004dbdfa57
https://github.com/lxc/lxc/commit/0453033fd49878daa3e07663e06ae4004dbdfa57
Author: Stéphane Graber <stgr...@ubuntu.com>
Date: 2022-08-17 (Wed, 17 Aug 2022)

Changed paths:
M meson.build
M src/lxc/attach.c
M src/lxc/caps.c
M src/lxc/cgroups/cgfsng.c
M src/lxc/cgroups/cgroup.c
M src/lxc/cgroups/cgroup_utils.c
M src/lxc/cmd/meson.build
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/file_utils.c
M src/lxc/file_utils.h
M src/lxc/lsm/apparmor.c
M src/lxc/lsm/selinux.c
M src/lxc/lxccontainer.c
M src/lxc/macro.h
M src/lxc/mainloop.h
M src/lxc/meson.build
M src/lxc/mount_utils.c
M src/lxc/mount_utils.h
A src/lxc/open_utils.h
M src/lxc/pam/meson.build
M src/lxc/storage/dir.c
M src/lxc/syscall_wrappers.h
M src/lxc/terminal.c
M src/lxc/utils.c

Log Message:
-----------
Merge pull request #4184 from brauner/2022-08-17.fixes

tree-wide: include improvements


Compare: https://github.com/lxc/lxc/compare/1df889520424...0453033fd498
Reply all
Reply to author
Forward
0 new messages