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
19a50320
Unverified
Commit
19a50320
authored
May 06, 2019
by
Stéphane Graber
Committed by
GitHub
May 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2976 from brauner/2019-05-06/bugfixes
seccomp: document path calculation
parents
7e30d659
18847d37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
seccomp.c
src/lxc/seccomp.c
+4
-1
No files found.
src/lxc/seccomp.c
View file @
19a50320
...
...
@@ -1338,7 +1338,10 @@ int seccomp_notify_handler(int fd, uint32_t events, void *data,
__do_close_prot_errno
int
fd_mem
=
-
EBADF
;
int
reconnect_count
,
ret
;
ssize_t
bytes
;
char
mem_path
[
6
+
21
+
5
];
char
mem_path
[
6
/* /proc/ */
+
INTTYPE_TO_STRLEN
(
int64_t
)
+
3
/* mem */
+
1
/* \0 */
];
struct
lxc_handler
*
hdlr
=
data
;
struct
lxc_conf
*
conf
=
hdlr
->
conf
;
struct
seccomp_notif
*
req
=
conf
->
seccomp
.
notifier
.
req_buf
;
...
...
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