[lxc-devel] [lxc/lxc] 371802: tools: only check for O_RDONLY
GitHub
noreply at github.com
Wed Jan 4 16:30:12 UTC 2017
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 371802081a23d66f657dec0ccc00659f7b8263dd
https://github.com/lxc/lxc/commit/371802081a23d66f657dec0ccc00659f7b8263dd
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2017-01-04 (Wed, 04 Jan 2017)
Changed paths:
M src/lxc/tools/lxc_attach.c
M src/lxc/tools/lxc_copy.c
M src/lxc/tools/lxc_create.c
M src/lxc/tools/lxc_snapshot.c
M src/lxc/tools/lxc_start.c
Log Message:
-----------
tools: only check for O_RDONLY
On some Android systems the lxc folders where containers are stored might be
read-only and so checking for O_RDWR, will effectively make the tools useless
on these systems, so let's dumb the check down to O_RDONLY.
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Commit: 4484e6f80c75d8e1dcc6bacf304277e330f6d270
https://github.com/lxc/lxc/commit/4484e6f80c75d8e1dcc6bacf304277e330f6d270
Author: Stéphane Graber <stgraber at stgraber.org>
Date: 2017-01-04 (Wed, 04 Jan 2017)
Changed paths:
M src/lxc/tools/lxc_attach.c
M src/lxc/tools/lxc_copy.c
M src/lxc/tools/lxc_create.c
M src/lxc/tools/lxc_snapshot.c
M src/lxc/tools/lxc_start.c
Log Message:
-----------
Merge pull request #1379 from brauner/2017-01-04/fix_android
tools: only check for O_RDONLY
Compare: https://github.com/lxc/lxc/compare/4d690b8c5cf0...4484e6f80c75
More information about the lxc-devel
mailing list