Skip to content

Commit

Permalink
add lost __PNR_fstat
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed Jun 8, 2022
1 parent 3882bf6 commit 4c2df8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/seccomp-syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@
#define __PNR_renameat -10242
#define __PNR_riscv_flush_icache -10243
#define __PNR_memfd_secret -10244
#define __PNR_fstat -10245

/*
* libseccomp syscall definitions
Expand Down Expand Up @@ -723,6 +724,8 @@
#define __SNR_futex_time64 __PNR_futex_time64
#endif

#define __SNR_futex_waitv __NR_futex_waitv

#ifdef __NR_futimesat
#define __SNR_futimesat __NR_futimesat
#else
Expand Down Expand Up @@ -1723,6 +1726,8 @@
#define __SNR_set_mempolicy __PNR_set_mempolicy
#endif

#define __SNR_set_mempolicy_home_node __NR_set_mempolicy_home_node

#define __SNR_set_robust_list __NR_set_robust_list

#ifdef __NR_set_thread_area
Expand Down

0 comments on commit 4c2df8d

Please sign in to comment.