Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
258 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#define SC(name) .nr_##name = __NR_##name | ||
|
||
{ | ||
#ifdef __NR_mmap | ||
SC(mmap), | ||
#else | ||
.nr_mmap = -1, | ||
#endif | ||
#ifdef __NR_mmap2 | ||
SC(mmap2), | ||
#else | ||
.nr_mmap2 = -1, | ||
#endif | ||
SC(munmap), | ||
SC(getsid), | ||
SC(setsid), | ||
SC(setpgid), | ||
SC(fork), | ||
SC(wait4), | ||
#ifdef __NR_signal | ||
SC(signal), | ||
#else | ||
.nr_signal = -1, | ||
#endif | ||
SC(rt_sigaction), | ||
SC(open), | ||
SC(close), | ||
SC(ioctl), | ||
SC(dup2), | ||
}, | ||
|
||
#undef SC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.