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 calls.S. | 5 // Generated from the Linux kernel's calls.S. |
6 #ifndef SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | 6 #ifndef SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ |
7 #define SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | 7 #define SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ |
8 | 8 |
9 #if !defined(__arm__) || !defined(__ARM_EABI__) | 9 #if !defined(__arm__) || !defined(__ARM_EABI__) |
10 #error "Including header on wrong architecture" | 10 #error "Including header on wrong architecture" |
(...skipping 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1340 #endif | 1340 #endif |
1341 | 1341 |
1342 #if !defined(__NR_process_vm_readv) | 1342 #if !defined(__NR_process_vm_readv) |
1343 #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) | 1343 #define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) |
1344 #endif | 1344 #endif |
1345 | 1345 |
1346 #if !defined(__NR_process_vm_writev) | 1346 #if !defined(__NR_process_vm_writev) |
1347 #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) | 1347 #define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) |
1348 #endif | 1348 #endif |
1349 | 1349 |
| 1350 #if !defined(__NR_kcmp) |
| 1351 #define __NR_kcmp (__NR_SYSCALL_BASE+378) |
| 1352 #endif |
| 1353 |
| 1354 #if !defined(__NR_finit_module) |
| 1355 #define __NR_finit_module (__NR_SYSCALL_BASE+379) |
| 1356 #endif |
| 1357 |
| 1358 #if !defined(__NR_sched_setattr) |
| 1359 #define __NR_sched_setattr (__NR_SYSCALL_BASE+380) |
| 1360 #endif |
| 1361 |
| 1362 #if !defined(__NR_sched_getattr) |
| 1363 #define __NR_sched_getattr (__NR_SYSCALL_BASE+381) |
| 1364 #endif |
| 1365 |
| 1366 #if !defined(__NR_renameat2) |
| 1367 #define __NR_renameat2 (__NR_SYSCALL_BASE+382) |
| 1368 #endif |
| 1369 |
| 1370 #if !defined(__NR_seccomp) |
| 1371 #define __NR_seccomp (__NR_SYSCALL_BASE+383) |
| 1372 #endif |
| 1373 |
1350 // ARM private syscalls. | 1374 // ARM private syscalls. |
1351 #if !defined(__ARM_NR_breakpoint) | 1375 #if !defined(__ARM_NR_breakpoint) |
1352 #define __ARM_NR_breakpoint (__ARM_NR_BASE+1) | 1376 #define __ARM_NR_breakpoint (__ARM_NR_BASE+1) |
1353 #endif | 1377 #endif |
1354 | 1378 |
1355 #if !defined(__ARM_NR_cacheflush) | 1379 #if !defined(__ARM_NR_cacheflush) |
1356 #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) | 1380 #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) |
1357 #endif | 1381 #endif |
1358 | 1382 |
1359 #if !defined(__ARM_NR_usr26) | 1383 #if !defined(__ARM_NR_usr26) |
1360 #define __ARM_NR_usr26 (__ARM_NR_BASE+3) | 1384 #define __ARM_NR_usr26 (__ARM_NR_BASE+3) |
1361 #endif | 1385 #endif |
1362 | 1386 |
1363 #if !defined(__ARM_NR_usr32) | 1387 #if !defined(__ARM_NR_usr32) |
1364 #define __ARM_NR_usr32 (__ARM_NR_BASE+4) | 1388 #define __ARM_NR_usr32 (__ARM_NR_BASE+4) |
1365 #endif | 1389 #endif |
1366 | 1390 |
1367 #if !defined(__ARM_NR_set_tls) | 1391 #if !defined(__ARM_NR_set_tls) |
1368 #define __ARM_NR_set_tls (__ARM_NR_BASE+5) | 1392 #define __ARM_NR_set_tls (__ARM_NR_BASE+5) |
1369 #endif | 1393 #endif |
1370 | 1394 |
1371 // ARM kernel private syscall. | 1395 // ARM kernel private syscall. |
1372 #if !defined(__ARM_NR_cmpxchg) | 1396 #if !defined(__ARM_NR_cmpxchg) |
1373 #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) | 1397 #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) |
1374 #endif | 1398 #endif |
1375 | 1399 |
1376 #endif // SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ | 1400 #endif // SANDBOX_LINUX_SERVICES_ARM_LINUX_SYSCALLS_H_ |
1377 | 1401 |
OLD | NEW |