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
b49f36bc
Unverified
Commit
b49f36bc
authored
Feb 26, 2021
by
Stéphane Graber
Committed by
GitHub
Feb 26, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3700 from brauner/2021-02-26/fixes_2
small fixes
parents
88e27cd6
cfe6f435
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
af_unix.c
src/lxc/af_unix.c
+6
-0
start.c
src/lxc/start.c
+0
-0
No files found.
src/lxc/af_unix.c
View file @
b49f36bc
...
...
@@ -182,6 +182,12 @@ static ssize_t lxc_abstract_unix_recv_fds_iov(int fd,
if
(
hweight32
((
ret_fds
->
flags
&
~
UNIX_FDS_ACCEPT_NONE
))
>
1
)
return
ret_errno
(
EINVAL
);
if
(
ret_fds
->
fd_count_max
>=
KERNEL_SCM_MAX_FD
)
return
ret_errno
(
EINVAL
);
if
(
ret_fds
->
fd_count_ret
!=
0
)
return
ret_errno
(
EINVAL
);
cmsgbuf
=
zalloc
(
cmsgbufsize
);
if
(
!
cmsgbuf
)
return
ret_errno
(
ENOMEM
);
...
...
src/lxc/start.c
View file @
b49f36bc
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