Roland McGrath
0a26934100
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.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* 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.
2002-10-14 01:02:53 +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
Ulrich Drepper
402dbb2e81
(__writev): Rename to __libc_writev and make old name an alias.
2002-10-09 09:35:00 +00:00
Ulrich Drepper
c45957343f
(waitid): Rename to __waitid and make old name an alias.
2002-10-09 09:28:58 +00:00
Ulrich Drepper
ce9fa295f0
(__readv): Rename to __libc_readv and make old name an alias.
2002-10-09 09:25:29 +00:00
Ulrich Drepper
96408c1d8c
Not needed anymore. The generic version is sufficient.
2002-10-03 08:57:30 +00:00
Ulrich Drepper
5a0ab8474e
Remove net/route.h.
2002-10-03 08:54:48 +00:00
Ulrich Drepper
91bd985838
Regenerated: autoconf sysdeps/unix/sysv/aix/configure.in
2002-10-02 05:08:36 +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
9fe8d7ced1
Update comment and remove stdio=libio setting.
2002-09-28 18:03:10 +00:00
Ulrich Drepper
8ee7624e87
Not needed anymore.
2002-09-28 18:02:05 +00:00
Andreas Jaeger
b1cbca217e
Fix number of args to syscall.
2002-09-28 13:40:10 +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
Andreas Jaeger
dafc949f65
Add syscall_exit.
2002-09-25 11:09:55 +00:00
Roland McGrath
20f7e3e794
2002-09-24 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
It was indentical to the linux/bits/time.h file.
2002-09-25 01:57:50 +00:00
Roland McGrath
c5947147ec
2002-09-18 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
Add libc_hidden_def.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2002-09-18 17:45:53 +00:00
Andreas Jaeger
ad9dff54b0
Add readahead syscall.
2002-09-13 07:12:28 +00:00
Roland McGrath
e699500013
2002-09-04 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Turn into inline functions.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
2002-09-05 18:51:44 +00:00
Ulrich Drepper
0d272f7da5
pipe implementation for Linux/Alpha.
2002-08-29 00:00:38 +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
50d9769d4b
Error codes for Linux/Alpha.
2002-08-28 23:58:00 +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
Ulrich Drepper
0c605f5013
(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
2002-08-28 23:53:22 +00:00
Ulrich Drepper
bbb3856d85
Avoid unescaped newlines in string constants.
2002-08-28 21:26:20 +00:00
Ulrich Drepper
48fa58aa12
Add dl-brk.S.
2002-08-28 08:54:42 +00:00
Ulrich Drepper
b45f281680
Add sys/user.h.
2002-08-27 16:06:03 +00:00
Roland McGrath
0a59ce67bf
2002-08-26 Roland McGrath <roland@redhat.com>
...
* sysdeps/gnu/Versions: New file.
* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
* sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target.
($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
* sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
and _sys_nerr_internal instead of anything else. Make it include
"errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
Make it emit some asm magic if [EMIT_ERR_MAX].
* sysdeps/gnu/errlist.c: Regenerated.
* sysdeps/gnu/errlist-compat.awk: New file.
* sysdeps/gnu/errlist-compat.c: New file (generated).
* sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro.
(_sys_errlist_internal): Define this as a macro for _hurd_errlist.
(_sys_nerr_internal): Define this is a macro for _hurd_nerr.
(SYS_ERRLIST, SYS_NERR): Macros removed.
(sys_nerr, _sys_nerr): Remove these weak aliases.
* sysdeps/unix/sysv/linux/errlist.c: File removed.
* sysdeps/unix/sysv/linux/errlist.h: File removed.
* sysdeps/unix/sysv/linux/arm/errlist.c: File removed.
2002-08-27 09:22:36 +00:00
Roland McGrath
1717fd72fb
2002-08-26 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace
macro with inline function.
(sigset_get_old_mask): Likewise.
* sysdeps/posix/sigblock.c (__sigblock): Update callers.
* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h
(sigset_set_old_mask, sigset_get_old_mask): Make these macros return
values.
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise.
2002-08-27 02:43:04 +00:00
Roland McGrath
13d6ef283d
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
* sysdeps/unix/alpha/pipe.S: ... here.
* sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.
2002-08-26 11:37:32 +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
564fb196d6
SysV message queue definitions for Linux/MIPS.
2002-08-26 01:49:55 +00:00
Ulrich Drepper
9c3c87e2ec
Update comment regarding placement of errno definition.
2002-08-24 23:26:47 +00:00
Ulrich Drepper
28fdb447c1
Define SHMLBA.
2002-08-23 22:26:25 +00:00
Andreas Jaeger
1077d52cfb
Remove *xattr syscalls.
2002-08-23 09:29:00 +00:00
Andreas Jaeger
074a6e5efa
Add *xattr syscalls with version 2.3.
2002-08-15 09:01:52 +00:00
Roland McGrath
94a376cc2c
2002-08-12 Roland McGrath <roland@redhat.com>
...
* include/grp.h (setgroups): Add libc_hidden_proto.
* sysdeps/generic/setgroups.c: Add libc_hidden_def.
* sysdeps/mach/hurd/setgroups.c: Likewise.
* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2002-08-13 01:07:58 +00:00
Roland McGrath
84091b65ff
2002-08-12 Roland McGrath <roland@redhat.com>
...
* include/sys/wait.h (__waitpid): Add libc_hidden_proto.
* sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
* sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/aix/waitpid.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
* sysdeps/generic/waitpid.c: Likewise.
2002-08-13 01:07:52 +00:00
Roland McGrath
f994831e93
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
__lxstat_internal, __lxstat64_internal): Remove.
(__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
Add hidden_proto.
* sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
Remove INTDEF where present, remove #undef at the beginning.
* sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
* sysdeps/generic/lxstat.c (__lxstat): Likewise.
* sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
* sysdeps/generic/xstat.c (__xstat): Likewise.
* sysdeps/generic/xstat64.c (__xstat64): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
* sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
* sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/xstat.c (__xstat): Likewise.
2002-08-13 00:23:09 +00:00
Roland McGrath
9c1cc5c52c
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.
2002-08-13 00:23:01 +00:00
Roland McGrath
e0acc021ce
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
* sysdeps/generic/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
Remove fallback if __ASSUME_SETRESUID_SYSCALL.
2002-08-13 00:22:48 +00:00
Roland McGrath
216e12e222
2002-08-03 Roland McGrath <roland@redhat.com>
...
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
setpriority.
* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/generic/getpriority.c: Likewise.
2002-08-05 02:18:11 +00:00
Ulrich Drepper
28b5d5afc6
(glob, globfree, globfree64): Add libc_hidden_ver.
2002-08-05 00:31:32 +00:00
Ulrich Drepper
9b4c30e300
Add _sys_siglist_internal alias.
2002-08-04 23:26:50 +00:00
Ulrich Drepper
a42044dc37
(__xmknod): Add libc_hidden_def.
2002-08-04 09:23:46 +00:00
Ulrich Drepper
1d343348c1
(__sysconf): Add libc_hidden_def.
2002-08-04 09:16:35 +00:00
Roland McGrath
e38327be06
2002-08-03 Roland McGrath <roland@redhat.com>
...
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
setpriority.
* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/generic/getpriority.c: Likewise.
2002-08-04 03:50:10 +00:00
Roland McGrath
237b9f1c7b
2002-08-03 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use
HIDDEN_JUMPTARGET for _exit.
* sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.
2002-08-04 01:28:09 +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
da5f5f7986
Add libc_hidden_def. Remove undef and INTDEF.
2002-08-03 06:57:53 +00:00
Ulrich Drepper
4def79b563
(__adjtimex_internal): Add alias.
2002-07-27 08:40:18 +00:00
Ulrich Drepper
31db6c4d74
(PUSHARGS_1): Use more efficient instruction.
...
(__socket): Optimize return sequence.
2002-07-24 17:36:44 +00:00
Ulrich Drepper
b24fa78c3b
Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist
...
as strong alias.
2002-07-24 11:17:01 +00:00
Ulrich Drepper
841f536f46
Remove __set_errno definition.
2002-07-20 01:02:01 +00:00
Ulrich Drepper
d7fafc1a39
Sign extend offset.
2002-07-17 20:42:56 +00:00
Ulrich Drepper
176b5726d7
Don't include <sgidefs.h>. Always use ll/sc.
2002-07-16 00:58:07 +00:00
Ulrich Drepper
8310ff4225
[subdir=elf] (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't
...
define.
2002-07-15 02:07:17 +00:00
Andreas Jaeger
d6749b4a61
* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
...
Use correct indices.
Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
2002-07-12 23:25:56 +00:00
Ulrich Drepper
d97abfcbcb
(__NSSBITS): Correct value.
2002-07-10 20:24:32 +00:00
Ulrich Drepper
064d652e93
Wrong approach.
2002-07-10 20:22:09 +00:00
Andreas Jaeger
3fb27d8d9a
Linux/MIPS specific file with extra value of SHMLBA.
2002-07-09 06:32:55 +00:00
Andreas Jaeger
4223e67fa1
Fix typo.
2002-07-08 16:58:14 +00:00
Ulrich Drepper
ac309f11ea
(__fork): Remove INTDEF.
2002-06-20 22:43:34 +00:00
Andreas Jaeger
8248bb200e
* sysdeps/unix/sysv/linux/alpha/sendfile64.c: New.
...
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
(sendfile64): Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise.
2002-06-07 12:33:51 +00:00
Ulrich Drepper
79c8c187bb
Add readahead syscall. Add sendfile64 alias to sendfile syscall.
2002-05-30 23:23:09 +00:00
Andreas Jaeger
eb7e1f616e
Don't use multiline string as argument of #error.
2002-05-19 16:24:27 +00:00
Ulrich Drepper
a514656381
(__recvmsg, __sendmsg): Add aliases.
2002-05-15 00:20:02 +00:00
Ulrich Drepper
4c68ac2b46
(__getsockname): Renamed from getsockname, add getsockname as weak alias.
2002-05-15 00:14:45 +00:00
Ulrich Drepper
dd96b0cb1d
(__sendmsg): Renamed from sendmsg, add sendmsg as weak alias.
2002-05-15 00:10:13 +00:00
Ulrich Drepper
fa87d850d1
(__recvfrom): Renamed from recvfrom, add recvfrom as weak alias.
2002-05-15 00:08:25 +00:00
Ulrich Drepper
7fbbcc094f
(__recvmsg): Renamed from recvmsg, add recvmsg as weak alias.
2002-05-15 00:07:30 +00:00
Roland McGrath
942fe80901
2002-04-30 Roland McGrath <roland@frob.com>
...
Removed old GNU stdio implementation; GNU libio is now the only option.
* configure.in: Removed --enable-libio option and @stdio@ subst var.
Define USE_IN_LIBIO unconditionally.
* configure: Regenerated.
* Makeconfig (stdio): Set to libio by default.
* config.make.in (stdio): Variable removed.
* sysdeps/unix/sysv/linux/configure.in: Don't set $stdio.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Don't test $stdio.
* sysdeps/mach/hurd/configure: Regenerated.
* stdio/.cvsignore: File removed.
* stdio/Makefile: File removed.
* stdio/Versions: File removed.
* stdio/__fbufsize.c: File removed.
* stdio/__flbf.c: File removed.
* stdio/__fpending.c: File removed.
* stdio/__fpurge.c: File removed.
* stdio/__freadable.c: File removed.
* stdio/__freading.c: File removed.
* stdio/__fsetlocking.c: File removed.
* stdio/__fwritable.c: File removed.
* stdio/__fwriting.c: File removed.
* stdio/clearerr.c: File removed.
* stdio/fclose.c: File removed.
* stdio/fcloseall.c: File removed.
* stdio/feof.c: File removed.
* stdio/ferror.c: File removed.
* stdio/fflush.c: File removed.
* stdio/fgetc.c: File removed.
* stdio/fgetpos.c: File removed.
* stdio/fgets.c: File removed.
* stdio/fileno.c: File removed.
* stdio/fmemopen.c: File removed.
* stdio/fopen.c: File removed.
* stdio/fopncook.c: File removed.
* stdio/fputc.c: File removed.
* stdio/fputs.c: File removed.
* stdio/fread.c: File removed.
* stdio/freopen.c: File removed.
* stdio/fseek.c: File removed.
* stdio/fsetpos.c: File removed.
* stdio/ftell.c: File removed.
* stdio/fwrite.c: File removed.
* stdio/getc.c: File removed.
* stdio/getchar.c: File removed.
* stdio/getdelim.c: File removed.
* stdio/gets.c: File removed.
* stdio/glue.c: File removed.
* stdio/internals.c: File removed.
* stdio/linewrap.c: File removed.
* stdio/linewrap.h: File removed.
* stdio/memstream.c: File removed.
* stdio/newstream.c: File removed.
* stdio/obstream.c: File removed.
* stdio/putc.c: File removed.
* stdio/putchar.c: File removed.
* stdio/puts.c: File removed.
* stdio/rewind.c: File removed.
* stdio/setbuf.c: File removed.
* stdio/setbuffer.c: File removed.
* stdio/setlinebuf.c: File removed.
* stdio/setvbuf.c: File removed.
* stdio/stdio.h: File removed.
* stdio/ungetc.c: File removed.
* stdio/vasprintf.c: File removed.
* stdio/vscanf.c: File removed.
* stdio/vsnprintf.c: File removed.
* stdio/vsprintf.c: File removed.
* stdio/vsscanf.c: File removed.
* sysdeps/generic/defs.c: File removed.
* sysdeps/generic/fdopen.c: File removed.
* sysdeps/generic/pipestream.c: File removed.
* sysdeps/generic/stdio_init.c: File removed.
* sysdeps/generic/sysd-stdio.c: File removed.
* sysdeps/generic/vdprintf.c: File removed.
* sysdeps/mach/hurd/defs.c: File removed.
* sysdeps/mach/hurd/fdopen.c: File removed.
* sysdeps/mach/hurd/pipestream.c: File removed.
* sysdeps/mach/hurd/stdio_init.c: File removed.
* sysdeps/mach/hurd/sysd-stdio.c: File removed.
* sysdeps/mach/hurd/vdprintf.c: File removed.
* sysdeps/posix/defs.c: File removed.
* sysdeps/posix/fdopen.c: File removed.
* sysdeps/posix/pipestream.c: File removed.
* sysdeps/posix/stdio_init.c: File removed.
* sysdeps/posix/vdprintf.c: File removed.
* sysdeps/unix/pipestream.c: File removed.
* sysdeps/unix/sysv/sysd-stdio.c: File removed.
* sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed.
* sysdeps/unix/sysv/sysv4/pipestream.c: File removed.
2002-04-30 22:00:59 +00:00
Ulrich Drepper
337ca8062e
Add __connect_internal.
2002-04-19 07:56:42 +00:00
Ulrich Drepper
9d337e61ff
Use INTDEF for __write.
2002-04-15 05:30:10 +00:00
Ulrich Drepper
548fe33d15
Use INTDEF for __lxstat64.
2002-04-15 05:28:30 +00:00
Ulrich Drepper
2093a68877
Use INTDEF for __lxstat.
2002-04-15 05:27:20 +00:00
Ulrich Drepper
0e36d9d57e
Use INTDEF for __open.
2002-04-14 20:12:24 +00:00
Ulrich Drepper
d0a1614c81
Undefine __libc_fcntl as well.
2002-04-14 18:34:22 +00:00
Ulrich Drepper
016f45be9b
Define __gettimeofday alias.
2002-04-14 09:12:57 +00:00
Ulrich Drepper
4c7b01bd93
Use INTEDEF for __gettimeofday.
2002-04-14 09:11:55 +00:00
Ulrich Drepper
5fe32a10ce
Use INTDEF for __getpgid.
2002-04-14 08:42:53 +00:00
Ulrich Drepper
a02fe38fa8
Use INTDEF for __getpagesize.
2002-04-14 08:41:04 +00:00
Ulrich Drepper
9155b112e9
Use INTDEF for __fxstat64.
2002-04-14 08:38:17 +00:00
Ulrich Drepper
144484daa4
Use INTDEF for __fxstat.
2002-04-14 08:37:17 +00:00
Ulrich Drepper
3ab5bc8a52
LOC): Don't paste in a token.
2002-04-11 20:38:52 +00:00
Ulrich Drepper
e4bf0032b0
Use INTUSE for __chown calls.
2002-04-09 20:26:17 +00:00
Ulrich Drepper
d6a57cb894
Use INTDEF for __fork.
2002-04-09 20:22:09 +00:00
Ulrich Drepper
1555f102ef
Use INTDEF for __connect.
2002-04-09 20:21:24 +00:00
Ulrich Drepper
db601cfcce
Use INTDEF for __chown.
2002-04-09 20:20:23 +00:00
Ulrich Drepper
a4b6834c4f
Use INTDEF for __fcntl.
2002-04-09 19:49:11 +00:00
Ulrich Drepper
521d1bc7f4
brk implementation for dynamic linker.
2002-04-06 01:34:06 +00:00
Ulrich Drepper
ef8af250ff
(_DL_HWCAP_COUNT): Define as 8.
2002-04-03 06:55:14 +00:00
Ulrich Drepper
9a168f2b42
Completely specify size of _dl_arm_cap_flags.
2002-04-03 06:54:28 +00:00
Roland McGrath
2d5fe9e39b
2002-03-23 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:55:18 +00:00
Ulrich Drepper
15a7702daa
(__libc_multiple_libcs): Define as hidden.
2002-03-13 03:49:52 +00:00
Ulrich Drepper
48e6095f0e
Define __libc_argc and __libc_argv as hidden.
2002-03-12 21:37:08 +00:00
Andreas Jaeger
b16fd2b050
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
...
<signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb.
* sysdeps/unix/sysv/linux/mips/sys/user.h: New.
2002-02-08 16:21:00 +00:00
Andreas Jaeger
c149ac8f45
* sysdeps/mips/atomicity.h (compare_and_swap): Remove
...
".set noreorder".
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
Likewise.
2002-02-08 16:15:32 +00:00
Andreas Jaeger
6d1e7ba623
Do not use branch likely.
2002-02-07 10:39:06 +00:00
Ulrich Drepper
d7d16bb3ea
(_test_and_set): Use branch likely.
2002-02-03 02:25:17 +00:00
Ulrich Drepper
a242df8440
Remove dl-procinfo.c.
2002-02-01 19:11:08 +00:00
Ulrich Drepper
8badabd849
_dl_fpu_control, _dl_fpu_control_set): Remove unused externs.
2002-02-01 19:03:37 +00:00
Ulrich Drepper
8bd56b60c4
Move _dl_hp_timing_overhead and procinfo-related variables in
...
rtld_global struct.
2002-02-01 07:48:43 +00:00
Ulrich Drepper
f71d7f5726
Move global variables for SHARED code in struct _rtld_global. Export
...
this struct, remove all exports for the signal variables.
2002-02-01 01:32:06 +00:00
Ulrich Drepper
6f68ec79d2
Avoid warning about comma at end of enum for !_GNU_SOURCE.
2002-01-18 23:37:53 +00:00
Ulrich Drepper
51e7253b84
Add sysv_termio.h and start-libc.c.
2002-01-08 21:54:58 +00:00
Ulrich Drepper
3c2105f0b0
Define _G_MMAP64.
2002-01-07 09:18:53 +00:00
Andreas Jaeger
90a0de032a
Remove __brk_addr alias, avoid warning.
2001-11-26 08:37:35 +00:00
Ulrich Drepper
decdce5e7c
(sysdep-routines): Add framestate.
2001-11-16 01:24:04 +00:00
Ulrich Drepper
9bfdd6609c
(__register_frame_info, __deregister_frame_info): Move to elf/Versions.
2001-11-16 01:22:33 +00:00
Andreas Schwab
ffd88164dc
New file to fix RLIM_INFINITY.
2001-11-09 19:57:55 +00:00
Andreas Jaeger
35b1d4b18e
Make sysmips() prototype a varargs prototype. Remove dependency from kernel header files.
2001-10-15 11:56:11 +00:00
Andreas Jaeger
f255cc1218
General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
2001-10-15 11:55:20 +00:00
Ulrich Drepper
916ea7e833
(struct cmsghdr): Don't declare __cmsg_data field if its size would be bigger
...
than 0.
(CMSG_DATA): Adjust accordingly.
2001-09-26 05:23:10 +00:00
Ulrich Drepper
177ac300b9
Add real implementation.
2001-09-22 21:28:25 +00:00
Ulrich Drepper
3805349500
(init): Use USE_NONONPTION_FLAG ifdef for __getopt_clean_environment.
2001-09-22 21:19:47 +00:00
Ulrich Drepper
7a250cfd1e
termio definitions for AIX.
2001-09-08 17:45:10 +00:00
Ulrich Drepper
e2cf1dd41d
Library startup code for AIX.
2001-09-08 17:44:33 +00:00
Ulrich Drepper
48255f4c66
Program startup code for AIX.
2001-09-08 17:41:25 +00:00
Ulrich Drepper
de447e48ce
Alias __libc_fcntl to __fcntl.
2001-09-08 17:40:41 +00:00
Ulrich Drepper
c25168ce57
Startup code for glibc on AIX.
2001-09-08 17:24:19 +00:00
Ulrich Drepper
51ca795a3c
Not needed anymore.
2001-09-08 17:23:45 +00:00
Ulrich Drepper
3dd5528154
(aix-syscalls.o): More linker command line options.
2001-09-08 17:22:27 +00:00
Ulrich Drepper
8c2b0506ec
Include <errno.h>.
...
(__syscall_gethostname): Add prototype.
2001-09-05 00:08:11 +00:00
Ulrich Drepper
19635181cc
gethostname implementation for Linux/Alpha.
2001-09-03 17:10:56 +00:00
Andreas Jaeger
fa5c1c570d
2001-08-24 Maciej W. Rozycki macro@ds2.pg.gda.pl
...
* sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
empty to prevent junk from being generated.
sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2001-08-24 18:27:55 +00:00
Ulrich Drepper
4435779790
Fix type of __id_t, __useconds_t and __intptr_t.
2001-08-16 05:32:49 +00:00
Ulrich Drepper
85e36b0922
Add rule to import kernel symbols.
2001-08-16 05:32:30 +00:00
Andreas Jaeger
a4f1359e63
* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
...
* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
2001-07-31 07:46:06 +00:00
Ulrich Drepper
1e0904c1c1
Add dl-support.c, dl-addr.c, and dl-error.c.
2001-07-28 06:08:50 +00:00
Ulrich Drepper
2b948198f1
Add sys/procfs.h.
2001-07-28 06:07:40 +00:00
Andreas Schwab
db08f905e8
Don't mark asm input operand as clobbered.
2001-07-22 18:18:48 +00:00
Andreas Schwab
48bfe44538
(INLINE_SYSCALL): Don't mark asm input operand as clobbered.
2001-07-22 18:18:34 +00:00
Andreas Jaeger
c1babb4b9d
Synch with kernel.
2001-07-20 06:05:16 +00:00
Andreas Schwab
44dce39192
Fix last change.
2001-07-17 17:12:10 +00:00
Andreas Schwab
b5f709a1ff
Special versions for Linux/m68k.
2001-07-15 15:30:50 +00:00
Andreas Schwab
f476000f87
Check _dl_pagesize first. Default to 4096, not EXEC_PAGESIZE.
2001-07-15 15:25:11 +00:00
Ulrich Drepper
655f4b14c8
Improve nsendmsg prototype.
2001-07-08 07:15:01 +00:00
Ulrich Drepper
f89b56b804
(sendmsg): Fix return type.
2001-07-08 07:14:06 +00:00
Ulrich Drepper
c96d6988ab
(recvmsg): Fix return type.
2001-07-08 07:11:53 +00:00
Ulrich Drepper
7f82b7444c
(__recv): Fix typo.
2001-07-08 07:09:12 +00:00
Ulrich Drepper
097cf6fa03
AIX recv implementation.
2001-07-08 07:05:51 +00:00
Ulrich Drepper
a207bef32f
Fix various types.
2001-07-08 07:02:19 +00:00
Ulrich Drepper
0312b508ac
(__libc_dlclose): Fix typo.
2001-07-08 06:55:42 +00:00
Ulrich Drepper
da48cd782f
(__gettimeofday): Add declarations for asm functions.
2001-07-08 06:47:53 +00:00
Ulrich Drepper
af9dfe869f
Fix typo.
2001-07-07 19:19:16 +00:00
Andreas Jaeger
6b440a5c6e
Removed, we can use the generic Linux version.
2001-07-06 07:14:28 +00:00