[lxc-devel] [lxc/lxc] a60d8c: file_utils: add fdopenat()
Stéphane Graber
noreply at github.com
Mon Feb 1 15:17:37 UTC 2021
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: a60d8c4ea7e77897e79fe91421490a55bb850ea1
https://github.com/lxc/lxc/commit/a60d8c4ea7e77897e79fe91421490a55bb850ea1
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/utils.c
M src/lxc/utils.h
Log Message:
-----------
file_utils: add fdopenat()
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 9680e7b062ff3e947bd3e0460d76758d44f15bb4
https://github.com/lxc/lxc/commit/9680e7b062ff3e947bd3e0460d76758d44f15bb4
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: unifiy /proc/<init-pid>/status parsing
and move it out of do_attach(). The less we do in the container's context the
better.
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: bac33ebdcbe881147ba1a2b5cd32bd98d94f9ddb
https://github.com/lxc/lxc/commit/bac33ebdcbe881147ba1a2b5cd32bd98d94f9ddb
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: initialize init_pid field to -ESRCH
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 4475fabb0edf30b1a4d269373d63d6401a67bbd1
https://github.com/lxc/lxc/commit/4475fabb0edf30b1a4d269373d63d6401a67bbd1
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: move uid and gid handling to get_attach_context()
the less we do in do_attach(), the better.
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 595798bbcae788d38390ccd457269c6632344928
https://github.com/lxc/lxc/commit/595798bbcae788d38390ccd457269c6632344928
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: simplify opening of /proc/self
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 20718e3987967f800f8171b812fb153a68e1aec2
https://github.com/lxc/lxc/commit/20718e3987967f800f8171b812fb153a68e1aec2
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: document attach_context
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 7e90889dbd2869a08ef4e7eb1c7dd3663a7d0412
https://github.com/lxc/lxc/commit/7e90889dbd2869a08ef4e7eb1c7dd3663a7d0412
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Changed paths:
M src/lxc/utils.c
Log Message:
-----------
utils: use SYSTRACE() when logging stdio permission fixup failures
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: a7563434ac69693305f217e41c2ed819634c3777
https://github.com/lxc/lxc/commit/a7563434ac69693305f217e41c2ed819634c3777
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: log failues to dup2() with SYSDEBUG()
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 93b9960a09c63b67df64aa6baeeba61d09fecb71
https://github.com/lxc/lxc/commit/93b9960a09c63b67df64aa6baeeba61d09fecb71
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: fix logging for stdfd replacement
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 40301d4895f0ca4f43d0aa1060e7d3c40e1ec562
https://github.com/lxc/lxc/commit/40301d4895f0ca4f43d0aa1060e7d3c40e1ec562
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: fix error checking for dup2()
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 3ac4480a6cd2f9a44c4c8e60b9924b42e47d4ab5
https://github.com/lxc/lxc/commit/3ac4480a6cd2f9a44c4c8e60b9924b42e47d4ab5
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: stash host uid and host gid in attach_context
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 42673edd05035c7d90cf1fcfd6d16c22bdfa29c2
https://github.com/lxc/lxc/commit/42673edd05035c7d90cf1fcfd6d16c22bdfa29c2
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/file_utils.c
M src/lxc/file_utils.h
M src/lxc/utils.c
M src/lxc/utils.h
Log Message:
-----------
Merge pull request #3642 from brauner/2021-02-01/fixes
attach: rework id handling
Compare: https://github.com/lxc/lxc/compare/2b5259634ae5...42673edd0503
More information about the lxc-devel
mailing list