diff options
author | Andrei Popescu <andreip@google.com> | 2010-02-25 13:27:46 +0000 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2010-03-02 11:43:24 +0000 |
commit | eb9d5ed3477ef8cd9ccfa424ea585541ea3af84a (patch) | |
tree | 57860bc44d54d743b05f8a7680267170af3f3069 /libc/include | |
parent | 8f8b5310d2c3fe8782377bd66b65ed14dc6511a4 (diff) | |
download | bionic-eb9d5ed3477ef8cd9ccfa424ea585541ea3af84a.zip bionic-eb9d5ed3477ef8cd9ccfa424ea585541ea3af84a.tar.gz bionic-eb9d5ed3477ef8cd9ccfa424ea585541ea3af84a.tar.bz2 |
add sigaltstack syscall
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/sys/linux-syscalls.h | 1 | ||||
-rw-r--r-- | libc/include/sys/linux-unistd.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/sys/linux-syscalls.h b/libc/include/sys/linux-syscalls.h index c4e6e45..30c58fd 100644 --- a/libc/include/sys/linux-syscalls.h +++ b/libc/include/sys/linux-syscalls.h @@ -42,6 +42,7 @@ #define __NR_prctl (__NR_SYSCALL_BASE + 172) #define __NR_capget (__NR_SYSCALL_BASE + 184) #define __NR_capset (__NR_SYSCALL_BASE + 185) +#define __NR_sigaltstack (__NR_SYSCALL_BASE + 186) #define __NR_acct (__NR_SYSCALL_BASE + 51) #define __NR_read (__NR_SYSCALL_BASE + 3) #define __NR_write (__NR_SYSCALL_BASE + 4) diff --git a/libc/include/sys/linux-unistd.h b/libc/include/sys/linux-unistd.h index f48dbcd..d6f706b 100644 --- a/libc/include/sys/linux-unistd.h +++ b/libc/include/sys/linux-unistd.h @@ -48,6 +48,7 @@ int chroot (const char *); int prctl (int option, unsigned int arg2, unsigned int arg3, unsigned int arg4, unsigned int arg5); int capget (cap_user_header_t header, cap_user_data_t data); int capset (cap_user_header_t header, const cap_user_data_t data); +int sigaltstack (const stack_t*, stack_t*); int acct (const char* filepath); ssize_t read (int, void*, size_t); ssize_t write (int, const void*, size_t); |