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
060c4d45
Unverified
Commit
060c4d45
authored
Apr 08, 2020
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seccomp: newer kernels require the buffer to be zeroed
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
257f04ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
seccomp.c
src/lxc/seccomp.c
+1
-0
No files found.
src/lxc/seccomp.c
View file @
060c4d45
...
@@ -1354,6 +1354,7 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data,
...
@@ -1354,6 +1354,7 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data,
char
*
cookie
=
conf
->
seccomp
.
notifier
.
cookie
;
char
*
cookie
=
conf
->
seccomp
.
notifier
.
cookie
;
uint64_t
req_id
;
uint64_t
req_id
;
memset
(
req
,
0
,
sizeof
(
*
req
));
ret
=
seccomp_notify_receive
(
fd
,
req
);
ret
=
seccomp_notify_receive
(
fd
,
req
);
if
(
ret
)
{
if
(
ret
)
{
SYSERROR
(
"Failed to read seccomp notification"
);
SYSERROR
(
"Failed to read seccomp notification"
);
...
...
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