diff options
Diffstat (limited to 'include/ssp-internal.h')
-rw-r--r-- | include/ssp-internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ssp-internal.h b/include/ssp-internal.h index bff304fe1..81a83f70c 100644 --- a/include/ssp-internal.h +++ b/include/ssp-internal.h @@ -23,8 +23,8 @@ #ifndef __SSP_QUICK_CANARY__ #define __NR___kernel_open __NR_open -static __always_inline _syscall2(int,__kernel_open,const char *,path,int,flags); -#define OPEN(path, flags) __kernel_open(path, flags) +static __always_inline _syscall3(int,__kernel_open,const char *,path,int,flags,__kernel_mode_t,mode); +#define OPEN(path, flags, mode) __kernel_open(path, flags, mode) /* void * = __ptr_t */ #define __NR___kernel_read __NR_read |