OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Generated from the Linux kernel's syscall_64.tbl. | 5 // Generated from the Linux kernel's syscall_64.tbl. |
6 #ifndef SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_ | 6 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_SYSCALLS_H_ |
7 #define SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_ | 7 #define SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_SYSCALLS_H_ |
8 | 8 |
9 #if !defined(__x86_64__) | 9 #if !defined(__x86_64__) |
10 #error "Including header on wrong architecture" | 10 #error "Including header on wrong architecture" |
11 #endif | 11 #endif |
12 | 12 |
13 #if !defined(__NR_read) | 13 #if !defined(__NR_read) |
14 #define __NR_read 0 | 14 #define __NR_read 0 |
15 #endif | 15 #endif |
16 | 16 |
17 #if !defined(__NR_write) | 17 #if !defined(__NR_write) |
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1283 #endif | 1283 #endif |
1284 | 1284 |
1285 #if !defined(__NR_getrandom) | 1285 #if !defined(__NR_getrandom) |
1286 #define __NR_getrandom 318 | 1286 #define __NR_getrandom 318 |
1287 #endif | 1287 #endif |
1288 | 1288 |
1289 #if !defined(__NR_memfd_create) | 1289 #if !defined(__NR_memfd_create) |
1290 #define __NR_memfd_create 319 | 1290 #define __NR_memfd_create 319 |
1291 #endif | 1291 #endif |
1292 | 1292 |
1293 #endif // SANDBOX_LINUX_SERVICES_X86_64_LINUX_SYSCALLS_H_ | 1293 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_SYSCALLS_H_ |
1294 | 1294 |
OLD | NEW |