Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
8e5d1759
Unverified
Commit
8e5d1759
authored
Feb 01, 2021
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
file_utils: remove O_NOFOLLOW from open_at() defaults
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
6fc8a0dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
file_utils.c
src/lxc/file_utils.c
+1
-1
No files found.
src/lxc/file_utils.c
View file @
8e5d1759
...
...
@@ -639,7 +639,7 @@ int open_at(int dfd, const char *path, unsigned int o_flags,
if
(
errno
!=
ENOSYS
)
return
-
errno
;
return
openat
(
dfd
,
path
,
O_NOFOLLOW
|
o_flags
,
mode
);
return
openat
(
dfd
,
path
,
o_flags
,
mode
);
}
int
fd_make_nonblocking
(
int
fd
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment