[lxc-devel] [lxc/lxc] 7166ab: file_utils: add open_at()
Stéphane Graber
noreply at github.com
Mon Feb 1 20:26:27 UTC 2021
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 7166ab759e3137cf338bb127f2e7400d7d0ce362
https://github.com/lxc/lxc/commit/7166ab759e3137cf338bb127f2e7400d7d0ce362
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/file_utils.c
M src/lxc/file_utils.h
Log Message:
-----------
file_utils: add open_at()
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: cce677d168761da7a1e979bd396a63638c859c50
https://github.com/lxc/lxc/commit/cce677d168761da7a1e979bd396a63638c859c50
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/file_utils.c
M src/lxc/file_utils.h
M src/lxc/syscall_wrappers.h
Log Message:
-----------
syscall_wrappers: add PROTECT_LOOKUP, PROTECT_OPEN, PROTECT_LOOKUP_WITH_SYMLINKS, PROTECT_OPEN_WITH_TRAILING_SYMLINKS
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 5129b2d3edcaef2feebdb80ae478f3268cfba454
https://github.com/lxc/lxc/commit/5129b2d3edcaef2feebdb80ae478f3268cfba454
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/attach.c
M src/lxc/file_utils.c
M src/lxc/file_utils.h
Log Message:
-----------
attach: harden open calls
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 46bf13b7c35fb26186ec31dba971e1ddaeec66c4
https://github.com/lxc/lxc/commit/46bf13b7c35fb26186ec31dba971e1ddaeec66c4
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/cgroups/cgfsng.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
Log Message:
-----------
tree-wide: extend read_file_at()
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 6fc8a0dd822843fc96738f2b3c1c59e1c77fcd50
https://github.com/lxc/lxc/commit/6fc8a0dd822843fc96738f2b3c1c59e1c77fcd50
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/lsm/apparmor.c
M src/lxc/lsm/selinux.c
Log Message:
-----------
lsm: harden read_file_at()
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 8e5d175935cf9ac16dfa7949a8b4f1f7e6535908
https://github.com/lxc/lxc/commit/8e5d175935cf9ac16dfa7949a8b4f1f7e6535908
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/file_utils.c
Log Message:
-----------
file_utils: remove O_NOFOLLOW from open_at() defaults
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 6f0c2cea14d0a573a0a7cefd5661fe7d30887caa
https://github.com/lxc/lxc/commit/6f0c2cea14d0a573a0a7cefd5661fe7d30887caa
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/attach.c
Log Message:
-----------
attach: file descriptor based fdinfo handling
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 32947602fd7b370fdc5fa916cc8e90fe4ecbcefd
https://github.com/lxc/lxc/commit/32947602fd7b370fdc5fa916cc8e90fe4ecbcefd
Author: Stéphane Graber <stgraber at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/attach.c
M src/lxc/cgroups/cgfsng.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/syscall_wrappers.h
Log Message:
-----------
Merge pull request #3644 from brauner/2021-02-01/fixes_3
attach: harden open() calls
Compare: https://github.com/lxc/lxc/compare/42673edd0503...32947602fd7b
More information about the lxc-devel
mailing list