Roland McGrath
e66a42f57f
Split sys/param.h out into common file and sysdeps bits/param.h file.
2012-08-17 09:55:17 -07:00
Florian Weimer
7e66ee5142
* posix/unistd.h (setuid, setreuid, seteuid, setresuid):
...
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-08-01 18:12:58 +02:00
Andreas Jaeger
b1b2aaf8eb
Merge Linux 3.5 ptrace changes
...
(__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-26 13:13:26 +02:00
Andreas Jaeger
f8d44fdc72
Merge Linux 3.5 epoll changes
...
Add EPOLLWAKEUP.
2012-07-26 13:11:33 +02:00
Andreas Jaeger
1a09dc565d
Add more constants to Linux <sys/reboot.h>
...
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-23 20:16:00 +02:00
H.J. Lu
c900932878
Add sysctl.mk and bits/sysctl.h
2012-05-22 13:46:29 -07:00
Joseph Myers
599af3ca61
Split architecture-specific parts of sys/epoll.h into bits/epoll.h.
2012-02-21 00:32:30 +00:00
Joseph Myers
0e4997508d
Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.
2012-02-21 00:29:13 +00:00
Joseph Myers
8e475601f6
Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.
2012-02-15 20:11:20 +00:00
Joseph Myers
2a979d3a14
Split architecture-specific parts of sys/inotify.h into bits/inotify.h.
2012-02-14 00:13:47 +00:00
Joseph Myers
2a418ac326
Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.
2012-02-13 20:27:59 +00:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Ulrich Drepper
a784e50247
Remove pre-ISO C support
...
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper
4920765eb4
Define EPOLLONESHOT and EPOLLET using unsigned values
2011-12-21 22:14:05 -05:00
Ulrich Drepper
cbff0d9689
Update ptrace constants
2011-07-23 19:10:18 -04:00
Marek Polacek
295e904fe6
Add const attr to gnu_dev_{major,minor,makedev}
2011-07-20 12:35:29 -04:00
Jonathan Nieder
9572119174
Actually undefine ARG_MAX from <linux/limits.h>
2011-05-07 13:20:33 -04:00
Ulrich Drepper
d08055417d
Misplaced new line in last patch
2011-05-07 09:13:43 -04:00
Paul Pluzhnikov
8a35c9120f
Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h
2011-05-07 09:03:36 -04:00
Ulrich Drepper
38a7d692fc
Fix typo in comment.
2011-04-09 11:01:37 -04:00
Ulrich Drepper
83fe108b0a
Add clock_adjtime syscall.
2011-03-30 22:00:57 -04:00
Ulrich Drepper
a1fb5e3ebe
Define SWAP_FLAG_DISCARD.
2010-11-16 12:17:04 -05:00
Andreas Schwab
3162f12e58
Remove third argument from fanotify_init function
2010-08-15 20:07:32 -07:00
Ulrich Drepper
754f7da38b
Define IN_EXCL_UNLINK
2010-08-11 12:46:03 -07:00
Ulrich Drepper
10b3bedcb0
Add support for Linux fanotify_init and fanotify_mask syscalls.
2010-08-11 12:41:48 -07:00
Andreas Schwab
5b08ac571f
Make <sys/timex.h> compatible with C++
2010-05-21 11:45:17 -07:00
Ulrich Drepper
94db8db8e8
Define UMOUNT_NOFOLLOW.
2010-03-12 08:44:10 -08:00
Ulrich Drepper
1712734592
Update constants for current kernels.
2010-02-03 06:55:30 -08:00
Ulrich Drepper
eb4157390c
Update ntp_gettime for Linux.
...
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-22 11:07:04 -08:00
Ulrich Drepper
89b432d7a5
Fix up <sys/timex.h> a bit more for recent API changes.
2009-11-22 10:23:12 -08:00
Ulrich Drepper
339717d5f1
Fix comment in Linux's <sys/epoll.h>.
2009-07-10 06:14:25 -07:00
Ulrich Drepper
1765abb309
* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,
...
guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
2009-05-07 17:42:24 +00:00
Ulrich Drepper
95bf537fc7
[BZ #10092 ]
...
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-24 03:18:52 +00:00
Ulrich Drepper
1c376f5bbe
* sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernel
...
headers up to 2.6.30.
2009-04-21 00:42:50 +00:00
Ulrich Drepper
3ce976cd88
* sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.
2009-04-01 19:25:51 +00:00
Jakub Jelinek
d82a27f841
* 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-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-02-16 21:00:15 +00:00
Ulrich Drepper
431497800d
[BZ #7040 ]
...
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.
2009-01-30 20:45:59 +00:00
Jakub Jelinek
472e5e0814
* 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-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-10-16 20:28:45 +00:00
Ulrich Drepper
ebcc1f4d75
* sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for
...
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-08-01 23:49:18 +00:00
Ulrich Drepper
bdcebfc4c7
* Versions.def (glibc): Add GLIBC_2.9.
...
* 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-07-25 04:51:56 +00:00
Roland McGrath
19928ef0ae
[BZ #6505 ]
...
2008-05-10 Roland McGrath <roland@redhat.com>
[BZ #6505 ]
* sysdeps/unix/sysv/linux/sys/user.h: Replace with #error stub.
2008-05-11 00:44:42 +00:00
Ulrich Drepper
f96853beaf
* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if
...
<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-03-27 15:20:38 +00:00
Ulrich Drepper
9d9ba87333
Header for timerfd interfaces.
2008-02-10 19:43:07 +00:00
Andreas Jaeger
3a4ef5252b
[BZ #5600 ] (struct signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux kernel header.
2008-01-12 16:33:43 +00:00
Ulrich Drepper
ae18718f58
* sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if
...
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-10 23:51:42 +00:00
Ulrich Drepper
da0ff4ae5b
[BZ #5439 ]
...
* sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull.
2007-12-03 06:17:25 +00:00
Ulrich Drepper
94833f118b
[BZ #5040 ]
...
* sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value.
2007-10-28 01:34:10 +00:00
Ulrich Drepper
6789aaaa97
2007-10-04 Jakub Jelinek <jakub@redhat.com>
...
2007-10-03 Jakub Jelinek <jakub@redhat.com>
2007-10-05 20:32:30 +00:00
Ulrich Drepper
8e351378b7
* sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN,
...
struct tcp_md5sig. Extend struct tcp_info according to recent kernels.
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd,
evetnfd_read, eventfd_write.
* sysdeps/unix/sysv/linux/eventfd.c: New file.
* sysdeps/unix/sysv/linux/eventfd_read.c: New file.
* sysdeps/unix/sysv/linux/eventfd_write.c: New file.
* sysdeps/unix/sysv/linux/sys/eventfd.h: New file.
* sysdeps/unix/sysv/linux/Versions: Export eventfd, evetnfd_read,
eventfd_write for GLIBC_2.7.
2007-10-05 18:55:57 +00:00
Ulrich Drepper
34c2c09296
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd.
...
* sysdeps/unix/sysv/linux/signalfd.c: New file.
* sysdeps/unix/sysv/linux/sys/signalfd.h: New file.
* sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7.
2007-10-05 16:31:37 +00:00