]>
iEval git - linux-seccomp.git/blob - libseccomp/include/seccomp.h.in
4 * Copyright (c) 2012,2013 Red Hat <pmoore@redhat.com>
5 * Author: Paul Moore <paul@paul-moore.com>
9 * This library is free software; you can redistribute it and/or modify it
10 * under the terms of version 2.1 of the GNU Lesser General Public License as
11 * published by the Free Software Foundation.
13 * This library is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library; if not, see <http://www.gnu.org/licenses>.
27 #include <asm/unistd.h>
28 #include <linux/audit.h>
38 #define SCMP_VER_MAJOR @VERSION_MAJOR@
39 #define SCMP_VER_MINOR @VERSION_MINOR@
40 #define SCMP_VER_MICRO @VERSION_MICRO@
53 * Filter context/handle
55 typedef void *scmp_filter_ctx
;
60 enum scmp_filter_attr
{
62 SCMP_FLTATR_ACT_DEFAULT
= 1, /**< default filter action */
63 SCMP_FLTATR_ACT_BADARCH
= 2, /**< bad architecture action */
64 SCMP_FLTATR_CTL_NNP
= 3, /**< set NO_NEW_PRIVS on filter load */
65 SCMP_FLTATR_CTL_TSYNC
= 4, /**< sync threads on filter load */
70 * Comparison operators
74 SCMP_CMP_NE
= 1, /**< not equal */
75 SCMP_CMP_LT
= 2, /**< less than */
76 SCMP_CMP_LE
= 3, /**< less than or equal */
77 SCMP_CMP_EQ
= 4, /**< equal */
78 SCMP_CMP_GE
= 5, /**< greater than or equal */
79 SCMP_CMP_GT
= 6, /**< greater than */
80 SCMP_CMP_MASKED_EQ
= 7, /**< masked equality */
87 typedef uint64_t scmp_datum_t
;
90 * Argument / Value comparison definition
93 unsigned int arg
; /**< argument number, starting at 0 */
94 enum scmp_compare op
; /**< the comparison op, e.g. SCMP_CMP_* */
104 * The native architecture token
106 #define SCMP_ARCH_NATIVE 0
109 * The x86 (32-bit) architecture token
111 #define SCMP_ARCH_X86 AUDIT_ARCH_I386
114 * The x86-64 (64-bit) architecture token
116 #define SCMP_ARCH_X86_64 AUDIT_ARCH_X86_64
119 * The x32 (32-bit x86_64) architecture token
121 * NOTE: this is different from the value used by the kernel because we need to
122 * be able to distinguish between x32 and x86_64
124 #define SCMP_ARCH_X32 (EM_X86_64|__AUDIT_ARCH_LE)
127 * The ARM architecture tokens
129 #define SCMP_ARCH_ARM AUDIT_ARCH_ARM
130 /* AArch64 support for audit was merged in 3.17-rc1 */
131 #ifndef AUDIT_ARCH_AARCH64
133 #define EM_AARCH64 183
134 #endif /* EM_AARCH64 */
135 #define AUDIT_ARCH_AARCH64 (EM_AARCH64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
136 #endif /* AUDIT_ARCH_AARCH64 */
137 #define SCMP_ARCH_AARCH64 AUDIT_ARCH_AARCH64
140 * The MIPS architecture tokens
142 #ifndef __AUDIT_ARCH_CONVENTION_MIPS64_N32
143 #define __AUDIT_ARCH_CONVENTION_MIPS64_N32 0x20000000
148 #ifndef AUDIT_ARCH_MIPS
149 #define AUDIT_ARCH_MIPS (EM_MIPS)
151 #ifndef AUDIT_ARCH_MIPS64
152 #define AUDIT_ARCH_MIPS64 (EM_MIPS|__AUDIT_ARCH_64BIT)
154 /* MIPS64N32 support was merged in 3.15 */
155 #ifndef AUDIT_ARCH_MIPS64N32
156 #define AUDIT_ARCH_MIPS64N32 (EM_MIPS|__AUDIT_ARCH_64BIT|\
157 __AUDIT_ARCH_CONVENTION_MIPS64_N32)
159 /* MIPSEL64N32 support was merged in 3.15 */
160 #ifndef AUDIT_ARCH_MIPSEL64N32
161 #define AUDIT_ARCH_MIPSEL64N32 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE|\
162 __AUDIT_ARCH_CONVENTION_MIPS64_N32)
164 #define SCMP_ARCH_MIPS AUDIT_ARCH_MIPS
165 #define SCMP_ARCH_MIPS64 AUDIT_ARCH_MIPS64
166 #define SCMP_ARCH_MIPS64N32 AUDIT_ARCH_MIPS64N32
167 #define SCMP_ARCH_MIPSEL AUDIT_ARCH_MIPSEL
168 #define SCMP_ARCH_MIPSEL64 AUDIT_ARCH_MIPSEL64
169 #define SCMP_ARCH_MIPSEL64N32 AUDIT_ARCH_MIPSEL64N32
172 * The PowerPC architecture tokens
174 #define SCMP_ARCH_PPC AUDIT_ARCH_PPC
175 #define SCMP_ARCH_PPC64 AUDIT_ARCH_PPC64
176 #ifndef AUDIT_ARCH_PPC64LE
177 #define AUDIT_ARCH_PPC64LE (EM_PPC64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
179 #define SCMP_ARCH_PPC64LE AUDIT_ARCH_PPC64LE
182 * The S390 architecture tokens
184 #define SCMP_ARCH_S390 AUDIT_ARCH_S390
185 #define SCMP_ARCH_S390X AUDIT_ARCH_S390X
188 * Convert a syscall name into the associated syscall number
189 * @param x the syscall name
191 #define SCMP_SYS(x) (__NR_##x)
194 * Specify an argument comparison struct for use in declaring rules
195 * @param arg the argument number, starting at 0
196 * @param op the comparison operator, e.g. SCMP_CMP_*
197 * @param datum_a dependent on comparison
198 * @param datum_b dependent on comparison, optional
200 #define SCMP_CMP(...) ((struct scmp_arg_cmp){__VA_ARGS__})
203 * Specify an argument comparison struct for argument 0
205 #define SCMP_A0(...) SCMP_CMP(0, __VA_ARGS__)
208 * Specify an argument comparison struct for argument 1
210 #define SCMP_A1(...) SCMP_CMP(1, __VA_ARGS__)
213 * Specify an argument comparison struct for argument 2
215 #define SCMP_A2(...) SCMP_CMP(2, __VA_ARGS__)
218 * Specify an argument comparison struct for argument 3
220 #define SCMP_A3(...) SCMP_CMP(3, __VA_ARGS__)
223 * Specify an argument comparison struct for argument 4
225 #define SCMP_A4(...) SCMP_CMP(4, __VA_ARGS__)
228 * Specify an argument comparison struct for argument 5
230 #define SCMP_A5(...) SCMP_CMP(5, __VA_ARGS__)
239 #define SCMP_ACT_KILL 0x00000000U
241 * Throw a SIGSYS signal
243 #define SCMP_ACT_TRAP 0x00030000U
245 * Return the specified error code
247 #define SCMP_ACT_ERRNO(x) (0x00050000U | ((x) & 0x0000ffffU))
249 * Notify a tracing process with the specified value
251 #define SCMP_ACT_TRACE(x) (0x7ff00000U | ((x) & 0x0000ffffU))
253 * Allow the syscall to be executed
255 #define SCMP_ACT_ALLOW 0x7fff0000U
262 * Query the library version information
264 * This function returns a pointer to a populated scmp_version struct, the
265 * caller does not need to free the structure when finished.
268 const struct scmp_version
*seccomp_version(void);
271 * Initialize the filter state
272 * @param def_action the default filter action
274 * This function initializes the internal seccomp filter state and should
275 * be called before any other functions in this library to ensure the filter
276 * state is initialized. Returns a filter context on success, NULL on failure.
279 scmp_filter_ctx
seccomp_init(uint32_t def_action
);
282 * Reset the filter state
283 * @param ctx the filter context
284 * @param def_action the default filter action
286 * This function resets the given seccomp filter state and ensures the
287 * filter state is reinitialized. This function does not reset any seccomp
288 * filters already loaded into the kernel. Returns zero on success, negative
292 int seccomp_reset(scmp_filter_ctx ctx
, uint32_t def_action
);
295 * Destroys the filter state and releases any resources
296 * @param ctx the filter context
298 * This functions destroys the given seccomp filter state and releases any
299 * resources, including memory, associated with the filter state. This
300 * function does not reset any seccomp filters already loaded into the kernel.
301 * The filter context can no longer be used after calling this function.
304 void seccomp_release(scmp_filter_ctx ctx
);
308 * @param ctx_dst the destination filter context
309 * @param ctx_src the source filter context
311 * This function merges two filter contexts into a single filter context and
312 * destroys the second filter context. The two filter contexts must have the
313 * same attribute values and not contain any of the same architectures; if they
314 * do, the merge operation will fail. On success, the source filter context
315 * will be destroyed and should no longer be used; it is not necessary to
316 * call seccomp_release() on the source filter context. Returns zero on
317 * success, negative values on failure.
320 int seccomp_merge(scmp_filter_ctx ctx_dst
, scmp_filter_ctx ctx_src
);
323 * Resolve the architecture name to a architecture token
324 * @param arch_name the architecture name
326 * This function resolves the given architecture name to a token suitable for
327 * use with libseccomp, returns zero on failure.
330 uint32_t seccomp_arch_resolve_name(const char *arch_name
);
333 * Return the native architecture token
335 * This function returns the native architecture token value, e.g. SCMP_ARCH_*.
338 uint32_t seccomp_arch_native(void);
341 * Check to see if an existing architecture is present in the filter
342 * @param ctx the filter context
343 * @param arch_token the architecture token, e.g. SCMP_ARCH_*
345 * This function tests to see if a given architecture is included in the filter
346 * context. If the architecture token is SCMP_ARCH_NATIVE then the native
347 * architecture will be assumed. Returns zero if the architecture exists in
348 * the filter, -EEXIST if it is not present, and other negative values on
352 int seccomp_arch_exist(const scmp_filter_ctx ctx
, uint32_t arch_token
);
355 * Adds an architecture to the filter
356 * @param ctx the filter context
357 * @param arch_token the architecture token, e.g. SCMP_ARCH_*
359 * This function adds a new architecture to the given seccomp filter context.
360 * Any new rules added after this function successfully returns will be added
361 * to this architecture but existing rules will not be added to this
362 * architecture. If the architecture token is SCMP_ARCH_NATIVE then the native
363 * architecture will be assumed. Returns zero on success, negative values on
367 int seccomp_arch_add(scmp_filter_ctx ctx
, uint32_t arch_token
);
370 * Removes an architecture from the filter
371 * @param ctx the filter context
372 * @param arch_token the architecture token, e.g. SCMP_ARCH_*
374 * This function removes an architecture from the given seccomp filter context.
375 * If the architecture token is SCMP_ARCH_NATIVE then the native architecture
376 * will be assumed. Returns zero on success, negative values on failure.
379 int seccomp_arch_remove(scmp_filter_ctx ctx
, uint32_t arch_token
);
382 * Loads the filter into the kernel
383 * @param ctx the filter context
385 * This function loads the given seccomp filter context into the kernel. If
386 * the filter was loaded correctly, the kernel will be enforcing the filter
387 * when this function returns. Returns zero on success, negative values on
391 int seccomp_load(const scmp_filter_ctx ctx
);
394 * Get the value of a filter attribute
395 * @param ctx the filter context
396 * @param attr the filter attribute name
397 * @param value the filter attribute value
399 * This function fetches the value of the given attribute name and returns it
400 * via @value. Returns zero on success, negative values on failure.
403 int seccomp_attr_get(const scmp_filter_ctx ctx
,
404 enum scmp_filter_attr attr
, uint32_t *value
);
407 * Set the value of a filter attribute
408 * @param ctx the filter context
409 * @param attr the filter attribute name
410 * @param value the filter attribute value
412 * This function sets the value of the given attribute. Returns zero on
413 * success, negative values on failure.
416 int seccomp_attr_set(scmp_filter_ctx ctx
,
417 enum scmp_filter_attr attr
, uint32_t value
);
420 * Resolve a syscall number to a name
421 * @param arch_token the architecture token, e.g. SCMP_ARCH_*
422 * @param num the syscall number
424 * Resolve the given syscall number to the syscall name for the given
425 * architecture; it is up to the caller to free the returned string. Returns
426 * the syscall name on success, NULL on failure.
429 char *seccomp_syscall_resolve_num_arch(uint32_t arch_token
, int num
);
432 * Resolve a syscall name to a number
433 * @param arch_token the architecture token, e.g. SCMP_ARCH_*
434 * @param name the syscall name
436 * Resolve the given syscall name to the syscall number for the given
437 * architecture. Returns the syscall number on success, including negative
438 * pseudo syscall numbers (e.g. __PNR_*); returns __NR_SCMP_ERROR on failure.
441 int seccomp_syscall_resolve_name_arch(uint32_t arch_token
, const char *name
);
444 * Resolve a syscall name to a number and perform any rewriting necessary
445 * @param arch_token the architecture token, e.g. SCMP_ARCH_*
446 * @param name the syscall name
448 * Resolve the given syscall name to the syscall number for the given
449 * architecture and do any necessary syscall rewriting needed by the
450 * architecture. Returns the syscall number on success, including negative
451 * pseudo syscall numbers (e.g. __PNR_*); returns __NR_SCMP_ERROR on failure.
454 int seccomp_syscall_resolve_name_rewrite(uint32_t arch_token
, const char *name
);
457 * Resolve a syscall name to a number
458 * @param name the syscall name
460 * Resolve the given syscall name to the syscall number. Returns the syscall
461 * number on success, including negative pseudo syscall numbers (e.g. __PNR_*);
462 * returns __NR_SCMP_ERROR on failure.
465 int seccomp_syscall_resolve_name(const char *name
);
468 * Set the priority of a given syscall
469 * @param ctx the filter context
470 * @param syscall the syscall number
471 * @param priority priority value, higher value == higher priority
473 * This function sets the priority of the given syscall; this value is used
474 * when generating the seccomp filter code such that higher priority syscalls
475 * will incur less filter code overhead than the lower priority syscalls in the
476 * filter. Returns zero on success, negative values on failure.
479 int seccomp_syscall_priority(scmp_filter_ctx ctx
,
480 int syscall
, uint8_t priority
);
483 * Add a new rule to the filter
484 * @param ctx the filter context
485 * @param action the filter action
486 * @param syscall the syscall number
487 * @param arg_cnt the number of argument filters in the argument filter chain
488 * @param ... scmp_arg_cmp structs (use of SCMP_ARG_CMP() recommended)
490 * This function adds a series of new argument/value checks to the seccomp
491 * filter for the given syscall; multiple argument/value checks can be
492 * specified and they will be chained together (AND'd together) in the filter.
493 * If the specified rule needs to be adjusted due to architecture specifics it
494 * will be adjusted without notification. Returns zero on success, negative
498 int seccomp_rule_add(scmp_filter_ctx ctx
,
499 uint32_t action
, int syscall
, unsigned int arg_cnt
, ...);
503 * Add a new rule to the filter
504 * @param ctx the filter context
505 * @param action the filter action
506 * @param syscall the syscall number
507 * @param arg_cnt the number of elements in the arg_array parameter
508 * @param arg_array array of scmp_arg_cmp structs
510 * This function adds a series of new argument/value checks to the seccomp
511 * filter for the given syscall; multiple argument/value checks can be
512 * specified and they will be chained together (AND'd together) in the filter.
513 * If the specified rule needs to be adjusted due to architecture specifics it
514 * will be adjusted without notification. Returns zero on success, negative
518 int seccomp_rule_add_array(scmp_filter_ctx ctx
,
519 uint32_t action
, int syscall
, unsigned int arg_cnt
,
520 const struct scmp_arg_cmp
*arg_array
);
523 * Add a new rule to the filter
524 * @param ctx the filter context
525 * @param action the filter action
526 * @param syscall the syscall number
527 * @param arg_cnt the number of argument filters in the argument filter chain
528 * @param ... scmp_arg_cmp structs (use of SCMP_ARG_CMP() recommended)
530 * This function adds a series of new argument/value checks to the seccomp
531 * filter for the given syscall; multiple argument/value checks can be
532 * specified and they will be chained together (AND'd together) in the filter.
533 * If the specified rule can not be represented on the architecture the
534 * function will fail. Returns zero on success, negative values on failure.
537 int seccomp_rule_add_exact(scmp_filter_ctx ctx
, uint32_t action
,
538 int syscall
, unsigned int arg_cnt
, ...);
541 * Add a new rule to the filter
542 * @param ctx the filter context
543 * @param action the filter action
544 * @param syscall the syscall number
545 * @param arg_cnt the number of elements in the arg_array parameter
546 * @param arg_array array of scmp_arg_cmp structs
548 * This function adds a series of new argument/value checks to the seccomp
549 * filter for the given syscall; multiple argument/value checks can be
550 * specified and they will be chained together (AND'd together) in the filter.
551 * If the specified rule can not be represented on the architecture the
552 * function will fail. Returns zero on success, negative values on failure.
555 int seccomp_rule_add_exact_array(scmp_filter_ctx ctx
,
556 uint32_t action
, int syscall
,
557 unsigned int arg_cnt
,
558 const struct scmp_arg_cmp
*arg_array
);
561 * Generate seccomp Pseudo Filter Code (PFC) and export it to a file
562 * @param ctx the filter context
563 * @param fd the destination fd
565 * This function generates seccomp Pseudo Filter Code (PFC) and writes it to
566 * the given fd. Returns zero on success, negative values on failure.
569 int seccomp_export_pfc(const scmp_filter_ctx ctx
, int fd
);
572 * Generate seccomp Berkley Packet Filter (BPF) code and export it to a file
573 * @param ctx the filter context
574 * @param fd the destination fd
576 * This function generates seccomp Berkley Packer Filter (BPF) code and writes
577 * it to the given fd. Returns zero on success, negative values on failure.
580 int seccomp_export_bpf(const scmp_filter_ctx ctx
, int fd
);
583 * pseudo syscall definitions
586 /* NOTE - pseudo syscall values {-1..-99} are reserved */
587 #define __NR_SCMP_ERROR -1
588 #define __NR_SCMP_UNDEF -2
590 /* socket syscalls */
592 #define __PNR_socket -101
594 #define __NR_socket __PNR_socket
595 #endif /* __NR_socket */
597 #define __PNR_bind -102
599 #define __NR_bind __PNR_bind
600 #endif /* __NR_bind */
602 #define __PNR_connect -103
604 #define __NR_connect __PNR_connect
605 #endif /* __NR_connect */
607 #define __PNR_listen -104
609 #define __NR_listen __PNR_listen
610 #endif /* __NR_listen */
612 #define __PNR_accept -105
614 #define __NR_accept __PNR_accept
615 #endif /* __NR_accept */
617 #define __PNR_getsockname -106
618 #ifndef __NR_getsockname
619 #define __NR_getsockname __PNR_getsockname
620 #endif /* __NR_getsockname */
622 #define __PNR_getpeername -107
623 #ifndef __NR_getpeername
624 #define __NR_getpeername __PNR_getpeername
625 #endif /* __NR_getpeername */
627 #define __PNR_socketpair -108
628 #ifndef __NR_socketpair
629 #define __NR_socketpair __PNR_socketpair
630 #endif /* __NR_socketpair */
632 #define __PNR_send -109
634 #define __NR_send __PNR_send
635 #endif /* __NR_send */
637 #define __PNR_recv -110
639 #define __NR_recv __PNR_recv
640 #endif /* __NR_recv */
642 #define __PNR_sendto -111
644 #define __NR_sendto __PNR_sendto
645 #endif /* __NR_sendto */
647 #define __PNR_recvfrom -112
648 #ifndef __NR_recvfrom
649 #define __NR_recvfrom __PNR_recvfrom
650 #endif /* __NR_recvfrom */
652 #define __PNR_shutdown -113
653 #ifndef __NR_shutdown
654 #define __NR_shutdown __PNR_shutdown
655 #endif /* __NR_shutdown */
657 #define __PNR_setsockopt -114
658 #ifndef __NR_setsockopt
659 #define __NR_setsockopt __PNR_setsockopt
660 #endif /* __NR_getsockopt */
662 #define __PNR_getsockopt -115
663 #ifndef __NR_getsockopt
664 #define __NR_getsockopt __PNR_getsockopt
665 #endif /* __NR_getsockopt */
667 #define __PNR_sendmsg -116
669 #define __NR_sendmsg __PNR_sendmsg
670 #endif /* __NR_sendmsg */
672 #define __PNR_recvmsg -117
674 #define __NR_recvmsg __PNR_recvmsg
675 #endif /* __NR_recvmsg */
677 #define __PNR_accept4 -118
679 #define __NR_accept4 __PNR_accept4
680 #endif /* __NR_accept4 */
682 #define __PNR_recvmmsg -119
683 #ifndef __NR_recvmmsg
684 #define __NR_recvmmsg __PNR_recvmmsg
685 #endif /* __NR_recvmmsg */
687 #define __PNR_sendmmsg -120
688 #ifndef __NR_sendmmsg
689 #define __NR_sendmmsg __PNR_sendmmsg
690 #endif /* __NR_sendmmsg */
694 #define __PNR_semop -201
696 #define __NR_semop __PNR_semop
697 #endif /* __NR_semop */
699 #define __PNR_semget -202
701 #define __NR_semget __PNR_semget
702 #endif /* __NR_semget */
704 #define __PNR_semctl -203
706 #define __NR_semctl __PNR_semctl
707 #endif /* __NR_semctl */
709 #define __PNR_semtimedop -204
710 #ifndef __NR_semtimedop
711 #define __NR_semtimedop __PNR_semtimedop
712 #endif /* __NR_semtime */
714 #define __PNR_msgsnd -211
716 #define __NR_msgsnd __PNR_msgsnd
717 #endif /* __NR_msgsnd */
719 #define __PNR_msgrcv -212
721 #define __NR_msgrcv __PNR_msgrcv
722 #endif /* __NR_msgrcv */
724 #define __PNR_msgget -213
726 #define __NR_msgget __PNR_msgget
727 #endif /* __NR_msgget */
729 #define __PNR_msgctl -214
731 #define __NR_msgctl __PNR_msgctl
732 #endif /* __NR_msgctl */
734 #define __PNR_shmat -221
736 #define __NR_shmat __PNR_shmat
737 #endif /* __NR_shmat */
739 #define __PNR_shmdt -222
741 #define __NR_shmdt __PNR_shmdt
742 #endif /* __NR_shmdt */
744 #define __PNR_shmget -223
746 #define __NR_shmget __PNR_shmget
747 #endif /* __NR_shmget */
749 #define __PNR_shmctl -224
751 #define __NR_shmctl __PNR_shmctl
752 #endif /* __NR_shmctl */
754 /* single syscalls */
756 #define __PNR_arch_prctl -10001
757 #ifndef __NR_arch_prctl
758 #define __NR_arch_prctl __PNR_arch_prctl
759 #endif /* __NR_arch_prctl */
761 #define __PNR_bdflush -10002
763 #define __NR_bdflush __PNR_bdflush
764 #endif /* __NR_bdflush */
766 #define __PNR_break -10003
768 #define __NR_break __PNR_break
769 #endif /* __NR_break */
771 #define __PNR_chown32 -10004
773 #define __NR_chown32 __PNR_chown32
774 #endif /* __NR_chown32 */
776 #define __PNR_epoll_ctl_old -10005
777 #ifndef __NR_epoll_ctl_old
778 #define __NR_epoll_ctl_old __PNR_epoll_ctl_old
779 #endif /* __NR_epoll_ctl_old */
781 #define __PNR_epoll_wait_old -10006
782 #ifndef __NR_epoll_wait_old
783 #define __NR_epoll_wait_old __PNR_epoll_wait_old
784 #endif /* __NR_epoll_wait_old */
786 #define __PNR_fadvise64_64 -10007
787 #ifndef __NR_fadvise64_64
788 #define __NR_fadvise64_64 __PNR_fadvise64_64
789 #endif /* __NR_fadvise64_64 */
791 #define __PNR_fchown32 -10008
792 #ifndef __NR_fchown32
793 #define __NR_fchown32 __PNR_fchown32
794 #endif /* __NR_fchown32 */
796 #define __PNR_fcntl64 -10009
798 #define __NR_fcntl64 __PNR_fcntl64
799 #endif /* __NR_fcntl64 */
801 #define __PNR_fstat64 -10010
803 #define __NR_fstat64 __PNR_fstat64
804 #endif /* __NR_fstat64 */
806 #define __PNR_fstatat64 -10011
807 #ifndef __NR_fstatat64
808 #define __NR_fstatat64 __PNR_fstatat64
809 #endif /* __NR_fstatat64 */
811 #define __PNR_fstatfs64 -10012
812 #ifndef __NR_fstatfs64
813 #define __NR_fstatfs64 __PNR_fstatfs64
814 #endif /* __NR_fstatfs64 */
816 #define __PNR_ftime -10013
818 #define __NR_ftime __PNR_ftime
819 #endif /* __NR_ftime */
821 #define __PNR_ftruncate64 -10014
822 #ifndef __NR_ftruncate64
823 #define __NR_ftruncate64 __PNR_ftruncate64
824 #endif /* __NR_ftruncate64 */
826 #define __PNR_getegid32 -10015
827 #ifndef __NR_getegid32
828 #define __NR_getegid32 __PNR_getegid32
829 #endif /* __NR_getegid32 */
831 #define __PNR_geteuid32 -10016
832 #ifndef __NR_geteuid32
833 #define __NR_geteuid32 __PNR_geteuid32
834 #endif /* __NR_geteuid32 */
836 #define __PNR_getgid32 -10017
837 #ifndef __NR_getgid32
838 #define __NR_getgid32 __PNR_getgid32
839 #endif /* __NR_getgid32 */
841 #define __PNR_getgroups32 -10018
842 #ifndef __NR_getgroups32
843 #define __NR_getgroups32 __PNR_getgroups32
844 #endif /* __NR_getgroups32 */
846 #define __PNR_getresgid32 -10019
847 #ifndef __NR_getresgid32
848 #define __NR_getresgid32 __PNR_getresgid32
849 #endif /* __NR_getresgid32 */
851 #define __PNR_getresuid32 -10020
852 #ifndef __NR_getresuid32
853 #define __NR_getresuid32 __PNR_getresuid32
854 #endif /* __NR_getresuid32 */
856 #define __PNR_getuid32 -10021
857 #ifndef __NR_getuid32
858 #define __NR_getuid32 __PNR_getuid32
859 #endif /* __NR_getuid32 */
861 #define __PNR_gtty -10022
863 #define __NR_gtty __PNR_gtty
864 #endif /* __NR_gtty */
866 #define __PNR_idle -10023
868 #define __NR_idle __PNR_idle
869 #endif /* __NR_idle */
871 #define __PNR_ipc -10024
873 #define __NR_ipc __PNR_ipc
874 #endif /* __NR_ipc */
876 #define __PNR_lchown32 -10025
877 #ifndef __NR_lchown32
878 #define __NR_lchown32 __PNR_lchown32
879 #endif /* __NR_lchown32 */
881 #define __PNR__llseek -10026
883 #define __NR__llseek __PNR__llseek
884 #endif /* __NR__llseek */
886 #define __PNR_lock -10027
888 #define __NR_lock __PNR_lock
889 #endif /* __NR_lock */
891 #define __PNR_lstat64 -10028
893 #define __NR_lstat64 __PNR_lstat64
894 #endif /* __NR_lstat64 */
896 #define __PNR_mmap2 -10029
898 #define __NR_mmap2 __PNR_mmap2
899 #endif /* __NR_mmap2 */
901 #define __PNR_mpx -10030
903 #define __NR_mpx __PNR_mpx
904 #endif /* __NR_mpx */
906 #define __PNR_newfstatat -10031
907 #ifndef __NR_newfstatat
908 #define __NR_newfstatat __PNR_newfstatat
909 #endif /* __NR_newfstatat */
911 #define __PNR__newselect -10032
912 #ifndef __NR__newselect
913 #define __NR__newselect __PNR__newselect
914 #endif /* __NR__newselect */
916 #define __PNR_nice -10033
918 #define __NR_nice __PNR_nice
919 #endif /* __NR_nice */
921 #define __PNR_oldfstat -10034
922 #ifndef __NR_oldfstat
923 #define __NR_oldfstat __PNR_oldfstat
924 #endif /* __NR_oldfstat */
926 #define __PNR_oldlstat -10035
927 #ifndef __NR_oldlstat
928 #define __NR_oldlstat __PNR_oldlstat
929 #endif /* __NR_oldlstat */
931 #define __PNR_oldolduname -10036
932 #ifndef __NR_oldolduname
933 #define __NR_oldolduname __PNR_oldolduname
934 #endif /* __NR_oldolduname */
936 #define __PNR_oldstat -10037
938 #define __NR_oldstat __PNR_oldstat
939 #endif /* __NR_oldstat */
941 #define __PNR_olduname -10038
942 #ifndef __NR_olduname
943 #define __NR_olduname __PNR_olduname
944 #endif /* __NR_olduname */
946 #define __PNR_prof -10039
948 #define __NR_prof __PNR_prof
949 #endif /* __NR_prof */
951 #define __PNR_profil -10040
953 #define __NR_profil __PNR_profil
954 #endif /* __NR_profil */
956 #define __PNR_readdir -10041
958 #define __NR_readdir __PNR_readdir
959 #endif /* __NR_readdir */
961 #define __PNR_security -10042
962 #ifndef __NR_security
963 #define __NR_security __PNR_security
964 #endif /* __NR_security */
966 #define __PNR_sendfile64 -10043
967 #ifndef __NR_sendfile64
968 #define __NR_sendfile64 __PNR_sendfile64
969 #endif /* __NR_sendfile64 */
971 #define __PNR_setfsgid32 -10044
972 #ifndef __NR_setfsgid32
973 #define __NR_setfsgid32 __PNR_setfsgid32
974 #endif /* __NR_setfsgid32 */
976 #define __PNR_setfsuid32 -10045
977 #ifndef __NR_setfsuid32
978 #define __NR_setfsuid32 __PNR_setfsuid32
979 #endif /* __NR_setfsuid32 */
981 #define __PNR_setgid32 -10046
982 #ifndef __NR_setgid32
983 #define __NR_setgid32 __PNR_setgid32
984 #endif /* __NR_setgid32 */
986 #define __PNR_setgroups32 -10047
987 #ifndef __NR_setgroups32
988 #define __NR_setgroups32 __PNR_setgroups32
989 #endif /* __NR_setgroups32 */
991 #define __PNR_setregid32 -10048
992 #ifndef __NR_setregid32
993 #define __NR_setregid32 __PNR_setregid32
994 #endif /* __NR_setregid32 */
996 #define __PNR_setresgid32 -10049
997 #ifndef __NR_setresgid32
998 #define __NR_setresgid32 __PNR_setresgid32
999 #endif /* __NR_setresgid32 */
1001 #define __PNR_setresuid32 -10050
1002 #ifndef __NR_setresuid32
1003 #define __NR_setresuid32 __PNR_setresuid32
1004 #endif /* __NR_setresuid32 */
1006 #define __PNR_setreuid32 -10051
1007 #ifndef __NR_setreuid32
1008 #define __NR_setreuid32 __PNR_setreuid32
1009 #endif /* __NR_setreuid32 */
1011 #define __PNR_setuid32 -10052
1012 #ifndef __NR_setuid32
1013 #define __NR_setuid32 __PNR_setuid32
1014 #endif /* __NR_setuid32 */
1016 #define __PNR_sgetmask -10053
1017 #ifndef __NR_sgetmask
1018 #define __NR_sgetmask __PNR_sgetmask
1019 #endif /* __NR_sgetmask */
1021 #define __PNR_sigaction -10054
1022 #ifndef __NR_sigaction
1023 #define __NR_sigaction __PNR_sigaction
1024 #endif /* __NR_sigaction */
1026 #define __PNR_signal -10055
1028 #define __NR_signal __PNR_signal
1029 #endif /* __NR_signal */
1031 #define __PNR_sigpending -10056
1032 #ifndef __NR_sigpending
1033 #define __NR_sigpending __PNR_sigpending
1034 #endif /* __NR_sigpending */
1036 #define __PNR_sigprocmask -10057
1037 #ifndef __NR_sigprocmask
1038 #define __NR_sigprocmask __PNR_sigprocmask
1039 #endif /* __NR_sigprocmask */
1041 #define __PNR_sigreturn -10058
1042 #ifndef __NR_sigreturn
1043 #define __NR_sigreturn __PNR_sigreturn
1044 #endif /* __NR_sigreturn */
1046 #define __PNR_sigsuspend -10059
1047 #ifndef __NR_sigsuspend
1048 #define __NR_sigsuspend __PNR_sigsuspend
1049 #endif /* __NR_sigsuspend */
1051 #define __PNR_socketcall -10060
1052 #ifndef __NR_socketcall
1053 #define __NR_socketcall __PNR_socketcall
1054 #endif /* __NR_socketcall */
1056 #define __PNR_ssetmask -10061
1057 #ifndef __NR_ssetmask
1058 #define __NR_ssetmask __PNR_ssetmask
1059 #endif /* __NR_ssetmask */
1061 #define __PNR_stat64 -10062
1063 #define __NR_stat64 __PNR_stat64
1064 #endif /* __NR_stat64 */
1066 #define __PNR_statfs64 -10063
1067 #ifndef __NR_statfs64
1068 #define __NR_statfs64 __PNR_statfs64
1069 #endif /* __NR_statfs64 */
1071 #define __PNR_stime -10064
1073 #define __NR_stime __PNR_stime
1074 #endif /* __NR_stime */
1076 #define __PNR_stty -10065
1078 #define __NR_stty __PNR_stty
1079 #endif /* __NR_stty */
1081 #define __PNR_truncate64 -10066
1082 #ifndef __NR_truncate64
1083 #define __NR_truncate64 __PNR_truncate64
1084 #endif /* __NR_truncate64 */
1086 #define __PNR_tuxcall -10067
1087 #ifndef __NR_tuxcall
1088 #define __NR_tuxcall __PNR_tuxcall
1089 #endif /* __NR_tuxcall */
1091 #define __PNR_ugetrlimit -10068
1092 #ifndef __NR_ugetrlimit
1093 #define __NR_ugetrlimit __PNR_ugetrlimit
1094 #endif /* __NR_ugetrlimit */
1096 #define __PNR_ulimit -10069
1098 #define __NR_ulimit __PNR_ulimit
1099 #endif /* __NR_ulimit */
1101 #define __PNR_umount -10070
1103 #define __NR_umount __PNR_umount
1104 #endif /* __NR_umount */
1106 #define __PNR_vm86 -10071
1108 #define __NR_vm86 __PNR_vm86
1109 #endif /* __NR_vm86 */
1111 #define __PNR_vm86old -10072
1112 #ifndef __NR_vm86old
1113 #define __NR_vm86old __PNR_vm86old
1114 #endif /* __NR_vm86old */
1116 #define __PNR_waitpid -10073
1117 #ifndef __NR_waitpid
1118 #define __NR_waitpid __PNR_waitpid
1119 #endif /* __NR_waitpid */
1121 #define __PNR_create_module -10074
1122 #ifndef __NR_create_module
1123 #define __NR_create_module __PNR_create_module
1124 #endif /* __NR_create_module */
1126 #define __PNR_get_kernel_syms -10075
1127 #ifndef __NR_get_kernel_syms
1128 #define __NR_get_kernel_syms __PNR_get_kernel_syms
1129 #endif /* __NR_get_kernel_syms */
1131 #define __PNR_get_thread_area -10076
1132 #ifndef __NR_get_thread_area
1133 #define __NR_get_thread_area __PNR_get_thread_area
1134 #endif /* __NR_get_thread_area */
1136 #define __PNR_nfsservctl -10077
1137 #ifndef __NR_nfsservctl
1138 #define __NR_nfsservctl __PNR_nfsservctl
1139 #endif /* __NR_nfsservctl */
1141 #define __PNR_query_module -10078
1142 #ifndef __NR_query_module
1143 #define __NR_query_module __PNR_query_module
1144 #endif /* __NR_query_module */
1146 #define __PNR_set_thread_area -10079
1147 #ifndef __NR_set_thread_area
1148 #define __NR_set_thread_area __PNR_set_thread_area
1149 #endif /* __NR_set_thread_area */
1151 #define __PNR__sysctl -10080
1152 #ifndef __NR__sysctl
1153 #define __NR__sysctl __PNR__sysctl
1154 #endif /* __NR__sysctl */
1156 #define __PNR_uselib -10081
1158 #define __NR_uselib __PNR_uselib
1159 #endif /* __NR_uselib */
1161 #define __PNR_vserver -10082
1162 #ifndef __NR_vserver
1163 #define __NR_vserver __PNR_vserver
1164 #endif /* __NR_vserver */
1166 #define __PNR_arm_fadvise64_64 -10083
1167 #ifndef __NR_arm_fadvise64_64
1168 #define __NR_arm_fadvise64_64 __PNR_arm_fadvise64_64
1169 #endif /* __NR_arm_fadvise64_64 */
1171 #define __PNR_arm_sync_file_range -10084
1172 #ifndef __NR_arm_sync_file_range
1173 #define __NR_arm_sync_file_range __PNR_arm_sync_file_range
1174 #endif /* __NR_arm_sync_file_range */
1176 #define __PNR_pciconfig_iobase -10086
1177 #ifndef __NR_pciconfig_iobase
1178 #define __NR_pciconfig_iobase __PNR_pciconfig_iobase
1179 #endif /* __NR_pciconfig_iobase */
1181 #define __PNR_pciconfig_read -10087
1182 #ifndef __NR_pciconfig_read
1183 #define __NR_pciconfig_read __PNR_pciconfig_read
1184 #endif /* __NR_pciconfig_read */
1186 #define __PNR_pciconfig_write -10088
1187 #ifndef __NR_pciconfig_write
1188 #define __NR_pciconfig_write __PNR_pciconfig_write
1189 #endif /* __NR_pciconfig_write */
1191 #define __PNR_sync_file_range2 -10089
1192 #ifndef __NR_sync_file_range2
1193 #define __NR_sync_file_range2 __PNR_sync_file_range2
1194 #endif /* __NR_sync_file_range2 */
1196 #define __PNR_syscall -10090
1197 #ifndef __NR_syscall
1198 #define __NR_syscall __PNR_syscall
1199 #endif /* __NR_syscall */
1201 #define __PNR_afs_syscall -10091
1202 #ifndef __NR_afs_syscall
1203 #define __NR_afs_syscall __PNR_afs_syscall
1204 #endif /* __NR_afs_syscall */
1206 #define __PNR_fadvise64 -10092
1207 #ifndef __NR_fadvise64
1208 #define __NR_fadvise64 __PNR_fadvise64
1209 #endif /* __NR_fadvise64 */
1211 #define __PNR_getpmsg -10093
1212 #ifndef __NR_getpmsg
1213 #define __NR_getpmsg __PNR_getpmsg
1214 #endif /* __NR_getpmsg */
1216 #define __PNR_ioperm -10094
1218 #define __NR_ioperm __PNR_ioperm
1219 #endif /* __NR_ioperm */
1221 #define __PNR_iopl -10095
1223 #define __NR_iopl __PNR_iopl
1224 #endif /* __NR_iopl */
1226 #define __PNR_migrate_pages -10097
1227 #ifndef __NR_migrate_pages
1228 #define __NR_migrate_pages __PNR_migrate_pages
1229 #endif /* __NR_migrate_pages */
1231 #define __PNR_modify_ldt -10098
1232 #ifndef __NR_modify_ldt
1233 #define __NR_modify_ldt __PNR_modify_ldt
1234 #endif /* __NR_modify_ldt */
1236 #define __PNR_putpmsg -10099
1237 #ifndef __NR_putpmsg
1238 #define __NR_putpmsg __PNR_putpmsg
1239 #endif /* __NR_putpmsg */
1241 #define __PNR_sync_file_range -10100
1242 #ifndef __NR_sync_file_range
1243 #define __NR_sync_file_range __PNR_sync_file_range
1244 #endif /* __NR_sync_file_range */
1246 #define __PNR_select -10101
1248 #define __NR_select __PNR_select
1249 #endif /* __NR_select */
1251 #define __PNR_vfork -10102
1253 #define __NR_vfork __PNR_vfork
1254 #endif /* __NR_vfork */
1256 #define __PNR_cachectl -10103
1257 #ifndef __NR_cachectl
1258 #define __NR_cachectl __PNR_cachectl
1259 #endif /* __NR_cachectl */
1261 #define __PNR_cacheflush -10104
1262 #ifndef __NR_cacheflush
1263 #ifdef __ARM_NR_cacheflush
1264 #define __NR_cacheflush __ARM_NR_cacheflush
1266 #define __NR_cacheflush __PNR_cacheflush
1268 #endif /* __NR_cacheflush */
1270 #define __PNR_sysmips -10106
1271 #ifndef __NR_sysmips
1272 #define __NR_sysmips __PNR_sysmips
1273 #endif /* __NR_sysmips */
1275 #define __PNR_timerfd -10107
1276 #ifndef __NR_timerfd
1277 #define __NR_timerfd __PNR_timerfd
1278 #endif /* __NR_timerfd */
1280 #define __PNR_time -10108
1282 #define __NR_time __PNR_time
1283 #endif /* __NR_time */
1285 #define __PNR_getrandom -10109
1286 #ifndef __NR_getrandom
1287 #define __NR_getrandom __PNR_getrandom
1288 #endif /* __NR_getrandom - NO LONGER NEEDED */
1290 #define __PNR_memfd_create -10110
1291 #ifndef __NR_memfd_create
1292 #define __NR_memfd_create __PNR_memfd_create
1293 #endif /* __NR_memfd_create - NO LONGER NEEDED */
1295 #define __PNR_kexec_file_load -10111
1296 #ifndef __NR_kexec_file_load
1297 #define __NR_kexec_file_load __PNR_kexec_file_load
1298 #endif /* __NR_kexec_file_load */
1300 #define __PNR_sysfs -10145
1302 #define __NR_sysfs __PNR_sysfs
1303 #endif /* __NR_sysfs */
1305 #define __PNR_oldwait4 -10146
1306 #ifndef __NR_oldwait4
1307 #define __NR_oldwait4 __PNR_oldwait4
1308 #endif /* __NR_sysfs */
1310 #define __PNR_access -10147
1312 #define __NR_access __PNR_access
1313 #endif /* __NR_access */
1315 #define __PNR_alarm -10148
1317 #define __NR_alarm __PNR_alarm
1318 #endif /* __NR_alarm */
1320 #define __PNR_chmod -10149
1322 #define __NR_chmod __PNR_chmod
1323 #endif /* __NR_chmod */
1325 #define __PNR_chown -10150
1327 #define __NR_chown __PNR_chown
1328 #endif /* __NR_chown */
1330 #define __PNR_creat -10151
1332 #define __NR_creat __PNR_creat
1333 #endif /* __NR_creat */
1335 #define __PNR_dup2 -10152
1337 #define __NR_dup2 __PNR_dup2
1338 #endif /* __NR_dup2 */
1340 #define __PNR_epoll_create -10153
1341 #ifndef __NR_epoll_create
1342 #define __NR_epoll_create __PNR_epoll_create
1343 #endif /* __NR_epoll_create */
1345 #define __PNR_epoll_wait -10154
1346 #ifndef __NR_epoll_wait
1347 #define __NR_epoll_wait __PNR_epoll_wait
1348 #endif /* __NR_epoll_wait */
1350 #define __PNR_eventfd -10155
1351 #ifndef __NR_eventfd
1352 #define __NR_eventfd __PNR_eventfd
1353 #endif /* __NR_eventfd */
1355 #define __PNR_fork -10156
1357 #define __NR_fork __PNR_fork
1358 #endif /* __NR_fork */
1360 #define __PNR_futimesat -10157
1361 #ifndef __NR_futimesat
1362 #define __NR_futimesat __PNR_futimesat
1363 #endif /* __NR_futimesat */
1365 #define __PNR_getdents -10158
1366 #ifndef __NR_getdents
1367 #define __NR_getdents __PNR_getdents
1368 #endif /* __NR_getdents */
1370 #define __PNR_getpgrp -10159
1371 #ifndef __NR_getpgrp
1372 #define __NR_getpgrp __PNR_getpgrp
1373 #endif /* __NR_getpgrp */
1375 #define __PNR_inotify_init -10160
1376 #ifndef __NR_inotify_init
1377 #define __NR_inotify_init __PNR_inotify_init
1378 #endif /* __NR_inotify_init */
1380 #define __PNR_lchown -10161
1382 #define __NR_lchown __PNR_lchown
1383 #endif /* __NR_lchown */
1385 #define __PNR_link -10162
1387 #define __NR_link __PNR_link
1388 #endif /* __NR_link */
1390 #define __PNR_lstat -10163
1392 #define __NR_lstat __PNR_lstat
1393 #endif /* __NR_lstat */
1395 #define __PNR_mkdir -10164
1397 #define __NR_mkdir __PNR_mkdir
1398 #endif /* __NR_mkdir */
1400 #define __PNR_mknod -10165
1402 #define __NR_mknod __PNR_mknod
1403 #endif /* __NR_mknod */
1405 #define __PNR_open -10166
1407 #define __NR_open __PNR_open
1408 #endif /* __NR_open */
1410 #define __PNR_pause -10167
1412 #define __NR_pause __PNR_pause
1413 #endif /* __NR_pause */
1415 #define __PNR_pipe -10168
1417 #define __NR_pipe __PNR_pipe
1418 #endif /* __NR_pipe */
1420 #define __PNR_poll -10169
1422 #define __NR_poll __PNR_poll
1423 #endif /* __NR_poll */
1425 #define __PNR_readlink -10170
1426 #ifndef __NR_readlink
1427 #define __NR_readlink __PNR_readlink
1428 #endif /* __NR_readlink */
1430 #define __PNR_rename -10171
1432 #define __NR_rename __PNR_rename
1433 #endif /* __NR_rename */
1435 #define __PNR_rmdir -10172
1437 #define __NR_rmdir __PNR_rmdir
1438 #endif /* __NR_rmdir */
1440 #define __PNR_signalfd -10173
1441 #ifndef __NR_signalfd
1442 #define __NR_signalfd __PNR_signalfd
1443 #endif /* __NR_signalfd */
1445 #define __PNR_stat -10174
1447 #define __NR_stat __PNR_stat
1448 #endif /* __NR_stat */
1450 #define __PNR_symlink -10175
1451 #ifndef __NR_symlink
1452 #define __NR_symlink __PNR_symlink
1453 #endif /* __NR_symlink */
1455 #define __PNR_unlink -10176
1457 #define __NR_unlink __PNR_unlink
1458 #endif /* __NR_unlink */
1460 #define __PNR_ustat -10177
1462 #define __NR_ustat __PNR_ustat
1463 #endif /* __NR_ustat */
1465 #define __PNR_utime -10178
1467 #define __NR_utime __PNR_utime
1468 #endif /* __NR_utime */
1470 #define __PNR_utimes -10179
1472 #define __NR_utimes __PNR_utimes
1473 #endif /* __NR_utimes */
1475 #define __PNR_getrlimit -10180
1476 #ifndef __NR_getrlimit
1477 #define __NR_getrlimit __PNR_getrlimit
1478 #endif /* __NR_utimes */
1480 #define __PNR_mmap -10181
1482 #define __NR_mmap __PNR_mmap
1483 #endif /* __NR_utimes */
1485 #define __PNR_breakpoint -10182
1486 #ifndef __NR_breakpoint
1487 #ifdef __ARM_NR_breakpoint
1488 #define __NR_breakpoint __ARM_NR_breakpoint
1490 #define __NR_breakpoint __PNR_breakpoint
1492 #endif /* __NR_breakpoint */
1494 #define __PNR_set_tls -10183
1495 #ifndef __NR_set_tls
1496 #ifdef __ARM_NR_set_tls
1497 #define __NR_set_tls __ARM_NR_set_tls
1499 #define __NR_set_tls __PNR_set_tls
1501 #endif /* __NR_set_tls */
1503 #define __PNR_usr26 -10184
1505 #ifdef __ARM_NR_usr26
1506 #define __NR_usr26 __ARM_NR_usr26
1508 #define __NR_usr26 __PNR_usr26
1510 #endif /* __NR_usr26 */
1512 #define __PNR_usr32 -10185
1514 #ifdef __ARM_NR_usr32
1515 #define __NR_usr32 __ARM_NR_usr32
1517 #define __NR_usr32 __PNR_usr32
1519 #endif /* __NR_usr32 */
1521 #define __PNR_multiplexer -10186
1522 #ifndef __NR_multiplexer
1523 #define __NR_multiplexer __PNR_multiplexer
1524 #endif /* __NR_multiplexer */
1526 #define __PNR_rtas -10187
1528 #define __NR_rtas __PNR_rtas
1529 #endif /* __NR_rtas */
1531 #define __PNR_spu_create -10188
1532 #ifndef __NR_spu_create
1533 #define __NR_spu_create __PNR_spu_create
1534 #endif /* __NR_spu_create */
1536 #define __PNR_spu_run -10189
1537 #ifndef __NR_spu_run
1538 #define __NR_spu_run __PNR_spu_run
1539 #endif /* __NR_spu_run */
1541 #define __PNR_subpage_prot -10189
1542 #ifndef __NR_subpage_prot
1543 #define __NR_subpage_prot __PNR_subpage_prot
1544 #endif /* __NR_subpage_prot */
1546 #define __PNR_swapcontext -10190
1547 #ifndef __NR_swapcontext
1548 #define __NR_swapcontext __PNR_swapcontext
1549 #endif /* __NR_swapcontext */
1551 #define __PNR_sys_debug_setcontext -10191
1552 #ifndef __NR_sys_debug_setcontext
1553 #define __NR_sys_debug_setcontext __PNR_sys_debug_setcontext
1554 #endif /* __NR_sys_debug_setcontext */
1556 #define __PNR_switch_endian -10191
1557 #ifndef __NR_switch_endian
1558 #define __NR_switch_endian __PNR_switch_endian
1559 #endif /* __NR_switch_endian */
1561 #define __PNR_get_mempolicy -10192
1562 #ifndef __NR_get_mempolicy
1563 #define __NR_get_mempolicy __PNR_get_mempolicy
1564 #endif /* __NR_get_mempolicy */
1566 #define __PNR_move_pages -10193
1567 #ifndef __NR_move_pages
1568 #define __NR_move_pages __PNR_move_pages
1569 #endif /* __NR_move_pages */
1571 #define __PNR_mbind -10194
1573 #define __NR_mbind __PNR_mbind
1574 #endif /* __NR_mbind */
1576 #define __PNR_set_mempolicy -10195
1577 #ifndef __NR_set_mempolicy
1578 #define __NR_set_mempolicy __PNR_set_mempolicy
1579 #endif /* __NR_set_mempolicy */
1581 #define __PNR_s390_runtime_instr -10196
1582 #ifndef __NR_s390_runtime_instr
1583 #define __NR_s390_runtime_instr __PNR_s390_runtime_instr
1584 #endif /* __NR_s390_runtime_instr */
1586 #define __PNR_s390_pci_mmio_read -10197
1587 #ifndef __NR_s390_pci_mmio_read
1588 #define __NR_s390_pci_mmio_read __PNR_s390_pci_mmio_read
1589 #endif /* __NR_s390_pci_mmio_read */
1591 #define __PNR_s390_pci_mmio_write -10198
1592 #ifndef __NR_s390_pci_mmio_write
1593 #define __NR_s390_pci_mmio_write __PNR_s390_pci_mmio_write
1594 #endif /* __NR_s390_pci_mmio_write */
1596 #define __PNR_membarrier -10199
1597 #ifndef __NR_membarrier
1598 #define __NR_membarrier __PNR_membarrier
1599 #endif /* __NR_membarrier */
1601 #define __PNR_userfaultfd -10200
1602 #ifndef __NR_userfaultfd
1603 #define __NR_userfaultfd __PNR_userfaultfd
1604 #endif /* __NR_userfaultfd */
This page took 0.181734 seconds and 4 git commands to generate.