Andreas Jaeger
e8805e8d3f
[BZ #341 ]
...
(O_NOATIME): Define.
2004-08-23 07:28:45 +00:00
Ulrich Drepper
b1225f7208
(F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98.
2004-05-03 21:39:39 +00:00
Ulrich Drepper
6fdde6b9d4
Don't use x86 version.
2004-04-19 06:49:28 +00:00
Ulrich Drepper
9efb40c836
Add readahead prototype.
2004-01-20 23:23:55 +00:00
Ulrich Drepper
46bf1d81a4
(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
...
cleanup asm.
2003-12-18 06:05:03 +00:00
Ulrich Drepper
49096d939f
(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
...
(LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses.
2003-11-03 17:18:38 +00:00
Roland McGrath
fb86edea20
2003-10-18 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.
2003-10-22 07:09:31 +00:00
Ulrich Drepper
f19a935e1b
Define PSEUDO_ERRVAL, SYSCALL_ERROR_LABEL under all conditions,
...
INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERROR_P,
INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL, and undef
JUMPTARGET before use.
[PIC]: Save pic register around syscall.
2003-10-15 05:46:00 +00:00
Ulrich Drepper
5420f85dbe
(syscall): Cleanup asm statment.
2003-10-15 05:45:16 +00:00
Ulrich Drepper
3d87932d45
Define PROT_GROWSDOWN and PROT_GROWSUP.
2003-09-25 16:42:43 +00:00
Ulrich Drepper
62810a52b5
Add semtimedop.
2003-08-30 00:23:14 +00:00
Ulrich Drepper
614ba8f749
(_NSIG): Define to 65.
2003-04-01 06:16:53 +00:00
Ulrich Drepper
98f7320f07
Define PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, and ret_NOERRNO.
2003-03-23 19:42:23 +00:00
Ulrich Drepper
aca56a7fa5
Define MAP_POPULATE and MAP_NONBLOCK.
2003-03-03 09:58:55 +00:00
Ulrich Drepper
94b1e5e52f
Remove __GI_* aliases, already added by make-syscalls.sh.
2003-01-31 03:40:10 +00:00
Ulrich Drepper
7de021d588
(__GI_accept): New alias to accept.
2002-12-31 20:44:02 +00:00
Andreas Jaeger
7922283928
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
...
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms. Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2002-12-31 13:24:33 +00:00
Ulrich Drepper
9526f1fb77
Define SHM_HUGETLB.
2002-12-20 10:31:10 +00:00
Ulrich Drepper
762566f73f
(msgrcv, msgsnd): Make cancelable.
2002-12-18 01:27:42 +00:00
Ulrich Drepper
8ea965156d
(accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Make
...
cancelable.
2002-12-15 00:52:49 +00:00
Ulrich Drepper
99c37bc7d8
Added SHMLBA #define.
2002-12-08 22:53:46 +00:00
Roland McGrath
859f3bbf75
2002-11-11 Randolf Chung <tausq@debian.org>
...
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
* sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
2002-11-19 09:26:56 +00:00
Roland McGrath
4d1f248e71
2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
Define mcontext_t as a sigcontext.
2002-11-19 06:41:02 +00:00
Roland McGrath
b53661761b
2002-09-22 H.J. Lu <hjl@gnu.org>
...
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
* sysdeps/unix/sysv/linux/mmap64.c: ... here.
* sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
2002-11-09 00:36:04 +00:00
Roland McGrath
ac33e75b3e
2002-10-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
All the following files were identical or equivalent to it.
* sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
2002-10-16 01:02:24 +00:00
Roland McGrath
506ee216c4
2002-10-13 Roland McGrath <roland@frob.com>
...
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set. Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid. Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-10-14 01:03:03 +00:00
Roland McGrath
d030d52da2
2002-10-07 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/errno.c: New file.
* csu/Makefile (aux): New variable, list errno.
* sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/generic/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
2002-10-11 10:51:31 +00:00
Roland McGrath
700494fc4b
2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.
2002-10-01 19:42:01 +00:00
Ulrich Drepper
0a398af98d
SysV shared memory definitions for Linux/PA.
2002-09-28 04:05:23 +00:00
Ulrich Drepper
895185c62e
SysV semaphore definitions for Linux/PA.
2002-09-28 04:04:44 +00:00
Ulrich Drepper
535cdc5140
SysV message queue definitions for Linux/PA.
2002-09-28 04:03:54 +00:00
Ulrich Drepper
53c72cc1d6
IPC definitions for Linux/PA.
2002-09-28 04:02:56 +00:00
Ulrich Drepper
d86c4cf889
(ECANCELED): Define to ECANCELLED if not defined by kernel headers.
2002-08-28 23:58:20 +00:00
Ulrich Drepper
6735862339
(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
...
(librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.
2002-08-28 23:55:01 +00:00
Roland McGrath
631d94cb30
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
2002-08-26 11:37:24 +00:00
Ulrich Drepper
9f0c7fbd18
Remove all __GI_* aliases.
2002-08-03 19:44:44 +00:00
Ulrich Drepper
78413eec88
Add __GI_ aliases.
2002-08-03 06:58:54 +00:00
Ulrich Drepper
841f536f46
Remove __set_errno definition.
2002-07-20 01:02:01 +00:00
Ulrich Drepper
a514656381
(__recvmsg, __sendmsg): Add aliases.
2002-05-15 00:20:02 +00:00
Ulrich Drepper
337ca8062e
Add __connect_internal.
2002-04-19 07:56:42 +00:00
Andreas Jaeger
90a0de032a
Remove __brk_addr alias, avoid warning.
2001-11-26 08:37:35 +00:00
Andreas Jaeger
3214b89b32
Update to LGPL v2.1.
2001-07-06 04:56:23 +00:00
Andreas Jaeger
f325056f09
Implement syscall.
2001-06-06 11:49:29 +00:00
Andreas Jaeger
97b30982ce
Remove dummy syscall.
2001-06-06 11:49:17 +00:00
Andreas Jaeger
ed48681558
Call getrlimit, setrlimit directly instead of using wrappers.
2001-06-06 11:44:24 +00:00
Andreas Jaeger
b496bd686c
Removed.
2001-06-06 11:35:25 +00:00
Ulrich Drepper
b390705b1c
<resource.h> definitions for Linux/HPPA.
2001-04-25 20:19:39 +00:00
Ulrich Drepper
179c96ec73
mmap64 implementation for Linux/HPPA.
2001-04-25 20:19:03 +00:00
Ulrich Drepper
353e429d96
getdents64 implementation for Linux/HPPA.
2001-04-25 20:18:14 +00:00
Ulrich Drepper
15a25bb641
Fix clone system call entry point stub.
2001-04-22 03:24:39 +00:00