projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624512f
)
prepare-root: Add another missing O_CLOEXEC
author
Colin Walters
<walters@verbum.org>
Fri, 2 Jun 2023 17:10:12 +0000
(13:10 -0400)
committer
Colin Walters
<walters@verbum.org>
Fri, 2 Jun 2023 17:10:12 +0000
(13:10 -0400)
src/switchroot/ostree-prepare-root.c
patch
|
blob
|
history
diff --git
a/src/switchroot/ostree-prepare-root.c
b/src/switchroot/ostree-prepare-root.c
index 136502cc06e574d67e7942ad6d3f1c7639f4ffc7..0c8c6dd767560d9f11e91fba52b927b7c8cbb3fb 100644
(file)
--- a/
src/switchroot/ostree-prepare-root.c
+++ b/
src/switchroot/ostree-prepare-root.c
@@
-315,7
+315,7
@@
main (int argc, char *argv[])
int cfs_fd;
unsigned cfs_flags;
- cfs_fd = open (".ostree.cfs", O_RDONLY);
+ cfs_fd = open (".ostree.cfs", O_RDONLY
| O_CLOEXEC
);
if (cfs_fd < 0)
{
if (errno == ENOENT)