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
cfc3b342
Unverified
Commit
cfc3b342
authored
Jul 08, 2019
by
Christian Brauner
Committed by
GitHub
Jul 08, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3085 from Blub/pidfd_send_signal-fixup
pidf_send_signal: fix return value
parents
aab6e3eb
cf38fe06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
raw_syscalls.c
src/lxc/raw_syscalls.c
+2
-2
No files found.
src/lxc/raw_syscalls.c
View file @
cfc3b342
...
@@ -125,9 +125,9 @@ int lxc_raw_pidfd_send_signal(int pidfd, int sig, siginfo_t *info,
...
@@ -125,9 +125,9 @@ int lxc_raw_pidfd_send_signal(int pidfd, int sig, siginfo_t *info,
unsigned
int
flags
)
unsigned
int
flags
)
{
{
#ifdef __NR_pidfd_send_signal
#ifdef __NR_pidfd_send_signal
syscall
(
__NR_pidfd_send_signal
,
pidfd
,
sig
,
info
,
flags
);
return
syscall
(
__NR_pidfd_send_signal
,
pidfd
,
sig
,
info
,
flags
);
#else
#else
errno
=
ENOSYS
;
errno
=
ENOSYS
;
#endif
return
-
1
;
return
-
1
;
#endif
}
}
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