Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
Ulrich Drepper
84a29bc1f5 (ftruncate): Add __ftruncate64 alias. 2001-02-16 18:12:10 +00:00
Andreas Jaeger
a58f487d7e Use __setrlimit as strong name. 2000-08-23 06:54:33 +00:00
Ulrich Drepper
ec8cf3da88 (sysctl): Remove. 2000-08-22 09:08:48 +00:00
Ulrich Drepper
64fe7d3c70 (__fstatfs64): Add alias. 2000-04-22 06:55:02 +00:00
Richard Henderson
194b9b3b26 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
Kill sethae.
        * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
        * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
        Use physical addresses not KSEG addresses.
        (io_system): Add PYXIS.
        (io): Remove hae.reg, sys, hae_shift.
        (stb_mb, stw_mb, stl_mb, __sethae): New.
        (inline_outb, inline_outw, inline_outl): Don't set hae.
        (inline_inb, inline_inw, inline_inl): Likewise.
        (dense_sethae): New null function.
        (struct cpuinfo_data): New.
        (process_cpuinfo): Use local and stack variables, not static.
        Move readlink check here from init_iosys.
        (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
        (_iopl): Simplify.
        (_hae_shift): Calculate it here.
        * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
        add pciconfig_iobase.
2000-03-20 20:23:05 +00:00
Ulrich Drepper
23f1401266 (msgctl, semctl, shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols. 2000-02-11 21:00:47 +00:00
Ulrich Drepper
33ea3bcec3 Remove oldgetrlimit and oldsetrlimit definitions. 1999-12-28 22:13:37 +00:00
Ulrich Drepper
feaa2cd82b Add __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite and
__libc_pwrite64.
1999-12-24 05:47:47 +00:00
Ulrich Drepper
c0318789f2 Add oldsetrlimit and oldgetrlimit. 1999-12-02 08:18:33 +00:00
Ulrich Drepper
0a437ddb58 Add __sysctl. 1999-06-15 11:51:17 +00:00
Ulrich Drepper
9346d2ecb1 Add vfork. 1999-01-14 00:15:14 +00:00
Ulrich Drepper
1dc5a942c9 Kill __syscall* bits. 1998-10-31 23:38:23 +00:00
Ulrich Drepper
04cfab5065 Rename __syscall_pwrite64 to __syscall_pwrite. 1998-10-26 11:09:12 +00:00
Ulrich Drepper
d8f1bea433 Remove duplicate ustat definition. 1998-10-23 14:00:35 +00:00
Ulrich Drepper
1d40317e33 Add various __syscall_* definitions. 1998-10-21 15:28:22 +00:00
Ulrich Drepper
8e7410c350 (recvmsg, sendmsg): Update aliases for cancelation. 1998-08-12 17:06:17 +00:00
Ulrich Drepper
1b99d03e6a Define __syscall_recvmsg and __syscall_sendmsg. 1998-07-05 15:22:20 +00:00
Ulrich Drepper
22bf6f3448 File name for sendmsg and recvmsg syscalls is __ protected. 1998-07-05 14:45:16 +00:00
Ulrich Drepper
11c1d87fd2 Add sigstack here. 1998-06-18 21:49:26 +00:00
Richard Henderson
50a430afa2 Don't mark pread and pwrite as EXTRA. 1998-05-11 11:05:13 +00:00
Ulrich Drepper
68f722de86 (ftruncate): Make __ftruncate the strong symbol, and add weak alias. 1998-04-24 15:29:55 +00:00
Ulrich Drepper
c79c90357e Add __lseek64 alias for __llseek. 1998-04-08 07:10:11 +00:00
Ulrich Drepper
161756fe4f Wrapper for adjtimex syscall. 1998-03-31 23:12:58 +00:00
Ulrich Drepper
c4f60035d5 (socket): Added. 1998-03-29 17:01:51 +00:00
Ulrich Drepper
be07ac90bc Correct typo. 1998-03-12 09:18:49 +00:00
Richard Henderson
ee0671d1a1 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
* sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
        osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
        osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1998-03-01 10:53:22 +00:00
Richard Henderson
9ba8164eb6 * shlib-versions: Match alpha*.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
        * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
        * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
        Implement copysign* with and without __ prefix.
        Likewise for fabs; use builtin for gcc 2.8.
        (floor*): New.
        (fdim*): New.
        * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
        (R_SPARC*): Match current v9 ABI.
        * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
        * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
        * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
        * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
        * sysdeps/generic/getresgid.c: Use prototype form because of warning.
        * sysdeps/unix/sysv/linux/getdents.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
        * sysdeps/unix/grantpt.c (argv): Fix consts.
        * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
        * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1998-03-01 00:56:41 +00:00
Ulrich Drepper
edc43054d4 Make versioned symbols only for shared library.
Fix ENOSYS branch.
1998-02-26 17:16:26 +00:00
Ulrich Drepper
e1f251a3ae Add getres[ug]id. 1998-02-10 20:05:38 +00:00
Richard Henderson
73bc81179e * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
* sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
Follow POSIX and make tv_sec a time_t.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
new tv64 syscall as well as fall back to tv32.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
1998-02-04 10:17:52 +00:00
Richard Henderson
18a702a8a3 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
of the trampoline function into the macro.
* sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
kernel 2.1.82 has this fixed.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
1998-01-26 22:04:53 +00:00
Ulrich Drepper
3b56dfe148 Add change to support sigaction on kernels > 2.1.7x. 1998-01-25 19:12:46 +00:00
Ulrich Drepper
909a2333c7 Define the cancelable socket functions as __libc_xxx with __xxx as
weak alias.
1998-01-21 17:03:32 +00:00
Ulrich Drepper
18199b1e50 Add __mmap64 and mmap64 aliases to mmap. 1997-12-28 15:24:24 +00:00
Ulrich Drepper
77d5a2df47 Add xxx64 alias for fstatfs, statfs, getrlimit, setrlimit, ftruncate
and truncate.
1997-12-22 20:20:09 +00:00
Ulrich Drepper
7e89694bc0 Define syscall as __llseek and make llseek and lseek64 weak aliases. 1997-12-01 17:12:23 +00:00
Ulrich Drepper
a1bee79921 Add pread and pwrite with weak aliases for *64 functions. 1997-10-26 20:06:34 +00:00
Ulrich Drepper
dc37f3e59d update from main archive 970121 1997-01-23 04:24:10 +00:00
Ulrich Drepper
b5ce64efa4 update from main arhive 970119 1997-01-20 02:49:42 +00:00
Ulrich Drepper
b120ade020 update from main archive 961127 1996-11-28 04:16:09 +00:00
Roland McGrath
56110e09d4 Wed May 22 00:40:50 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Added getsockopt,
	ptrace, and sysctl.
1996-05-23 05:31:47 +00:00
Roland McGrath
c56fbe7e02 Tue Feb 20 11:33:46 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list (select, bind,
 	connect, getpeername, getsockname, listen, recv, recvfrom,
 	recvmsg, send, sendmsg, sendto, setsockopt, shutdown, socketpair):
 	added to override same-name assembly file in the parent directory.
Wed Feb 14 00:21:17 1996  David Mosberger-Tang  <davidm@azstarnet.com>

	* sysdeps/unix/sysv/linux/alpha/Makefile,
	sysdeps/unix/sysv/linux/alpha/brk.S,
	sysdeps/unix/sysv/linux/alpha/fpu_control.c,
	sysdeps/unix/sysv/linux/alpha/fpu_control.h,
	sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S,
	sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S,
	sysdeps/unix/sysv/linux/alpha/pipe.S,
	sysdeps/unix/sysv/linux/alpha/setfpucw.c,
	sysdeps/unix/sysv/linux/alpha/sigprocmask.c,
	sysdeps/unix/sysv/linux/alpha/speed.c,
	sysdeps/unix/sysv/linux/alpha/start.S,
	sysdeps/unix/sysv/linux/alpha/syscall.S,
	sysdeps/unix/sysv/linux/alpha/syscalls.list,
	sysdeps/unix/sysv/linux/alpha/sysdep.S,
	sysdeps/unix/sysv/linux/alpha/sysdep.h: New files.
1996-03-19 19:52:25 +00:00