Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 32 lines (30 sloc) 0.432 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 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
Something went wrong with that request. Please try again.