Commit Graph

3270 Commits

Author SHA1 Message Date
mycroft 3883efe0da Fix IDT initialization bug. Don't allow IRQ 0 to be autoconfigured. 1993-10-26 12:10:01 +00:00
phil a7a10ca319 Dealing with the "broken" _VA_LIST_ stuff. 1993-10-26 07:15:56 +00:00
cgd 130c0dd9d9 use gnu malloc 1993-10-26 06:56:08 +00:00
cgd 47850d1d3b combine malloc, free, and realloc into one file, because that's what
libc does, and we don't want things to get screwed up at link-time.
1993-10-26 06:52:16 +00:00
cgd 842069a9cb use gnu malloc 1993-10-26 06:51:34 +00:00
cgd 7536dc1148 Fixed multiple off-by-one bugs which caused the open file printing to
not print the last open file.  patch from David Greenman
<davidg@implode.rain.com>.
1993-10-26 02:04:49 +00:00
cgd dfa98edf21 fixes from Garrett A. Wollman <wollman@emba.uvm.edu>:
note that EACCES is returned if program file is on an FS mounted
MNT_NOEXEC.  also fix missing close-paren.
1993-10-26 01:49:04 +00:00
cgd 13ca4d98c7 it's correct to return EACCES if FS is mounted MNT_NOEXEC. 1993-10-26 01:42:56 +00:00
cgd 2a3476d4a9 redirect /etc/security's stderr to the security mailing, too. 1993-10-26 01:39:45 +00:00
cgd 8379ac2852 from FreeBSD: check for set*id devices in a way closer to the original.
note that you can still overflow the args buffer for the ls (and it does
that on lamp), but it's better than before.
1993-10-26 01:38:57 +00:00
cgd 74427b6539 fix from Andrew Moore <alm@netcom.com> to fix test's handling of
(non-negated) "-a" and "-o".
1993-10-26 01:11:28 +00:00
cgd c7582cbd4f use copyinstr rather than strcpy to copy in the saved shell-script
name from userland.  From Markus Wild, mw@lamp
1993-10-26 00:32:29 +00:00
jtc 71afdb430b Update source and manual pages to match X/Open 1170 specification.
Updated setpassent() to understand YP (a bug), and changed setpwent()
to simply be a call to setpassent(0) (to remove duplicated code).
1993-10-25 23:36:51 +00:00
jtc 2928342e94 X/Open 1170 defines the return type of setgrent() to be void -- a trival
change since our setgrent() allways succeeded.
Removed prototype for obsolete function setgrfile(), added prototype for
setgroupent().
Added _XOPEN_SOURCE to conditionals in case someone wants to compile
something in an strict X/Open environment.
1993-10-25 23:30:53 +00:00
jtc 92ba83edfc X/Open 1170 defines the return type of setpwent() to be void -- a trival
change since our setpwent() allways succeeded.
1993-10-25 22:21:36 +00:00
pk 71b80edde6 Handle `RELOC_32' relocs resulting from .word's. 1993-10-25 21:57:06 +00:00
pk 8253b70fc7 Fix premature relocation of external data that may be moved around at run-time.
This at least handles .word directives. May be sufficient even.
1993-10-25 21:54:37 +00:00
jtc 70947c85e4 Don't ask about each directory twice when using -r and -i flags.
Exit value is not always zero when using -f flag, only if all files were
removed or non-existant.
1993-10-25 19:50:23 +00:00
jtc 8e3ded2bb0 Changed conditional from "iflag && check(...)" to "!fflag && check(...)".
Removed the !fflag from conditionals in check() ... the check function
is never executed if !fflag.
1993-10-25 19:28:19 +00:00
jtc 3f0d8565ab Changed so that rm without -r or -R is 1003.2 compliant --- I haven't
had time to look at the recursive code, but it probably has the same
types of problems.
Added code to set the default locale, so it will work correctly when
our locale code is more than just stubs.
Added prototypes, etc. to make gcc -Wall happier.
1993-10-25 19:12:51 +00:00
phil a47d7aceed Adding the proper stuff that I forgot. (POSIX/ANSI) 1993-10-25 06:18:47 +00:00
phil 493236e982 making the "#ifndef _MACHINE_FILE_H_" more complete and consistent. 1993-10-25 06:11:58 +00:00
paul 899963d591 Latest version of isolan driver.
Replaced all static arrays with malloc'ed memory.
Added code so that debug ioctl actually does something.
1993-10-25 03:30:54 +00:00
pk 65fc5961b5 `ld -x -r crt0.o' defines __DYNAMIC as data. This we cannot use.
Disabled until I sort it out.
1993-10-24 01:34:24 +00:00
pk ecd08c7591 Make that #ifdef NetBSD, not __NetBSD__ 1993-10-24 00:52:40 +00:00
pk f385d97564 Use MID_MACHINE.
#ifdef NetBSD in stead of #ifdef sun
1993-10-24 00:48:20 +00:00
pk 0d1097aaf9 Use MID_MACHINE in stead of MID_I386 1993-10-24 00:47:05 +00:00
pk 8b65437bb1 Install shared library with version numbers from `shlib_version'. 1993-10-24 00:05:31 +00:00
davidg 16a520e7ed * Revision 2.11 1993/10/23 04:21:03 davidg
* Novell probe changed to be invasive because of too many complaints
 * about some clone boards not being reset properly and thus not
 * found on a warmboot. Yuck.
 *
 * Revision 2.10  1993/10/23  04:07:12  davidg
 * increment output errors if the device times out (done via watchdog)
 *
 * Revision 2.9  1993/10/23  04:01:45  davidg
 * increment input error counter if a packet with a bad length is
 * detected.
 *
 * Revision 2.8  1993/10/15  10:59:56  davidg
 * increase maximum time to wait for transmit DMA to complete to 120us.
 * call ed_reset() if the time limit is reached instead of trying
 * to abort the remote DMA.
 *
 * Revision 2.7  1993/10/15  10:49:10  davidg
 * minor change to way the mbuf pointer temp variable is assigned in
 * ed_start (slightly improves code readability)
 *
 * Revision 2.6  93/10/02  01:12:20  davidg
 * use ETHER_ADDR_LEN in NE probe rather than '6'.
1993-10-23 04:59:41 +00:00
glass 32ec2aa7d4 removed reference to $ARCH since those files are now under arch/`machine` 1993-10-23 03:09:55 +00:00
cgd 9f8465b49c use obj.${MACHINE} dirs to compile into 1993-10-23 02:33:12 +00:00
cgd 5104915994 add support to make obj.${MACHINE} dirs, if the user so requests.
note that not all makefiles in the tree will work with them, yet.
1993-10-23 02:32:55 +00:00
cgd 670f052fd7 add support for an obj.${MACHINE} dir, which will be used rather than obj,
if both exist.  basically, precedence is now:
	MAKEOBJDIR or (obj.${MACHINE} then obj)
	.
1993-10-23 02:32:03 +00:00
jtc 79c47ced71 Both compress and gzip installed themselves as "zcat". I've changed the
makefiles so only gzip is installed as zcat (and now uncompress) because
gzip is faster than compress and it is able to detect corrupted files.
1993-10-23 01:13:35 +00:00
pk bd67a6f934 Enabled __DYNAMIC. 1993-10-23 00:47:15 +00:00
pk a0aae738e7 Changed prototype and internals of std_search_dir(). 1993-10-23 00:34:22 +00:00
cgd e228adedb3 typo fix by Mark_Weaver@brown.edu 1993-10-23 00:24:50 +00:00
cgd 0fbd5c2a47 don't try to install accountant; it doesn't exist anymore 1993-10-23 00:23:51 +00:00
cgd 9ded154964 slight fix from Mark Weaver <Mark_Weaver@brown.edu> 1993-10-23 00:23:07 +00:00
pk bfca4dbe69 Utility to maintain shared library lookup "hints".
Does business in `/var/run/ld.so.hints'.
1993-10-23 00:16:57 +00:00
jtc 5587236c81 From Jeremy Scofield -- correctly terminate ranges with backquoted endpoint. 1993-10-22 22:40:17 +00:00
pk 843df2403a Support for `ld.so.hints'.
Handle set[ug]id programs.
No longer use the `lm_lob' field to access parent objects, add private
link map `parent' field in stead (SUN_COMPAT weirdness).
1993-10-22 21:18:58 +00:00
pk 6f8b7828cd Oops, we do have a man page. 1993-10-22 21:10:42 +00:00
pk 32c8052648 ldd: list shared library dependencies. 1993-10-22 21:09:57 +00:00
pk 8846fa47e1 Some definitions for the `ld.so.hints' file. 1993-10-22 21:04:19 +00:00
pk 05d16c3379 relocation for non-RRS shared library symbols wasn't always set correctly. 1993-10-22 21:00:08 +00:00
mycroft 3810963ed5 Add at_setup_dmachan(). Minor cleanup. 1993-10-22 20:24:14 +00:00
mycroft 4b7f8b8a62 It does not make sense to mask a fastintr. 1993-10-22 19:33:13 +00:00
mycroft 0c9ce6ed1f New file with interrupt-handling code. Add intr_fasttrap(). 1993-10-22 19:27:40 +00:00
mycroft f1dda6c852 Add intr.c. 1993-10-22 19:17:32 +00:00