[lxc/lxc] 88bc42: storage: fix dup_cloexec() call

0 views
Skip to first unread message

Christian Brauner

unread,
Apr 30, 2021, 10:19:48 AMApr 30
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/stable-4.0
Home: https://github.com/lxc/lxc
Commit: 88bc42b4144a888847e83753a8ae40839c27af4e
https://github.com/lxc/lxc/commit/88bc42b4144a888847e83753a8ae40839c27af4e
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-30 (Fri, 30 Apr 2021)

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

Log Message:
-----------
storage: fix dup_cloexec() call

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


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

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

Log Message:
-----------
cgroups: fix fallback attach codepath

When we attach to an old server the server can return ENOSYS instead of
ENOCGROUP2 which causes LXC to abort the attach unnecessary. Fix this!

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


Compare: https://github.com/lxc/lxc/compare/a751b90b1780...9b30530b3216
Reply all
Reply to author
Forward
0 new messages