Commit Graph

1671 Commits

Author SHA1 Message Date
Ulrich Drepper
f26c98f0d4 [$(subdir)==misc] (sysdep_routines): Add uitrunc. 2000-12-07 00:32:26 +00:00
Ulrich Drepper
a8028612ca __uitrunc implementation. 2000-12-07 00:31:48 +00:00
Ulrich Drepper
66c776d718 Floating point register restore functions. 2000-12-06 03:14:16 +00:00
Ulrich Drepper
e198e3e80e Floating point register saving functions. 2000-12-06 03:13:59 +00:00
Ulrich Drepper
dcd9300681 [$(subdir)==misc] (sysdep_routines): Add restf and savef. 2000-12-06 03:12:51 +00:00
Andreas Jaeger
ae8186b5e3 (_test_and_set): Don't set mips2. 2000-12-05 17:59:58 +00:00
Andreas Jaeger
94f1fa3185 Use SYS_ify. 2000-12-05 17:41:00 +00:00
Andreas Jaeger
87af90e7c3 Linux/MIPS specific version. 2000-12-05 17:40:39 +00:00
Andreas Jaeger
6943ccb42b Removed. 2000-12-05 17:39:49 +00:00
Ulrich Drepper
3f4be017d8 Define MAXHOSTNAMELEN. 2000-12-05 16:18:48 +00:00
Ulrich Drepper
bbeb0a2e8e AIX/PPC implementation of lrintf. 2000-12-05 04:17:58 +00:00
Ulrich Drepper
07aef1acd4 Cleanup. Add comments. 2000-12-05 04:13:34 +00:00
Ulrich Drepper
d84fcdf42a Define __clockid_t and __timer_t. 2000-12-05 04:05:25 +00:00
Ulrich Drepper
b75905aee7 Nothing. 2000-12-05 04:03:03 +00:00
Ulrich Drepper
d4810d08f2 (JUMPTARGET): Use C_TEXT. 2000-12-05 04:00:48 +00:00
Ulrich Drepper
6e7c7c2186 Define pread64 alias. 2000-12-05 03:58:15 +00:00
Ulrich Drepper
42696fe77f Define pread alias. 2000-12-05 03:57:44 +00:00
Ulrich Drepper
ba2df8a934 Define __libc_open alias. 2000-12-05 03:57:00 +00:00
Ulrich Drepper
c4aa3b70bc Define __libc_lseek alias. 2000-12-05 03:55:49 +00:00
Ulrich Drepper
74c9e7dc5a Define __fchdir. 2000-12-05 03:48:38 +00:00
Ulrich Drepper
aa2f92db99 [$(subdir)==login] (sysdep_routines): Add setutxent, getutxent,
endutxent, getutxid, getutxline, pututxline, and utmpxname.
2000-12-05 03:46:39 +00:00
Andreas Jaeger
832725ccb4 Remove unused variable. 2000-11-29 09:24:50 +00:00
Andreas Jaeger
9ae8d03731 Synch with generic Linux version. 2000-11-28 09:17:38 +00:00
Andreas Jaeger
6e6f5adcfb (struct cmsghdr): Use __flexarr. 2000-11-28 08:05:11 +00:00
Andreas Schwab
0abafb2042 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/arm/fpu/setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/s390/setjmp.S: Likewise.
* sysdeps/s390/elf/setjmp.S: Likewise.
* sysdeps/sh/sh3/setjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2000-11-21 20:55:38 +00:00
Andreas Jaeger
ec5d5a4d92 (O_NOFOLLOW): Use same value defined in /usr/include/asm-mips/fcntl.h. 2000-11-20 07:55:22 +00:00
Andreas Jaeger
bddc20b59a (kernel_stat): Expand time_t to 'long int' not, 'unsigned int'. Use 'long int' for
__unused? members.
2000-11-20 07:55:06 +00:00
Andreas Jaeger
081c74d4cc Fix comments 2000-11-20 07:54:19 +00:00
Ulrich Drepper
7f10098010 Correct last patch. 2000-11-10 05:06:34 +00:00
Ulrich Drepper
a632433d28 (GLIBC_2.1.1): Add getitimer. 2000-11-10 05:00:14 +00:00
Ulrich Drepper
e569ff55ac (CLK_TCK): Cast sysconf result to __clock_t. 2000-11-01 20:59:56 +00:00
Ulrich Drepper
374305ef42 Use __sysconf to for CLK_TCK. 2000-11-01 08:07:45 +00:00
Ulrich Drepper
abde23bdcf Linux/Alpha version of function to get CLK_TCK value. 2000-11-01 08:06:06 +00:00
Ulrich Drepper
e4b950346f Not needed. 2000-10-27 06:48:36 +00:00
Ulrich Drepper
b2746c3a16 Additional files to distribute in sysdeps/unix/sysv/linux/hppa. 2000-10-27 06:40:17 +00:00
Andreas Jaeger
eed537401d Add fcntl64. 2000-10-23 06:26:50 +00:00
Andreas Jaeger
8a02fd962e Include <asm/unistd.h>. 2000-10-20 07:02:12 +00:00
Ulrich Drepper
d0168cc099 (__new_semctl): Pass union semun as 4th argument to semctl syscall, not
address of it.
2000-10-20 06:14:58 +00:00
Ulrich Drepper
2d4515fc57 Cleanup. 2000-10-15 18:37:53 +00:00
Ulrich Drepper
37374d91ac Linux/HPPA errno definitions. 2000-10-15 03:58:58 +00:00
Ulrich Drepper
ff3e496930 Linux/HPPA specific ucontext definitions. 2000-10-15 03:30:29 +00:00
Ulrich Drepper
06a5b96db3 Linux/HPPA specific debugging data structures. 2000-10-15 03:30:16 +00:00
Ulrich Drepper
58a36ea303 Linux/HPPA specific signal number definitions. 2000-10-15 03:29:47 +00:00
Ulrich Drepper
e7f6c890c3 Linux/HPPA specific sigaction definitions. 2000-10-15 03:29:35 +00:00
Ulrich Drepper
aed8020367 Linux/HPPA specific mman definitions. 2000-10-15 03:29:27 +00:00
Ulrich Drepper
5b8483160d Linux/HPPA specific ioctl definitions. 2000-10-15 03:29:17 +00:00
Ulrich Drepper
f7c460d411 Linux/HPPA specific fcntl definitions. 2000-10-15 03:29:10 +00:00
Ulrich Drepper
a22a888980 Linux/HPPA specific umount definition. 2000-10-15 03:28:55 +00:00
Ulrich Drepper
a30ba90d2e Linux/HPPA specific low-level definitions. 2000-10-15 03:28:47 +00:00
Ulrich Drepper
a61e86b079 Linux/HPPA specific low-level object definitions. 2000-10-15 03:28:38 +00:00
Ulrich Drepper
19cf2cc288 Linux/HPPA specific syscall list. 2000-10-15 03:28:22 +00:00
Ulrich Drepper
6357ebdf00 Linux/HPPA specific syscall implementation. 2000-10-15 03:28:15 +00:00
Ulrich Drepper
7e61a792a4 Linux/HPPA specific socket implementation. 2000-10-15 03:28:06 +00:00
Ulrich Drepper
93309db87c Linux/HPPA specific setrlimit implementation. 2000-10-15 03:27:57 +00:00
Ulrich Drepper
b60369154c Linux/HPPA specific entry point for profiling. 2000-10-15 03:27:46 +00:00
Ulrich Drepper
e4dccb0b6a Linux/HPPA specific mmap implementation. 2000-10-15 03:27:14 +00:00
Ulrich Drepper
f67381e6d5 Linux/HPPA kernel specific stat definitions. 2000-10-15 03:26:58 +00:00
Ulrich Drepper
3a13cef1c2 Linux/HPPA kernel specific sigaction definitions. 2000-10-15 03:26:50 +00:00
Ulrich Drepper
18a940ad38 Linux/HPPA specific getrlimit64 implementation. 2000-10-15 03:26:34 +00:00
Ulrich Drepper
f0fb7e01e5 Linux/HPPA specific getrlimit implementation. 2000-10-15 03:26:27 +00:00
Ulrich Drepper
b35e240743 Linux/HPPA specific clone implementation. 2000-10-15 03:26:18 +00:00
Ulrich Drepper
2d9665cddc Linux/HPPA specific brk implementation. 2000-10-15 03:26:10 +00:00
Ulrich Drepper
6d9ee98317 Linux/HPPA specific Versions. 2000-10-15 03:26:01 +00:00
Ulrich Drepper
b8829d504f Linux/HPPA specific Makefile. 2000-10-15 03:25:52 +00:00
Andreas Schwab
adf9969ce1 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
* sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
	* sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
	* sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
	* sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
	* sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
	* sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
	__fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
	getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
	GLIBC_2.2.
	* sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
	oldsetrlimit for GLIBC_2.0.
2000-10-14 17:50:13 +00:00
Andreas Schwab
79e6a4e059 Make struct stat64 backward compatible. 2000-10-03 15:11:28 +00:00
Andreas Schwab
e2d6906870 Fix padding in struct stat for LARGEFILE64_SOURCE. 2000-10-03 11:55:32 +00:00
Ulrich Drepper
979b9fea6f Add missing .mips0 at the end of inline assembler code. 2000-10-02 22:04:18 +00:00
Andreas Jaeger
f0cd8b6f6d Add RLIMIT_LOCKS. 2000-10-02 08:49:05 +00:00
Andreas Jaeger
671b38f832 Synch with Linux 2.4.0-test9-pre8. 2000-10-02 08:47:39 +00:00
Andreas Jaeger
5e9880e0b5 Protect DN_* by __USE_GNU. 2000-09-29 20:24:30 +00:00
Andreas Jaeger
d867f21971 Synch with Linux 2.4.0-test9-pre7. 2000-09-29 19:07:03 +00:00
Ulrich Drepper
73b240faca Add RLIMIT_LOCKS. 2000-09-29 01:30:19 +00:00
Andreas Jaeger
56eb5d1432 Add ipc_priv.h. 2000-09-18 16:39:45 +00:00
Andreas Jaeger
9128d5fd87 MIPS specific file. MIPS always had 32 bit uids. 2000-09-18 16:39:27 +00:00
Ulrich Drepper
e69ea461c5 (INLINE_SYSCALL): Fix last patch. 2000-09-18 00:28:16 +00:00
Ulrich Drepper
62f2f67818 (INLINE_SYSCALL): Fix last patch. 2000-09-17 19:54:50 +00:00
Ulrich Drepper
c09c05d827 (INLINE_SYSCALL): Add memory clobber. 2000-09-15 17:48:53 +00:00
Ulrich Drepper
6e228438b9 (inline_syscall_clobbers): Add memory clobber. 2000-09-15 17:48:15 +00:00
Ulrich Drepper
37b1259bd5 (__cmsg_nxthdr): Fix test for no more entries. 2000-09-14 01:40:14 +00:00
Ulrich Drepper
2b5887d3e4 (CLOCKS_PER_SEC): Make a long int constant since this is what clock_t is. 2000-09-13 21:46:56 +00:00
Andreas Jaeger
2747c0eab5 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
* sysdeps/unix/sysv/linux/arm/fcntl.c: New file.

        * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
        (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
        (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
2000-09-08 08:12:57 +00:00
Andreas Jaeger
fafed084cd Fix last checkin. 2000-09-07 15:44:36 +00:00
Andreas Jaeger
d767c6f449 Linux/MIPS specific lockf64 version. 2000-09-07 15:44:15 +00:00
Andreas Jaeger
f8915f93dd Add __syscall_fcntl. 2000-09-07 14:51:43 +00:00
Andreas Jaeger
5274d0e37c fcntl/fcntl64 for Linux/MIPS. 2000-09-07 11:56:20 +00:00
Andreas Jaeger
a20032ae23 Add getdents64. 2000-09-07 08:17:25 +00:00
Andreas Jaeger
b42bd0f590 (SYS_getdents64): New.
(SYS_fcntl64): New.
2000-09-07 08:17:04 +00:00
Andreas Jaeger
7e54ab950c [$(subdir) = misc]: Use sysdep_headers instead of headers for make dist. 2000-09-06 08:21:55 +00:00
Andreas Jaeger
e739de1170 Follow changes for <bits/stat.h> 2000-09-05 19:33:23 +00:00
Andreas Jaeger
90d3df7387 Use st_pad5. 2000-09-05 19:33:13 +00:00
Andreas Schwab
6ef46d7cc8 New file. 2000-09-05 15:17:27 +00:00
Andreas Jaeger
f727031ab2 Fixes for fcntl64. 2000-09-02 15:03:41 +00:00
Ulrich Drepper
ce5c1dab0d [$(subdir)==resource] (sysdep_routines): Add oldgetrlimit64. 2000-08-27 01:01:17 +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
142652edb2 Not needed anymore. 2000-08-19 16:38:21 +00:00
Ulrich Drepper
51977e0692 Only use for non-LFS getdents. 2000-08-19 16:37:40 +00:00
Ulrich Drepper
9e89ae2f4c Linux/Arm version of glob64. 2000-08-19 16:14:56 +00:00
Ulrich Drepper
3c59266928 Add glob64@@GLIBC_2.2. 2000-08-19 16:14:18 +00:00
Andreas Jaeger
546afa8c7b Add pads to show alignment for structs stat and stat64.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-08-18 06:11:11 +00:00
Ulrich Drepper
cc9ced9792 Remove special d_ino handling. 2000-08-18 00:09:47 +00:00
Ulrich Drepper
eb76534ecc (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
(alphasort64, readdir64, readdir64_r, scandir64, versionsort64): Likewise.
2000-08-14 17:39:48 +00:00
Ulrich Drepper
8f7d68ab04 (DIRENT_TYPE): Define. 2000-08-14 17:39:31 +00:00
Ulrich Drepper
5b5a4299b4 Define __clockid_t and __timer_t. 2000-08-14 05:23:10 +00:00
Ulrich Drepper
8a632183fb __clockid_t and __timer_t are now defined in bits/types.h. 2000-08-14 05:22:20 +00:00
Ulrich Drepper
9ff6d9a067 Define thread types also for POSIX95. 2000-08-14 04:50:13 +00:00
Andreas Jaeger
1ce1bc0d3d (F_GETLK64, F_SETLK64, F_SETLKW64): Define with F_GETLK etc. 2000-08-12 09:59:40 +00:00
Andreas Jaeger
56cb41faed * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
mips2 for assembler.
        * sysdeps/mips/pt-machine.h (testandset): Add .set mips2 for
        assembler.
        (__compare_and_swap): Likewise.
        * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Likewise.
2000-08-12 09:29:03 +00:00
Ulrich Drepper
206065a117 Linux/Arm implementation of versionsort64. 2000-08-12 08:21:01 +00:00
Ulrich Drepper
7e626298f0 Linux/Arm implementation of scandir64. 2000-08-12 08:20:53 +00:00
Ulrich Drepper
fe8e1d5f91 Linux/Arm implementation of readdir64_r. 2000-08-12 08:20:43 +00:00
Ulrich Drepper
f4e95ada8a Linux/Arm implementation of readdir64. 2000-08-12 08:20:37 +00:00
Ulrich Drepper
f5d4fa3fe4 Linux/Arm implementation of getdents64. 2000-08-12 08:20:30 +00:00
Ulrich Drepper
adb0bd509b Linux/Arm implementation of alphasort64. 2000-08-12 08:20:21 +00:00
Ulrich Drepper
7c27fb615e (__ino64_t): Change to __u_quad_t. 2000-08-12 05:07:57 +00:00
Ulrich Drepper
3579fe4e8a (__xstat_conv): Remove unused prototype. 2000-08-12 04:48:40 +00:00
Ulrich Drepper
a510d2b69c Linux/Alpha getdents64 implementation. 2000-08-12 04:48:27 +00:00
Ulrich Drepper
b2db50fd18 Linux/Alpha egtdents implementation. 2000-08-12 04:48:19 +00:00
Andreas Jaeger
2489c7f179 Synch struct stat64 and stat with current MIPS kernel. 2000-08-10 12:39:48 +00:00
Ulrich Drepper
031a1712e4 Include kernel-features.h. 2000-08-10 04:21:28 +00:00
Ulrich Drepper
d4e2464608 Add _test_and_set.c. 2000-08-02 22:41:58 +00:00
Ulrich Drepper
8efcd38cde Undo last change. 2000-08-02 15:27:16 +00:00
Ulrich Drepper
305f4d2cd1 [subdir=resource] (sysdep_routines): Add oldgetrlimit, oldsetrlimit. 2000-08-01 19:11:07 +00:00
Ulrich Drepper
55fc2728f5 Add oldgetrlimit, oldsetrlimit for GLIBC_2.0. 2000-08-01 19:10:53 +00:00
Andreas Jaeger
156a8cfcd4 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
the order of struct sigaltstack members is different.
2000-07-31 08:19:13 +00:00
Ulrich Drepper
69a935560b fcntl.h definitions for Linux/Arm. 2000-07-30 16:07:40 +00:00
Ulrich Drepper
63ac74aa94 (PSEUDO_RET): New macro.
(ret): Redefine to PSEUDO_RET.
(PSEUDO): Remove jump to syscall_error.
2000-07-29 18:03:21 +00:00
Andreas Jaeger
da671ea07a * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
* sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
	_test_and_set.
	(headers): Add sys/tas.h.
	* sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
	GLIBC_2.2 from libc.
	* sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
	* sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
	_test_and_set.
2000-07-28 13:37:26 +00:00
Andreas Jaeger
797c09d821 Rename MSG_URG TO MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never
used).
2000-07-27 15:12:23 +00:00
Greg McGary
1e43162758 * sysdeps/gnu/bits/msq.h: Qualify kernel's
data structure pointers as __unbounded.
	* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
	* sysdeps/generic/bp-semctl.h: New file.
	* sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
	pointers as __unbounded.  Check bounds of syscall args.
	* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
	* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
	* sysdeps/unix/sysv/linux/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/semop.c: Likewise.
	* sysdeps/unix/sysv/linux/shmat.c: Likewise.
	* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2000-07-27 06:13:09 +00:00
Andreas Schwab
b297c341de Remove mmap64 alias. 2000-07-24 13:33:15 +00:00
Greg McGary
84b5ff5c97 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters F, I, S, W.  Remove unused keyletter V.  Surround
	signature argnames with angle-brackets for use as word delimiters,
	and to induce syntax errors for any args not handled.  Split
	multi-echo echoes and comment each stage.
	* sysdeps/unix/common/syscalls.list: Refine & correct signatures.
	* sysdeps/unix/inet/syscalls.list: Likewise.
	* sysdeps/unix/mman/syscalls.list: Likewise.
	* sysdeps/unix/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
	* sysdeps/unix/sysv/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list
2000-07-17 22:28:59 +00:00
Andreas Jaeger
8af6401387 Add libgcc frame handling functions. 2000-07-13 11:46:49 +00:00
Andreas Jaeger
cc5d8c397b * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
it's overridden by libpthreads.
	* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2000-07-10 16:23:37 +00:00
Greg McGary
e3d6c5810b * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
New macros.
	* sysdeps/generic/strcpy.c: Add bounds checks.
	* sysdeps/unix/fxstat.c: Likewise.
	* sysdeps/unix/xstat.c: Likewise.
	* sysdeps/unix/common/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
	* sysdeps/unix/sysv/linux/execve.c: Likewise.
	* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
	* sysdeps/unix/sysv/linux/getdents.c: Likewise.
	* sysdeps/unix/sysv/linux/llseek.c: Likewise.
	* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/poll.c: Likewise.
	* sysdeps/unix/sysv/linux/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/readv.c: Likewise.
	* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
	* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
	* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
	* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
	* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
	* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
	* sysdeps/unix/sysv/linux/ustat.c: Likewise.
	* sysdeps/unix/sysv/linux/writev.c: Likewise.
	* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
2000-07-07 02:19:05 +00:00
Ulrich Drepper
71005584b8 Add __libc_sigaction. 2000-07-07 00:47:05 +00:00
Greg McGary
6f5d6cb60d * string/endian.h (__LONG_LONG_PAIR): New macro.
* sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
	* sysdeps/unix/sysv/linux/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2000-07-06 23:42:33 +00:00
Greg McGary
573d31d4d3 * sysdeps/generic/bp-checks.h: New file.
* sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
	with list of #include files.
	* sysdeps/unix/make-syscalls.sh: Handle new arg signature
	keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
	Don't generate BP thunk if `V' appears in signature.
	Generate thunks with complete bounds checks.
	* sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
	* sysdeps/unix/inet/syscalls.list: Likewise.
	* sysdeps/unix/mman/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2000-07-06 00:48:39 +00:00
Andreas Schwab
7228f3cac1 Replace arg-count with signatures. 2000-06-23 11:09:25 +00:00
Andreas Jaeger
e4586ea96c * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
SYS_mincore, SYS_madvise): Added.
2000-06-23 07:55:36 +00:00
Andreas Jaeger
d0371ae0a3 Fix signature of execve. 2000-06-23 06:26:24 +00:00
Andreas Jaeger
b63d27b615 Replace arg-count with signatures. 2000-06-22 21:12:27 +00:00
Ulrich Drepper
afda99352c Define __S_TYPEISMQ, __S_TYPEISSEM, and __S_TYPEISSHM. 2000-06-22 17:58:17 +00:00
Andreas Jaeger
52783ef8b6 Fix one more typoe for sysctl. 2000-06-22 13:50:01 +00:00
Andreas Jaeger
41c427da07 Fix sysctl entry. 2000-06-22 13:38:05 +00:00
Ulrich Drepper
0d1cec93d5 Define LINUX_LINK_MAX. 2000-06-18 05:21:59 +00:00
Ulrich Drepper
821954bf6c Define LINK_MAX. 2000-06-18 05:19:19 +00:00
Ulrich Drepper
91f51e028b Add libgcc frame handling functions here. 2000-06-15 06:59:07 +00:00
Ulrich Drepper
a759aecd6b Additional files to distribute for AIX. 2000-06-14 00:44:54 +00:00
Ulrich Drepper
91931049ec Add oldgetrlimit64.c. 2000-06-14 00:32:09 +00:00
Andreas Jaeger
c3b737cb0d * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-06-02 13:10:38 +00:00
Andreas Jaeger
ba747ea161 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
gregset_t.

	* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
2000-05-31 12:03:35 +00:00
Andreas Jaeger
6d5a02529d * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
	* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2000-05-31 12:00:45 +00:00
Ulrich Drepper
f41d856feb (__old_glob): Loose __P. 2000-05-30 23:44:42 +00:00
Andreas Jaeger
245061db80 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
	* sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
2000-05-30 12:50:17 +00:00
Andreas Jaeger
dae4f11aac * sysdeps/unix/sysv/linux/arm/pread.c: Removed, we can use the
normal version now.
        * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
2000-05-27 16:49:57 +00:00
Andreas Jaeger
00842512db * sysdeps/unix/sysv/linux/mips/pread.c: Removed, we can use the
normal version now.
        * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2000-05-27 16:49:02 +00:00
Andreas Jaeger
cd60509b8f * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
normal version now.
	* sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2000-05-26 15:45:57 +00:00
Andreas Jaeger
cf0d650794 Remove K&R support. 2000-05-23 09:07:17 +00:00
Andreas Jaeger
3a1e20c64a 2000-05-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
	Linux 2.3.99pre7.
	(AF_PPPOX): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
	(AF_PPPOX): Likewise.
2000-05-13 18:18:03 +00:00
Andreas Schwab
bb0607a2aa New file. Use getpagesize syscall if available. 2000-05-08 15:01:07 +00:00
Ulrich Drepper
102e7428d3 Moved to sysdeps/unix/sysv/linux/powerpc/aix. 2000-05-05 19:54:08 +00:00
Ulrich Drepper
e72c26d751 Linux dirent structure definition. 2000-05-01 23:43:43 +00:00
Ulrich Drepper
4ca971409e Functions to convert AIX dirent structure to Linux form. 2000-05-01 23:43:22 +00:00
Ulrich Drepper
37dca96f1c (F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K. 2000-04-30 07:12:32 +00:00
Ulrich Drepper
db7f627b6e Not needed anymore. 2000-04-28 05:11:59 +00:00
Ulrich Drepper
9790568c2b (init_iosys): Allow compilation if __NR_pciconfig_iobase is not defined. 2000-04-22 06:55:19 +00:00
Ulrich Drepper
64fe7d3c70 (__fstatfs64): Add alias. 2000-04-22 06:55:02 +00:00
Ulrich Drepper
0a5f55b135 Surround uses of $f28 with .set noat/at to shut up warnings. 2000-04-22 06:54:50 +00:00
Ulrich Drepper
fa04216d3b (__syscall_shmctl): Declare. 2000-04-22 06:54:35 +00:00
Ulrich Drepper
b6e679a8ac (__syscall_semctl): Declare. 2000-04-22 06:54:21 +00:00
Ulrich Drepper
bce847003b (__syscall_msgctl): Declare. 2000-04-22 06:54:09 +00:00
Andreas Jaeger
8ef0fc0495 2000-04-21 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/mips/sysdep.S: Use __PIC__ instead of PIC.
2000-04-21 22:03:39 +00:00
Ulrich Drepper
5714e99571 Fix type of len argument. 2000-04-18 19:43:07 +00:00
Ulrich Drepper
b146f38432 Define ACC_INVOKER. 2000-04-18 19:41:18 +00:00
Ulrich Drepper
e110de6683 Define ID_EFFECTIVE. 2000-04-18 19:38:24 +00:00
Ulrich Drepper
46737e2def Don't try to include <sys/id.h>. 2000-04-18 17:56:51 +00:00
Ulrich Drepper
a24525ca53 Fix typo. 2000-04-18 17:54:56 +00:00
Ulrich Drepper
f7bc29f16f Define STX_NORMAL and STX_64. 2000-04-18 17:42:20 +00:00
Ulrich Drepper
19250f4f64 Define STX_NORMAL. 2000-04-18 17:41:57 +00:00
Ulrich Drepper
6f571f1f69 AIX utimes implementation. 2000-04-18 17:41:27 +00:00
Ulrich Drepper
51ce962681 AIX ustat implementation. 2000-04-18 17:40:45 +00:00
Ulrich Drepper
3c6dd57c14 AIX unlink implementation. 2000-04-18 17:40:14 +00:00
Ulrich Drepper
49bfeb5b7b AIX umask implementation. 2000-04-18 17:39:34 +00:00
Ulrich Drepper
42ae56646a AIX ulimit implementation. 2000-04-18 17:38:42 +00:00
Ulrich Drepper
361684a9a2 AIX times implementation. 2000-04-18 17:36:12 +00:00
Ulrich Drepper
79be7d26af AIX tcsetattr implementation. 2000-04-18 17:33:41 +00:00
Ulrich Drepper
bc84839066 AIX tcgetattr implementation. 2000-04-18 17:32:06 +00:00
Ulrich Drepper
2b6e50c981 Define NGROUPS. 2000-04-18 17:26:12 +00:00
Ulrich Drepper
1fcf9f3339 AIX sync implementation. 2000-04-18 17:25:35 +00:00
Ulrich Drepper
be97d53c5e AIX symlink implementation. 2000-04-18 17:24:57 +00:00
Ulrich Drepper
3768742b5c AIX cf[sg]et[io]speed implementations. 2000-04-18 17:23:08 +00:00
Ulrich Drepper
5dfa9a8791 AIX socketpair implementation. 2000-04-18 17:21:56 +00:00
Ulrich Drepper
6d46f52217 AIX socket implementation. 2000-04-18 17:20:43 +00:00
Ulrich Drepper
7960128f5d AIX sgistack implementation. 2000-04-18 17:20:01 +00:00
Ulrich Drepper
8089d978a5 AIX sigaltstack implementation. 2000-04-18 17:19:16 +00:00
Ulrich Drepper
3cac390299 AIX shmget implementation. 2000-04-18 17:18:37 +00:00
Ulrich Drepper
58aea19680 AIX shmdt implementation. 2000-04-18 17:18:00 +00:00
Ulrich Drepper
d117b99008 AIX shmctl implementation. 2000-04-18 17:17:12 +00:00
Ulrich Drepper
8c0364334c AIX shmat implementation. 2000-04-18 17:16:24 +00:00
Ulrich Drepper
b7ed538a9d Define ID_REAL. 2000-04-18 16:17:51 +00:00
Ulrich Drepper
74cb21ae8f AIX setsockopt implementation. 2000-04-18 16:17:20 +00:00
Ulrich Drepper
4d70663df0 AIX setsid implementation. 2000-04-18 16:16:41 +00:00
Ulrich Drepper
2c4f60902a AIX setrlimit64 implementation. 2000-04-18 16:15:59 +00:00
Ulrich Drepper
6376e31c11 AIX setrlimit implementation. 2000-04-18 16:15:14 +00:00
Ulrich Drepper
bb67907d47 Define ID_EFFECTIVE and ID_REAL. 2000-04-18 16:13:05 +00:00
Ulrich Drepper
9cf10be3d4 AIX setpriority implementation. 2000-04-18 16:11:54 +00:00
Ulrich Drepper
9142cbef04 AIX setpgrp implementation. 2000-04-18 16:10:47 +00:00
Ulrich Drepper
f7446ac75b AIX setpgid implementation. 2000-04-18 16:09:37 +00:00
Ulrich Drepper
08d89c57c2 AIX setgroups implementation. 2000-04-18 16:08:31 +00:00
Ulrich Drepper
7d83250b89 Define ID_EFFECTIVE. 2000-04-18 16:07:13 +00:00
Ulrich Drepper
3669ba5cb8 AIX sendto implementation. 2000-04-18 16:06:12 +00:00
Ulrich Drepper
580c1a55bb AIX semop implementation. 2000-04-18 16:05:38 +00:00
Ulrich Drepper
cd39f671ca AIX semget implementation. 2000-04-18 16:05:03 +00:00
Ulrich Drepper
fb8b9f103c AIX semctl implementation. 2000-04-18 16:04:22 +00:00
Ulrich Drepper
bfefa44d6c AIX select implementation. 2000-04-18 16:01:23 +00:00
Ulrich Drepper
6d8593d823 Update parameter type. 2000-04-18 16:00:33 +00:00
Ulrich Drepper
5745df2a3a AIX rmdir implementation. 2000-04-18 15:59:17 +00:00
Ulrich Drepper
05ab8acba1 AIX rename implementation. 2000-04-18 15:58:27 +00:00
Ulrich Drepper
b4a5589d58 AIX poll implementation. 2000-04-18 15:57:46 +00:00
Ulrich Drepper
b875e7027a AIX pipe implementation. 2000-04-18 15:57:30 +00:00
Ulrich Drepper
506a1fac7e Argh, must be a C file. 2000-04-18 15:57:14 +00:00
Ulrich Drepper
c83c51cec3 AIX poll implementation. 2000-04-18 15:56:16 +00:00
Ulrich Drepper
dbde296891 AIX pipe implementation. 2000-04-18 15:55:27 +00:00
Ulrich Drepper
5b1d7b62c1 AIX if.h header. 2000-04-18 15:52:10 +00:00
Ulrich Drepper
f6507e4d33 (struct timestruc_t): Define it here. 2000-04-18 15:50:46 +00:00
Ulrich Drepper
7ba15d4a78 AIX msync implementation. 2000-04-18 15:49:54 +00:00
Ulrich Drepper
bef118cd0b AIX msgsnd implementation. 2000-04-18 15:49:10 +00:00
Ulrich Drepper
37a0c91233 AIX msgrcv implementation. 2000-04-18 00:42:45 +00:00
Ulrich Drepper
09f057fe96 AIX msgget implementation. 2000-04-17 23:11:32 +00:00
Ulrich Drepper
5c5e1eba35 AIX msgctl implementation. 2000-04-17 23:10:58 +00:00
Ulrich Drepper
d51e90124f AIX mprotect implementation. 2000-04-17 23:10:17 +00:00
Ulrich Drepper
b0b050986b AIX implementation of mknod. 2000-04-17 23:09:34 +00:00
Ulrich Drepper
fb1360eb6e AIX mkdir implementation. 2000-04-17 23:07:54 +00:00
Ulrich Drepper
ae2e40d04d AIX madvise implementation. 2000-04-17 23:06:41 +00:00
Ulrich Drepper
2f8f1d1549 Uncomment STX_LINK and STX_64 definition. 2000-04-17 23:05:45 +00:00
Ulrich Drepper
9ef28d0f3a Uncomment STX_LINK definition. 2000-04-17 23:05:21 +00:00
Ulrich Drepper
d5a39871bc AIX link implementation. 2000-04-17 23:04:36 +00:00
Ulrich Drepper
cce7a16e8e Add copyright. 2000-04-17 23:03:44 +00:00
Ulrich Drepper
9f16cfe420 Define ID_REAL. 2000-04-17 22:49:17 +00:00
Ulrich Drepper
c2757d9621 AIX getrusage implementation. 2000-04-17 22:48:28 +00:00
Ulrich Drepper
94fd03c646 AIX getrlimit64 implementation. 2000-04-17 22:47:33 +00:00
Ulrich Drepper
5fc3097f7d AIX getrlimit implementation. 2000-04-17 22:45:39 +00:00
Ulrich Drepper
e7dd245c59 AIX getpriority implementation. 2000-04-17 22:43:49 +00:00
Ulrich Drepper
56e4a6964e AIX gethostname implementation. 2000-04-17 22:43:14 +00:00
Ulrich Drepper
cf76bf245d AIX getgroups implementation. 2000-04-17 22:41:47 +00:00
Ulrich Drepper
b21b9d8cc4 AIX fchmod implementation. 2000-04-17 22:37:55 +00:00
Ulrich Drepper
598e6ade51 AIX fchdir implementation. 2000-04-17 22:37:08 +00:00
Ulrich Drepper
4d4f87b48e AIX __libc_dlsym implementation. 2000-04-17 22:15:47 +00:00