Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
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
zhul
criu
Commits
5fd13e04
Commit
5fd13e04
authored
Oct 24, 2011
by
Cyrill Gorcunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: Add __NR_rt_sigreturn
Signed-off-by:
Cyrill Gorcunov
<
gorcunov@gmail.com
>
parent
0259dd01
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
syscall-codes.h
include/syscall-codes.h
+1
-0
syscall.h
include/syscall.h
+9
-0
No files found.
include/syscall-codes.h
View file @
5fd13e04
...
...
@@ -12,6 +12,7 @@
#define __NR_mprotect 10
#define __NR_munmap 11
#define __NR_brk 12
#define __NR_rt_sigreturn 15
#define __NR_mincore 27
#define __NR_dup 32
#define __NR_dup2 33
...
...
include/syscall.h
View file @
5fd13e04
...
...
@@ -156,6 +156,15 @@ static long sys_read(unsigned long fd, void *buf, unsigned long count)
return
syscall3
(
__NR_read
,
fd
,
(
unsigned
long
)
buf
,
count
);
}
/*
* Note this call expects a signal frame on stack
* (regs->sp) so be very carefull here!
*/
static
long
sys_rt_sigreturn
(
void
)
{
return
syscall0
(
__NR_rt_sigreturn
);
}
#else
/* CONFIG_X86_64 */
# error x86-32 bit mode not yet implemented
#endif
/* CONFIG_X86_64 */
...
...
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