Skip to content
Snippets Groups Projects
Unverified Commit 5474d22b authored by Alberto Miranda's avatar Alberto Miranda :hotsprings:
Browse files

Add missing ifdef for SYS_execveat

parent b0dd25c7
No related branches found
No related tags found
2 merge requests!29Resolve "Replace Margo with Mercury in client code",!17Resolve "Replace Margo with Mercury in client code"
Pipeline #652 failed
...@@ -87,8 +87,11 @@ always_returns(const long syscall_number) { ...@@ -87,8 +87,11 @@ always_returns(const long syscall_number) {
static inline bool static inline bool
may_not_return(const long syscall_number) { may_not_return(const long syscall_number) {
return syscall_number == SYS_execve || return syscall_number == SYS_execve
syscall_number == SYS_execveat; #ifdef SYS_execveat
|| syscall_number == SYS_execveat
#endif
;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment