bionic/libc/include/sys
Elliott Hughes 21972b61ec syscall(3)'s return type should be long.
This doesn't require us to change any of the syscall implementations
because (a) the LP32 ones have sizeof(int) == sizeof(long) anyway,
which is how we never noticed this bug before and (b) the LP64 ones
all use a 64-bit register for the result (and for the syscall number
too).

Bug: https://code.google.com/p/android/issues/detail?id=73952
Change-Id: I9866c3579a7a94de27bfbe80ad7a822c3183c7fb
2014-07-28 12:33:07 -07:00
..
_errdefs.h Error numbers are target specific. 2012-08-01 17:53:07 -07:00
_sigdefs.h Clean up sys_signame and sys_siglist a little. 2014-02-12 17:09:25 -08:00
_system_properties.h Move system_properties over to C++. 2014-02-24 10:45:35 +00:00
auxv.h Ensure header files using __BEGIN_DECLS include sys/cdefs.h. 2013-06-05 17:58:08 -07:00
cachectl.h MIPS support for libc. 2012-08-02 16:07:26 -07:00
capability.h libc: create sys/capability.h 2013-02-26 13:27:15 -08:00
cdefs_elf.h Start hiding "private/bionic_time.h". 2014-07-25 12:03:51 -07:00
cdefs.h Add C11 <stdatomic.h>. 2014-05-23 20:06:03 -07:00
endian.h Fix <sys/endian.h> uint32_t build failures. 2014-05-13 18:42:12 -07:00
epoll.h bionic: make epoll_event structure packed 2014-05-05 19:48:55 -07:00
errno.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
eventfd.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_NO_FLAGS syscalls. 2013-10-23 09:48:29 -07:00
file.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
fsuid.h libc: tag missing functions in system headers. 2010-10-09 17:56:55 +02:00
glibc-syscalls.h Regenerate the syscalls list after the uapi update. 2014-07-15 18:39:27 -07:00
inotify.h Fix header file dependencies. 2013-10-23 11:25:54 -07:00
ioctl_compat.h MIPS support to sys/ headers 2012-08-02 18:03:54 -07:00
ioctl.h Add <linux/tty.h> to libc/include/sys/ioctl.h 2014-06-13 16:39:39 +08:00
ipc.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
klog.h Remove deprecated and unused constants from <sys/klog.h>. 2014-03-03 10:57:28 -08:00
limits.h Remove <machine/limits.h>. 2014-04-01 17:16:59 -07:00
mman.h Remove <asm/page.h>. 2014-02-24 15:55:31 -08:00
mount.h Clean up <sys/mount.h>/<linux/fs.h> duplication. 2013-07-03 14:58:04 -07:00
msg.h Add some more headers. 2014-01-10 15:32:31 -08:00
param.h Remove ALIGNBYTES and ALIGN from <sys/param.h> 2014-03-21 09:59:34 +00:00
personality.h sys/personality.h: include <sys/cdefs.h> 2013-06-05 11:30:17 +08:00
poll.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
prctl.h Clean up some misinformation around prctl. 2014-07-18 16:15:32 -07:00
ptrace.h ptrace(3) should be varargs. 2014-07-16 16:07:10 -07:00
queue.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
reboot.h Remove hidden __reboot from header 2013-11-22 00:19:34 +04:00
reg.h Add <sys/reg.h>. 2014-01-08 16:29:22 -08:00
resource.h Fix <sys/resource.h>. 2014-01-09 11:00:04 -08:00
select.h Fix <sys/select.h> for LP64, clean up <time.h>. 2013-11-05 13:28:36 -08:00
sem.h Add some more headers. 2014-01-10 15:32:31 -08:00
sendfile.h Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00
shm.h Add some more headers. 2014-01-10 15:32:31 -08:00
signal.h libc: add sys/signal.h for compatibility 2013-02-22 10:38:28 -08:00
signalfd.h Add <sys/statvfs.h>. 2013-07-09 13:25:03 -07:00
socket.h Remove SIOCKILLADDR from <sys/socket.h>. 2014-07-17 17:10:02 -07:00
socketcalls.h Small accept4 fixes. 2014-03-31 11:23:39 -07:00
stat.h Undef private *_BODY defines after use 2014-05-13 11:01:11 +01:00
statfs.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
statvfs.h Reserve space for the future in statvfs(64) 2014-05-12 10:56:39 +01:00
swap.h Add SWAP_FLAG_* constants to <sys/swap.h>. 2014-01-08 02:23:06 +00:00
syscall.h syscall(3)'s return type should be long. 2014-07-28 12:33:07 -07:00
sysconf.h Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK). 2013-01-02 14:23:43 -08:00
sysinfo.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
syslimits.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sysmacros.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
system_properties.h bionic: add __system_property_foreach 2013-06-18 19:24:29 -07:00
time.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
timerfd.h Make <sys/timerfd.h> standalone. 2013-11-25 13:58:38 -08:00
times.h Reimplement clock(3) and switch to OpenBSD time(3). 2014-03-11 13:37:11 -07:00
timex.h Add some more headers. 2014-01-10 15:32:31 -08:00
ttychars.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ttydefaults.h Add tty defaults to bionic 2012-09-11 22:47:31 +03:00
ttydev.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
types.h Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings. 2014-06-25 12:09:11 -07:00
ucontext.h Remove unnecessary padding in ucontext_t 2014-05-28 17:24:28 +01:00
uio.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
un.h Remove <sys/_types.h>. 2014-02-07 14:55:58 -08:00
user.h Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc. 2014-05-14 13:29:19 +01:00
utime.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utsname.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
vfs.h Undef private *_BODY defines after use 2014-05-13 11:01:11 +01:00
vt.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
wait.h Removes wait3(2) from LP64. 2014-06-13 16:04:41 -07:00
xattr.h Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00