summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sys
AgeCommit message (Collapse)AuthorFilesLines
2012-11-28Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab1-17/+1
This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
2012-11-072012-11-07 Andreas Jaeger <aj@suse.de>Jeff Law1-1/+17
[BZ #14809] * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H) (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header guards are changed. Only define if not yet defined, #undef back after including linux/sysctl.h if defined here.
2012-08-17Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath1-82/+0
2012-08-01 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):Florian Weimer1-2/+2
Declare with warn_unused_result. (setgid, setregid, setegid, setresgid): Likewise. * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid): Likewise. * WUR-REPORT: Remove set*id functions.
2012-07-26Merge Linux 3.5 ptrace changesAndreas Jaeger1-3/+5
(__ptrace_eventcodes): Add new value PTRACE_EVENT_SECCOMP from Linux 3.5. (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust PTRACE_O_MASK.
2012-07-26Merge Linux 3.5 epoll changesAndreas Jaeger1-0/+2
Add EPOLLWAKEUP.
2012-05-23Add more constants to Linux <sys/reboot.h>Andreas Jaeger1-1/+7
2012-05-23 Andreas Jaeger <aj@suse.de> Maximilian Attems <max@stro.at> * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC): New macros.
2012-05-22Add sysctl.mk and bits/sysctl.hH.J. Lu1-0/+2
2012-02-21Split architecture-specific parts of sys/epoll.h into bits/epoll.h.Joseph Myers1-10/+7
2012-02-21Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.Joseph Myers1-9/+2
2012-02-15Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.Joseph Myers1-10/+3
2012-02-14Split architecture-specific parts of sys/inotify.h into bits/inotify.h.Joseph Myers1-10/+3
2012-02-13Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.Joseph Myers1-12/+3
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert26-78/+52
2012-01-07Remove pre-ISO C supportUlrich Drepper5-14/+14
No more __const.
2011-12-21Define EPOLLONESHOT and EPOLLET using unsigned valuesUlrich Drepper1-3/+3
2011-07-23Update ptrace constantsUlrich Drepper1-4/+32
2011-07-20Add const attr to gnu_dev_{major,minor,makedev}Marek Polacek1-6/+6
2011-05-07Actually undefine ARG_MAX from <linux/limits.h>Jonathan Nieder1-2/+3
2011-05-07Misplaced new line in last patchUlrich Drepper1-3/+1
2011-05-07Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.hPaul Pluzhnikov1-1/+5
2011-04-09Fix typo in comment.Ulrich Drepper1-2/+2
2011-03-30Add clock_adjtime syscall.Ulrich Drepper1-85/+3
2010-11-16Define SWAP_FLAG_DISCARD.Ulrich Drepper1-1/+2
2010-08-15Remove third argument from fanotify_init functionAndreas Schwab1-2/+2
2010-08-11Define IN_EXCL_UNLINKUlrich Drepper1-1/+3
2010-08-11Add support for Linux fanotify_init and fanotify_mask syscalls.Ulrich Drepper1-0/+39
2010-05-21Make <sys/timex.h> compatible with C++Andreas Schwab1-3/+3
2010-03-12Define UMOUNT_NOFOLLOW.Ulrich Drepper1-1/+3
2010-02-03Update constants for current kernels.Ulrich Drepper1-9/+32
2009-11-22Update ntp_gettime for Linux.Ulrich Drepper1-1/+15
The ntp_gettime implementation of NTP exports the tai field the kernel now produces. This requires an ABI change since the ntptimeval structure changed. Upstream kept the same name, there is nothing to do. This patch changes the ntptimeval structure but keeps the old ntp_gettime definition. A new ntp_gettimex function which is transparently invoked through the old name is introduced. This has the advantage that even object files can remain compatible. This wouldn't be the case if symbol versioning would be used to overload the name ntp_gettime.
2009-11-22Fix up <sys/timex.h> a bit more for recent API changes.Ulrich Drepper1-1/+5
2009-07-10Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper1-2/+2
2009-05-07* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper1-0/+2
guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
2009-04-24[BZ #10092]Ulrich Drepper1-1/+5
2009-04-23 Aurelien Jarno <aurelien@aurel32.net> [BZ #10092] * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and MNT_EXPIRE.
2009-04-21* sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernelUlrich Drepper1-3/+11
headers up to 2.6.30.
2009-04-01* sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.Ulrich Drepper1-0/+2
2009-02-16* stdlib/monetary.h: Uglify function parameter names. Jakub Jelinek1-2/+2
* sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2009-01-30[BZ #7040]Ulrich Drepper1-2/+2
2009-01-30 Ulrich Drepper <drepper@redhat.com> [BZ #7040] * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of inotify_rm_watch should have type int.
2008-10-16* sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. Jakub Jelinek1-1/+1
__nonnull order for C++. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise. 2008-10-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. __nonnull order for C++. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.
2008-08-01* sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch forUlrich Drepper1-2/+3
new epoll_create1 interface. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2008-07-25* Versions.def (glibc): Add GLIBC_2.9.Ulrich Drepper5-6/+59
* io/Makefile (routines): Add dup3 and pipe2. * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. * io/dup3.c: New file. * io/pipe2.c: New file. * posix/unistd.h: Declare dup3 and pipe2. * socket/Makefile (routines): Add paccept. * socket/Versions [glibc] (GLIBC_2.9): Add paccept. * socket/paccept.c: New file. * socket/sys/socket.h: Declare paccept. * sysdeps/unix/syscalls.list: Add entry for dup3. * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add epoll_create2 and inotify_init1. * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. * sysdeps/unix/sysv/linux/paccept.c: New file. * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if possible. * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, inotify_init1, and pipe2 entries. * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and SOCK_NONBLOCK. * sysdeps/unix/sysv/linux/i386/paccept.S: New file. * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and EPOLL_NONBLOCK. Declare epoll_create2. * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and EFD_NONBLOCK. * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and IN_NONBLOCK. Declare inotify_init1. * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and SFD_NONBLOCK. * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and TFD_NONBLOCK.
2008-05-11[BZ #6505]Roland McGrath1-1/+1
2008-05-10 Roland McGrath <roland@redhat.com> [BZ #6505] * sysdeps/unix/sysv/linux/sys/user.h: Replace with #error stub.
2008-03-27* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX ifUlrich Drepper1-4/+14
<linux/limits.h> has defined it. * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy ARG_MAX value and prevent ARG_MAX from being defined by the kernel headers. * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use it instead of ARG_MAX.
2008-02-10Header for timerfd interfaces.Ulrich Drepper1-0/+50
2008-01-12[BZ #5600] (struct signalfd_siginfo): Use 64-bit type for ssi_ptr to sync ↵Andreas Jaeger1-2/+2
with Linux kernel header.
2007-12-10* sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ ifUlrich Drepper1-1/+2
possible. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define.
2007-12-03[BZ #5439]Ulrich Drepper1-1/+1
* sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull.
2007-10-28[BZ #5040]Ulrich Drepper1-1/+3
* sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value.
2007-10-052007-10-04 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper1-0/+43
2007-10-03 Jakub Jelinek <jakub@redhat.com>