about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sys
Commit message (Collapse)AuthorAgeFilesLines
* Update <sys/ptrace.h> for Linux 4.3.Joseph Myers2015-11-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates <sys/ptrace.h> for Linux 4.3, adding PTRACE_O_SUSPEND_SECCOMP and updating the value of PTRACE_O_MASK. Some architectures were missing the older PTRACE_O_EXITKILL, so that was added to the files missing it as well. Tested for x86_64 (testsuite, and that installed shared libraries are unchanged by the patch). * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. (PTRACE_O_SUSPEND_SECCOMP): Likewise. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. (PTRACE_O_SUSPEND_SECCOMP): Likewise. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. (PTRACE_O_SUSPEND_SECCOMP): Likewise. (PTRACE_O_MASK): Update value.
* Update headers for Linux 4.0, 4.1 definitions.Joseph Myers2015-06-291-1/+4
| | | | | | | | | | | | | | | | | | | This patch updates installed glibc headers for new definitions from Linux 4.0 and 4.1 that seem relevant to glibc headers. In addition, I noticed that PF_IB / AF_IB, added in Linux 3.11, were missing for no obvious reason, so added those as well. Tested for x86_64 (testsuite, and that installed stripped shared libraries are unchanged by the patch). * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro. * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise. (PF_MPLS): Likewise. (AF_IB): Likewise. (AF_MPLS): Likewise. * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum value and macro. (MS_RMT_MASK): Include MS_LAZYTIME.
* Update copyright dates with scripts/update-copyrights.Joseph Myers2015-01-0225-25/+25
|
* Fix prototype of eventfd.Rasmus Villemoes2014-09-201-1/+1
|
* ptrace.h: add __ prefix to ptrace_peeksiginfo_argsMike Frysinger2014-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | All the other ptrace structures in this file have a __ prefix except this new one. This in turn causes build problems for most packages that try to use ptrace such as strace: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linux/x86_64 -I../../linux \ -I./linux -Wall -Wwrite-strings -g -O2 -MT process.o -MD -MP \ -MF .deps/process.Tpo -c -o process.o ../../process.c In file included from ../../process.c:63:0: /usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args' struct ptrace_peeksiginfo_args { ^ In file included from ../../defs.h:159:0, from ../../process.c:37: /usr/include/sys/ptrace.h:191:8: note: originally defined here struct ptrace_peeksiginfo_args ^ Since this struct was introduced in glibc-2.18, there shouldn't be any real regressions with adding the __ prefix. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-0125-25/+25
|
* Use __glibc_reserved instead __unused.Ondřej Bílka2013-11-261-4/+4
|
* Fix typo in sys/ptrace.h.Carlos O'Donell2013-11-251-1/+1
| | | | | | | The event code is PTRACE_EVENT_SECCOMP, not PTRAVE_EVENT_SECCOMP. This patch fixes the V->C typo. There are no ABI issues since the number remains the same for the code. Code using the old wrong name will need to be updated.
* Sync sys/ptrace with Linux 3.10Andreas Jaeger2013-07-041-1/+20
|
* Remove trailing whitespace.Joseph Myers2013-06-051-1/+1
|
* Remove __wur from setfsuid and setfsgid.Adam Conrad2013-04-181-2/+2
|
* Sync with Linux 3.8Andreas Jaeger2013-03-061-1/+2
|
* Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers2013-01-111-10/+5
|
* Don't check __GNUC__ together with __USE_EXTERN_INLINES.Joseph Myers2013-01-081-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0225-26/+25
|
* Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab2012-11-281-17/+1
| | | | | | This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
* 2012-11-07 Andreas Jaeger <aj@suse.de>Jeff Law2012-11-071-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.
* Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath2012-08-171-82/+0
|
* * posix/unistd.h (setuid, setreuid, seteuid, setresuid):Florian Weimer2012-08-011-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.
* Merge Linux 3.5 ptrace changesAndreas Jaeger2012-07-261-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.
* Merge Linux 3.5 epoll changesAndreas Jaeger2012-07-261-0/+2
| | | | Add EPOLLWAKEUP.
* Add more constants to Linux <sys/reboot.h>Andreas Jaeger2012-05-231-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.
* Add sysctl.mk and bits/sysctl.hH.J. Lu2012-05-221-0/+2
|
* Split architecture-specific parts of sys/epoll.h into bits/epoll.h.Joseph Myers2012-02-211-10/+7
|
* Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.Joseph Myers2012-02-211-9/+2
|
* Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.Joseph Myers2012-02-151-10/+3
|
* Split architecture-specific parts of sys/inotify.h into bits/inotify.h.Joseph Myers2012-02-141-10/+3
|
* Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.Joseph Myers2012-02-131-12/+3
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0926-78/+52
|
* Remove pre-ISO C supportUlrich Drepper2012-01-075-14/+14
| | | | No more __const.
* Define EPOLLONESHOT and EPOLLET using unsigned valuesUlrich Drepper2011-12-211-3/+3
|
* Update ptrace constantsUlrich Drepper2011-07-231-4/+32
|
* Add const attr to gnu_dev_{major,minor,makedev}Marek Polacek2011-07-201-6/+6
|
* Actually undefine ARG_MAX from <linux/limits.h>Jonathan Nieder2011-05-071-2/+3
|
* Misplaced new line in last patchUlrich Drepper2011-05-071-3/+1
|
* Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.hPaul Pluzhnikov2011-05-071-1/+5
|
* Fix typo in comment.Ulrich Drepper2011-04-091-2/+2
|
* Add clock_adjtime syscall.Ulrich Drepper2011-03-301-85/+3
|
* Define SWAP_FLAG_DISCARD.Ulrich Drepper2010-11-161-1/+2
|
* Remove third argument from fanotify_init functionAndreas Schwab2010-08-151-2/+2
|
* Define IN_EXCL_UNLINKUlrich Drepper2010-08-111-1/+3
|
* Add support for Linux fanotify_init and fanotify_mask syscalls.Ulrich Drepper2010-08-111-0/+39
|
* Make <sys/timex.h> compatible with C++Andreas Schwab2010-05-211-3/+3
|
* Define UMOUNT_NOFOLLOW.Ulrich Drepper2010-03-121-1/+3
|
* Update constants for current kernels.Ulrich Drepper2010-02-031-9/+32
|
* Update ntp_gettime for Linux.Ulrich Drepper2009-11-221-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.
* Fix up <sys/timex.h> a bit more for recent API changes.Ulrich Drepper2009-11-221-1/+5
|
* Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper2009-07-101-2/+2
|
* * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,Ulrich Drepper2009-05-071-0/+2
| | | | | guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
* [BZ #10092]Ulrich Drepper2009-04-241-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.