mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 22:42:04 +01:00
util: Add __NR_copy_file_range syscall constant for sandbox
Kernel 4.4.0 doesn't define this.
This commit is contained in:
parent
113b863f07
commit
64085b37f8
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ bool g_syscall_sandbox_log_violation_before_terminating{false};
|
|||
#define __NR_membarrier 324
|
||||
#endif
|
||||
|
||||
#ifndef __NR_copy_file_range
|
||||
#define __NR_copy_file_range 326
|
||||
#endif
|
||||
|
||||
// This list of syscalls in LINUX_SYSCALLS is only used to map syscall numbers to syscall names in
|
||||
// order to be able to print user friendly error messages which include the syscall name in addition
|
||||
// to the syscall number.
|
||||
|
|
Loading…
Add table
Reference in a new issue