diff options
Diffstat (limited to 'ldso/ldso/syscall.h')
-rw-r--r-- | ldso/ldso/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ldso/ldso/syscall.h b/ldso/ldso/syscall.h index 4e4d4c118..6678e2c74 100644 --- a/ldso/ldso/syscall.h +++ b/ldso/ldso/syscall.h @@ -41,6 +41,7 @@ static inline void * _dl_mmap(void * addr, unsigned long size, int prot, #define __NR__dl_open __NR_open +#define O_RDONLY 0x0000 static inline _syscall2(int, _dl_open, const char *, fn, int, flags); #define __NR__dl_write __NR_write @@ -66,6 +67,7 @@ static inline _syscall3(int, _dl_mprotect, const void *, addr, unsigned long, le #include <asm/stat.h> #undef new_stat #undef stat +#define S_ISUID 04000 /* Set user ID on execution. */ static inline _syscall2(int, _dl_stat, const char *, file_name, struct kernel_stat *, buf); |