Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
kraj committed Jun 9, 2021
1 parent bc87784 commit f829eb2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/seccomp-syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@
#define __PNR_renameat -10242
#define __PNR_riscv_flush_icache -10243
#define __PNR_fstat -10244
#define __PNR_quotactl_path -10245
#define __PNR_futex -10245
#define __PNR_nanosleep -10246
#define __PNR_quotactl_path -10247

/*
* libseccomp syscall definitions
Expand Down Expand Up @@ -714,6 +716,8 @@

#ifdef __NR_futex
#define __SNR_futex __NR_futex
#else
#define __SNR_futex __PNR_futex
#endif

#ifdef __NR_futex_time64
Expand Down Expand Up @@ -1224,6 +1228,8 @@

#ifdef __NR_nanosleep
#define __SNR_nanosleep __NR_nanosleep
#else
#define __SNR_nanosleep __PNR_nanosleep
#endif

#ifdef __NR_newfstatat
Expand Down

0 comments on commit f829eb2

Please sign in to comment.