"Fossies" - the Fresh Open Source Software Archive

Member "reptyr-reptyr-0.8.0/platform/freebsd/arch/default-syscalls.h" (29 Sep 2020, 561 Bytes) of package /linux/privat/reptyr-reptyr-0.8.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "default-syscalls.h" see the Fossies "Dox" file reference documentation.

    1 #define SC(name) .nr_##name = SYS_##name
    2 
    3 {
    4 #ifdef SYS_mmap2
    5     .nr_mmap = -1,
    6     SC(mmap2),
    7 #else
    8     SC(mmap),
    9     .nr_mmap2 = -1,
   10 #endif
   11     SC(munmap),
   12     SC(getsid),
   13     SC(setsid),
   14     SC(setpgid),
   15     SC(fork),
   16     .nr_clone = -1,
   17     SC(wait4),
   18 #ifdef SYS_signal
   19     SC(signal),
   20 #else
   21      .nr_signal = -1,
   22 #endif
   23     .nr_rt_sigaction = SYS_sigaction,
   24     SC(openat),
   25     SC(close),
   26     SC(ioctl),
   27     SC(dup2),
   28     .nr_dup3 = -1,
   29 #ifdef SYS_socketcall
   30     SC(socketcall),
   31 #else
   32     SC(socket),
   33     SC(connect),
   34     SC(sendmsg),
   35 #endif
   36 },
   37 
   38 #undef SC