2.9
[glibc/nacl-glibc.git] / sysdeps / generic / bp-thunks.h
blob85f398fee4f616502a6b30a21769221ac2d795c0
1 /* Bounded-pointer syscall thunk support.
2 Copyright (C) 2000, 2003 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4 Contributed by Greg McGary <greg@mcgary.org>
6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with the GNU C Library; if not, write to the Free
18 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 02111-1307 USA. */
21 #ifndef _bpthunks_h_
22 #define _bpthunks_h_
24 #ifndef __ASSEMBLER__
26 /* This header is included by the syscall BP thunks defined in
27 sysd-syscalls, as created by sysdeps/unix/make-syscalls.sh. It
28 includes all headers that contain prototype declarations for system
29 call functions. */
31 #include <libc-symbols.h>
32 #include <bp-sym.h>
33 #include <bp-checks.h>
35 /* Get `struct timeval' definition for select. */
36 #define __need_timeval
37 #include <bits/time.h>
39 #include <stddef.h>
40 #include <unistd.h>
41 #include <sched.h>
42 #include <signal.h>
43 #include <fcntl.h>
44 #include <time.h>
45 #include <utime.h>
46 #include <stdio.h>
48 #include <sys/types.h>
49 #include <sys/ioctl.h>
50 #include <sys/klog.h>
51 #include <sys/mman.h>
52 #include <sys/mount.h>
53 #include <sys/quota.h>
54 #include <sys/resource.h>
55 #include <sys/select.h>
56 #include <io/sys/sendfile.h>
57 #include <sys/socket.h>
58 #include <sys/stat.h>
59 #include <sys/statfs.h>
60 #include <sys/swap.h>
61 #include <sys/sysinfo.h>
62 #include <sys/time.h>
63 #include <sys/times.h>
64 #include <sys/timex.h>
65 #include <sys/utsname.h>
66 #include <sys/wait.h>
68 #endif /* Not __ASSEMBLER__. */
70 #endif /* _bpthunks_h_ */