Commit Graph

970 Commits

Author SHA1 Message Date
Andreas Schwab f476000f87 Check _dl_pagesize first. Default to 4096, not EXEC_PAGESIZE. 2001-07-15 15:25:11 +00:00
Andreas Jaeger 6b440a5c6e Removed, we can use the generic Linux version. 2001-07-06 07:14:28 +00:00
Andreas Jaeger 3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
Andreas Jaeger 6fbcd2261e Synch with Linux 2.4.5:
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
	New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
	(PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.

	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
2001-07-05 08:46:28 +00:00
Ulrich Drepper 99e859a488 Define __MAX_BAUD. 2001-06-14 00:21:01 +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
Andreas Jaeger b81e88a055 Linux/MIPS specific version. 2001-05-27 08:40:14 +00:00
Andreas Jaeger 3901129ce4 Change sigsuspend to s_sigsuspend. Add s_mmap2. 2001-05-27 08:39:56 +00:00
Andreas Jaeger fc0f915617 (ipc_perm): Put back __key. 2001-05-27 08:34:45 +00:00
Andreas Jaeger b5cd3bfc63 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
* sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2001-05-11 16:48:37 +00:00
Andreas Jaeger 979dedac4f Make structure definitions match the kernel definitions. 2001-04-30 07:20:38 +00:00
Andreas Jaeger 30ecc70c40 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
	Linux 2.4.4.
	(AF_WANPIPE): Likewise.
	(MSG_MORE): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
	for Linux generic version.
	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.

	* sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2001-04-29 12:30:59 +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 90256e473e Include sys/procfs.h not sys/elf.h. 2001-04-22 14:10:28 +00:00
Ulrich Drepper e8551fba7f (struct user_fpregs): Renamed from struct user_fp.
(struct user_regs): New.
(struct user): Use struct user_regs rather than struct pt_regs to
avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
of struct user_fp and struct user_fp_struct.
2001-04-22 14:10:14 +00:00
Ulrich Drepper ace45f1fd0 Move contents to sys/procfs.h, and tell the user to include that file instead. 2001-04-22 14:08:57 +00:00
Ulrich Drepper c2a38d017e Remove old cruft surrounded with #if 0.
(elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
from sys/elf.h.
(prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
elf_fpregset_t respectively.
2001-04-22 14:07:25 +00:00
Ulrich Drepper 7ace52d01f Also print the address that faulted. 2001-04-22 14:02:39 +00:00
Ulrich Drepper 15a25bb641 Fix clone system call entry point stub. 2001-04-22 03:24:39 +00:00
Ulrich Drepper fe6fac6851 Removed ptrace entry so the ptrace.c wrapper is used. 2001-04-22 03:23:45 +00:00
Ulrich Drepper 21e7ad57ab (NGREG, NFPREG, gregset): Correct for new kernel definitions. 2001-04-20 06:05:52 +00:00
Ulrich Drepper 6e3bde59b4 (CALL_MCOUNT): Update comment. 2001-04-20 06:05:04 +00:00
Ulrich Drepper 964b686b75 (INLINE_SYSCALL): Change to return a signed result for compatibility with other
architectures, and correctness.
2001-04-19 21:23:49 +00:00
Andreas Jaeger 6f66c56d4e Fix typos in last patch. 2001-04-19 09:35:01 +00:00
Andreas Jaeger 070b2d2a8e Fix typos in last patch. 2001-04-19 09:33:50 +00:00
Ulrich Drepper a7d0b32d5f [!__ASSEMBLY__]: Declare __start. 2001-04-10 22:32:04 +00:00
Ulrich Drepper fe4dd66ed7 setresuid implementation for Linux/CRIS. 2001-04-09 05:08:36 +00:00
Ulrich Drepper 51610bc7b3 setresgid implementation for Linux/CRIS. 2001-04-09 05:08:17 +00:00
Ulrich Drepper 12d6ab7b10 __xstat implementation for Linux/CRIS. 2001-04-09 04:51:09 +00:00
Ulrich Drepper b13de4a8b7 vfork implementation for Linux/CRIS. 2001-04-09 04:50:57 +00:00
Ulrich Drepper c2e42b7134 System specific code for Linux/CRIS. 2001-04-09 04:50:44 +00:00
Ulrich Drepper a2c5e2b43a System specific definitions for Linux/CRIS. 2001-04-09 04:50:27 +00:00
Ulrich Drepper c8e66742e2 syscall implementation for Linux/CRIS. 2001-04-09 04:50:08 +00:00
Ulrich Drepper b660421d48 ucontext definitions for Linux/CRIS. 2001-04-09 04:49:56 +00:00
Ulrich Drepper 22ebc6a15f socket implementation for Linux/CRIS. 2001-04-09 04:49:41 +00:00
Ulrich Drepper 25a87ddfb0 shmctl implementation for Linux/CRIS. 2001-04-09 04:49:25 +00:00
Ulrich Drepper 1157fe0248 setuid implementation for Linux/CRIS. 2001-04-09 04:49:10 +00:00
Ulrich Drepper a6aa3792be setrlimit implementation for Linux/CRIS. 2001-04-09 04:48:56 +00:00
Ulrich Drepper 382b7b8995 setreuid implementation for Linux/CRIS. 2001-04-09 04:48:41 +00:00
Ulrich Drepper 4c8b7016a8 setregid implementation for Linux/CRIS. 2001-04-09 04:48:27 +00:00
Ulrich Drepper f79e192ba6 setgroups implementation for Linux/CRIS. 2001-04-09 04:48:09 +00:00
Ulrich Drepper e1cb46ec7a setgid implementation for Linux/CRIS. 2001-04-09 04:47:52 +00:00
Ulrich Drepper 75938458d7 setfsuid implementation for Linux/CRIS. 2001-04-09 04:47:29 +00:00
Ulrich Drepper 70f5c90d37 setfsgid implementation for Linux/CRIS. 2001-04-09 04:47:13 +00:00
Ulrich Drepper abf44d0128 seteuid implementation for Linux/CRIS. 2001-04-09 04:46:45 +00:00
Ulrich Drepper b074d424bd setegid implementation for Linux/CRIS. 2001-04-09 04:46:28 +00:00
Ulrich Drepper f63b7c8b19 semctl implementation for Linux/CRIS. 2001-04-09 04:46:05 +00:00
Ulrich Drepper 0cfe451872 Register dump code for Linux/CRIS. 2001-04-09 04:45:39 +00:00
Ulrich Drepper efe7db140e Profile helper definitions for Linux/CRIS. 2001-04-09 04:45:23 +00:00
Ulrich Drepper 6f41227c00 msgctl implementation for Linux/CRIS. 2001-04-09 04:45:00 +00:00
Ulrich Drepper 83fcbc9f9c mmap64 implementation for Linux/CRIS. 2001-04-09 04:44:45 +00:00
Ulrich Drepper 1e9050b191 mmap implementation for Linux/CRIS. 2001-04-09 04:43:42 +00:00
Ulrich Drepper 9783a2c16b __lxstat implementation for Linux/CRIS. 2001-04-09 04:43:24 +00:00
Ulrich Drepper 0ef01ce34a lockf64 implementation for Linux/CRIS. 2001-04-09 04:43:05 +00:00
Ulrich Drepper 1e1229ee3d lchown implementation for Linux/CRIS. 2001-04-09 04:42:48 +00:00
Ulrich Drepper d4c00be41b getuid implementation for Linux/CRIS. 2001-04-09 04:36:48 +00:00
Ulrich Drepper b7119d5193 getrlimit64 implementation for Linux/CRIS. 2001-04-09 04:36:29 +00:00
Ulrich Drepper 4fa1498695 getrlimit implementation for Linux/CRIS. 2001-04-09 04:36:16 +00:00
Ulrich Drepper ca9495b62e getresuid implementation for Linux/CRIS. 2001-04-09 04:35:56 +00:00
Ulrich Drepper 7663b23c29 getresgid implementation for Linux/CRIS. 2001-04-09 04:35:40 +00:00
Ulrich Drepper 77e0283665 getgroups implementation for Linux/CRIS. 2001-04-09 04:35:21 +00:00
Ulrich Drepper 58e6c6c253 getgid implementation for Linux/CRIS. 2001-04-09 04:35:05 +00:00
Ulrich Drepper ac9292a134 geteuid implementation for Linux/CRIS. 2001-04-09 04:34:52 +00:00
Ulrich Drepper f96ae8fee8 getegid implementation for Linux/CRIS. 2001-04-09 04:34:34 +00:00
Ulrich Drepper 49b9983558 __fxstat implementation for Linux/CRIS. 2001-04-09 04:34:09 +00:00
Ulrich Drepper d00b608d09 fcntl implementation for Linux/CRIS. 2001-04-09 04:33:52 +00:00
Ulrich Drepper dc778674f3 fchown implementation for Linux/CRIS. 2001-04-09 04:33:08 +00:00
Ulrich Drepper 0f5e0abce9 clone implementation for Linux/CRIS. 2001-04-09 04:32:55 +00:00
Ulrich Drepper 2a509b902e chown implementation for Linux/CRIS. 2001-04-09 04:32:41 +00:00
Ulrich Drepper 223bf22682 brk implementation for Linux/CRIS. 2001-04-09 04:32:28 +00:00
Ulrich Drepper e1eebead7a <sys/resource.h> definitions for Linux/CRIS. 2001-04-09 04:32:15 +00:00
Ulrich Drepper 187454c642 <sys/mman.h> definitions for Linux/CRIS. 2001-04-09 04:31:50 +00:00
Ulrich Drepper d2d1cc6e89 <fcntl.h> definitions for Linux/CRIS. 2001-04-09 04:31:35 +00:00
Ulrich Drepper 2e3938d45f libio config for Linux/CRIS. 2001-04-09 04:31:15 +00:00
Ulrich Drepper 58dc8bd3f5 Additional rules for Linux/CRIS. 2001-04-09 04:31:00 +00:00
Ulrich Drepper 693ba46706 Additional files to distribute for Linux/CRIS. 2001-04-09 04:30:48 +00:00
Ulrich Drepper fefb54b6d6 (INLINE_SYSCALL): Fix typo; s/==/=/ for assignment. 2001-04-09 03:58:11 +00:00
Ulrich Drepper 4adec71eab (GET_NPROCS_PARSER): added code to parse new 2.4 format.
(GET_NPROCS_CONF_PARSER): likewise.
2001-04-06 22:37:39 +00:00
Andreas Jaeger 0b3ec5b028 Add prototype for __umount2. 2001-04-02 12:32:51 +00:00
Ulrich Drepper e8d795b077 Add MAP_* and MADV_* defines to match other architectures. 2001-03-27 02:43:47 +00:00
Ulrich Drepper d76aa2b87e (CALL_SIGHANDLER): Define. 2001-03-16 23:52:16 +00:00
Ulrich Drepper 7f21c16fbf m68k-specific definitions for ldconfig. 2001-03-10 16:16:44 +00:00
Ulrich Drepper 10e506a635 Add dl-procinfo.c and dl-procinfo.h. 2001-03-10 06:37:12 +00:00
Ulrich Drepper ce56b0a81a [subdir=elf] (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
dl-procinfo.
2001-03-10 06:36:31 +00:00
Ulrich Drepper 807c3437eb Interface definitions for functions to handle processor specific features
on Linux/Arm.
2001-03-10 06:36:09 +00:00
Ulrich Drepper e3a9f6bb39 Handling processor specific features for Linux/Arm. 2001-03-10 06:35:45 +00:00
Ulrich Drepper 5c4a646199 (__S_TYPEISMQ, __S_TYPEISSEM, __S_TYPEISSHM): Rewrite to enforce correct
use the macros.  They still always return zero.
2001-03-05 18:28:40 +00:00
Ulrich Drepper 1052cd9dac Define SI_ASYNCNL. 2001-03-04 19:28:52 +00:00
Ulrich Drepper abb2a703aa Allow __need_sigevent_t being defined and provide only that definition. 2001-03-03 18:15:33 +00:00
Ulrich Drepper 84a29bc1f5 (ftruncate): Add __ftruncate64 alias. 2001-02-16 18:12:10 +00:00
Ulrich Drepper 305f83de53 Define __ftruncate64 and make old name a weak alias. 2001-02-13 22:09:09 +00:00
Ulrich Drepper 1ed6488cdb Remove comma at end of enum. 2001-02-03 17:05:56 +00:00
Ulrich Drepper 77e906bb3a File was using crlf. 2001-02-03 17:04:37 +00:00
Ulrich Drepper 4b3d3c61d4 Don't define CLK_TCK for XPG6. 2001-01-28 05:37:10 +00:00
Ulrich Drepper 8032f91d4c Liunx/Alpha version of statvfs definitions. 2001-01-27 22:41:42 +00:00
Ulrich Drepper 0688457b47 (struct sockaddr_storage): Define ss_family and __ss_family.
(struct msghdr): Change type of msg_iovlen to int and type of
msg_controllen to socklen_t.
2001-01-27 21:25:38 +00:00
Ulrich Drepper 72f561b477 Linux/Alpha specific socket.h definitions. 2001-01-27 21:23:45 +00:00
Ulrich Drepper 0361ba3046 Don't define __fd_mask, __NFDBITS, __FDELT, __FDMASK, and __fd_set here. 2001-01-27 19:27:16 +00:00
Ulrich Drepper 1ae7e5b695 Define sigev_notify_attr with real type. 2001-01-27 06:29:16 +00:00
Ulrich Drepper cb25fffef1 Define NPOLLFILE only if __USE_MISC. 2001-01-27 04:59:52 +00:00
Ulrich Drepper 274a3ffc63 [libc] (GLIBC_2.2.2): Add wordexp. 2001-01-26 02:16:41 +00:00
Ulrich Drepper 2b0edb5a1e Correct definition of wordexp_t. 2001-01-26 02:16:03 +00:00
Andreas Jaeger ea3e9a37c0 Fix typo in last patch. 2001-01-16 06:38:37 +00:00
Ulrich Drepper b4b331c712 Remove select syscall handling. The generic Linux version should work. 2001-01-15 20:29:25 +00:00
Andreas Jaeger 722a930901 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
Change type of CTX to (struct sigcontext *).
	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(SIGCONTEXT): Likewise. Add 2nd arg _code.
	(SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
2001-01-15 07:02:28 +00:00
Ulrich Drepper cce723df01 Remove sys/acct.h. 2001-01-07 07:03:36 +00:00
Andreas Jaeger f1ae27dd2f Declare kernel_sigset_t and use it.
Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2000-12-11 19:27:03 +00:00
Andreas Jaeger f0fe91e772 New file, copy from generic linux version with small changes due to
different sigset_t.
2000-12-09 18:32:00 +00:00
Andreas Jaeger 1f8a9b39de Removed, we can use the generic version. 2000-12-09 18:31:01 +00:00
Andreas Jaeger ae8186b5e3 (_test_and_set): Don't set mips2. 2000-12-05 17:59:58 +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
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 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