Commit Graph

1426 Commits

Author SHA1 Message Date
Ulrich Drepper
f91afe2d2d Add execve syscall. 1999-08-23 04:09:18 +00:00
Ulrich Drepper
d56532fe29 Define weak alias execve. 1999-08-21 04:52:27 +00:00
Ulrich Drepper
c7eecb53b2 Undo last change. 1999-08-20 23:45:31 +00:00
Ulrich Drepper
a2c3a8a754 Undo last change but correct comment saying < 0 is ok for size type. 1999-08-20 23:44:59 +00:00
Ulrich Drepper
69bb9f499e Correct last patch. 1999-08-20 18:24:42 +00:00
Ulrich Drepper
7c9b5e4d47 Allocate buffer large enough not only if size == 0, but also for size < 0. 1999-08-20 18:07:55 +00:00
Ulrich Drepper
813e69352a Don't allow use with _FILE_OFFSET_BITS=64. 1999-08-20 15:50:15 +00:00
Ulrich Drepper
4d2d58a467 Copy over missing changes from mainline. 1999-08-20 15:45:28 +00:00
Roland McGrath
8595b3b943 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
	TIMEOUT as outputs of the asm to indicate that the signal thread
	might mutate them.
	* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
	mach_msg if only sending or only receiving (i.e., not an RPC).  When
	making an RPC that might get interrupted, save OPTION and the portion
	of the message buffer that gets clobbered by an EINTR reply message,
	and properly restore them before attempting to retry the request
	message send.
1999-08-20 03:45:14 +00:00
Ulrich Drepper
0c7bbb0c5a Linux specific execve implementation. 1999-08-20 00:15:11 +00:00
Ulrich Drepper
d36f40995a Add change from main branch. 1999-08-19 21:00:36 +00:00
Ulrich Drepper
9c4140bada (__add_to_environ): Initialize ep after we have the lock.
Avoid warning about uninitialized variable.
1999-08-19 20:11:33 +00:00
Ulrich Drepper
ad48761644 Information about how to access signal context info fro Linux/Alpha. 1999-08-19 19:58:46 +00:00
Ulrich Drepper
f790b2ac93 Correct type in performance increase rewrite. 1999-08-17 22:35:54 +00:00
Ulrich Drepper
a05f4b051e Define O_DSYNC and O_RSYNC. 1999-08-17 01:25:43 +00:00
Ulrich Drepper
0b9cfd5991 Update from main branch. 1999-08-15 20:28:48 +00:00
Ulrich Drepper
1af43fd7eb Define ARM specific versions of VALID_ELF_HEADER, VALID_ELF_OSABI,
VALID_ELF_ABIVERSION.
1999-08-10 05:14:30 +00:00
Ulrich Drepper
35a7d84f65 Handle platforms with special __FLOAT_WORD_ORDER. 1999-08-09 05:41:32 +00:00
Ulrich Drepper
0e5e2ce838 Mark void* operations as extensions. 1999-08-09 05:41:03 +00:00
Ulrich Drepper
19fdfe298d Fix typo (MSG_TRUNC -> MSG_DONTWAIT). 1999-08-06 23:01:27 +00:00
Ulrich Drepper
cd55b09de4 (O_RSYNC, O_DSYNC): Define. 1999-08-05 17:40:36 +00:00
Ulrich Drepper
7e97461d46 Update from main line. 1999-08-04 16:04:20 +00:00
Ulrich Drepper
1bdd98e3ed Add siglist.h. 1999-08-01 23:26:19 +00:00
Ulrich Drepper
04d1ae8c4e Update from main line. 1999-08-01 22:23:36 +00:00
Ulrich Drepper
1d5cd731f3 Signal name list. 1999-07-28 21:00:35 +00:00
Roland McGrath
68a743d253 1999-07-27 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/i386/init-first.c (init): Move the inline
	assembler code to switch stacks and call init1 outside this
	function.  Inside `init' the code was optimized away by gcc
	2.95 since it was "clearly" unreachable.
	* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
	Do something similar for the trampoline code.
1999-07-28 18:22:23 +00:00
Roland McGrath
a6877d2677 1999-07-27 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/Makefile [stdio-common]: Set inhibit-siglist.
	(The code this disables is entirely gone in the main branch,
	so this change does not need to be propagated from the 2.1 branch.)
1999-07-28 18:18:59 +00:00
Ulrich Drepper
f20bd94ad7 (gaih_inet): Only return information for the hinted protocol. 1999-07-28 04:38:16 +00:00
Ulrich Drepper
3068508dba Fix aliasing problems. 1999-07-28 04:34:36 +00:00
Roland McGrath
b9d638fcd4 1999-07-20 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/_strerror.c: Include <libintl.h>.
1999-07-20 21:07:48 +00:00
Andreas Schwab
01ff174aeb * iconvdata/Makefile (distribute): Don't distribute CVS
directory.
	* sysdeps/generic/Dist: Add siglist.h.
	* sysdeps/mach/hurd/Dist: Add siglist.h.
1999-07-20 08:36:38 +00:00
Ulrich Drepper
6b30a99829 Add ldd-rewrite.sed. 1999-07-19 01:47:30 +00:00
Ulrich Drepper
d71eb21438 Undo last patch. 1999-07-18 07:17:25 +00:00
Ulrich Drepper
094e45d49d Use addl instead of pop/pop to keep program deterministic. 1999-07-16 23:25:29 +00:00
Ulrich Drepper
cd1bc5a045 (_inb, _inw, _inl, _outb, _outw, _outl): Added to GLIBC_2.1.2. 1999-07-16 23:23:46 +00:00
Ulrich Drepper
c7aca6f6bd (gaih_inet): For non-passive connections without a hostname set address to
localhost address.
1999-07-12 21:31:45 +00:00
Roland McGrath
ce5922110a 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/brk.c (static_data_start): New variable.
	(_hurd_set_brk, init_brk): Use that instead of &__data_start.
	Initialize it from &__data_start if defined, or else &_end.
1999-07-11 17:13:53 +00:00
Ulrich Drepper
5c87d67634 (__memcpy_c): Help some stupid old compilers.
(__memset_cc): Likewise.
1999-07-10 09:57:03 +00:00
Ulrich Drepper
249b3724ed For SUID binaries check whether the standard file descriptors are open. 1999-07-10 09:56:37 +00:00
Ulrich Drepper
a75a5b6ad6 Remove mmap64 alias for mmap. 1999-07-10 09:56:18 +00:00
Ulrich Drepper
bd09d69b2e Test whether mapped area is in range of mmap. If not fail. 1999-07-10 09:55:58 +00:00
Ulrich Drepper
93dceeb10e (exchange_and_add): Remove `volatile';
add `memory' clobber; optimise for constant `val'.
(atomic_add): Likewise.
(test_and_set): Remove `volatile'; add `memory' clobber; be more
like the original `test_and_set'.
(compare_and_swap): Remove `volatile'; add `memory' clobber;
optimise for constant `oldval'.
(always_swap): Remove `volatile'; add `memory' clobber.
1999-07-09 14:14:40 +00:00
Ulrich Drepper
84dfd1608c Check that /dev/pts is mounted.
(_PATH_DEVPTS, DEVPTS_SUPER_MAGIC): New definitions.
(_PATH_DEVPTMX): Use _PATH_DEV.
1999-07-08 11:50:04 +00:00
Ulrich Drepper
667305cc20 Correct last patch. Handle getcwd (NULL, != 0) correctly.
When resizing buffer make sure new size is large enough.
1999-07-08 11:49:46 +00:00
Ulrich Drepper
29b58d09d5 Describe problem. 1999-07-08 11:49:21 +00:00
Ulrich Drepper
38deee8be7 Add support for some more motherboards. 1999-07-06 16:07:24 +00:00
Ulrich Drepper
54bba98f82 Rewrite fragment for ldd on Linux/SPARC. 1999-07-06 15:52:48 +00:00
Ulrich Drepper
713a6a7218 (__cmsg_nxthdr): "return 0" instead of "return NULL" to make C++ happy. 1999-07-06 15:45:16 +00:00
Ulrich Drepper
3353c7e2b4 Update from main branch. 1999-07-02 11:13:51 +00:00
Roland McGrath
cf3d45dfbf 1999-06-25 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/generic/glob64.c: Include <stddef.h> for NULL.
1999-06-25 13:45:39 +00:00