Commit Graph

3285 Commits

Author SHA1 Message Date
cgd
299ff91b14 BSDI official patch #14:
SUMMARY:
    Here is a patch for a kernel hang that can be provoked with a write
    or send of a negative amount.  The talk program is capable of exercising
    this bug.  This patch also includes a fix for a bug that caused data
    to be delivered to TCP in smaller chunks than desired, and which caused
    TCP to send a short packet when starting up.  Finally, there is a bug
    fix for MSG_PEEK with an oobmark pending.
1993-10-26 22:36:25 +00:00
mycroft
6be6fca207 Print -' rather than ' for 0 idle time. 1993-10-26 20:52:51 +00:00
cgd
889b512ea4 if you try to allocate a buffer larger than MAXBSIZE, panic. 1993-10-26 19:38:55 +00:00
pk
8ea3d67031 Search for top-of-stack blew up if program had no environment strings. 1993-10-26 19:30:13 +00:00
jtc
2e3e4d6fc1 Change fopen(fname, "a") to fopen(fname, "w") so that the current message
number is updated in place rather than appended to the end.
1993-10-26 18:24:02 +00:00
jtc
ddef4b09bc Remove ${LIBCOMPAT} from DPADD --- it was removed from LDADD a long time ago. 1993-10-26 18:21:36 +00:00
jtc
adbcdfe314 Create /var/msgs. 1993-10-26 18:07:31 +00:00
brezak
b92626678c Cleanup LDT/GDT defines 1993-10-26 15:53:54 +00:00
brezak
5be77b1847 Fix for new ZMAGIC. Define start address. 1993-10-26 15:52:55 +00:00
mycroft
32ee2e4e3f Stylistic change to IDT initialization. 1993-10-26 15:45:18 +00:00
mycroft
79682dc7fe Replace a %s with %x. 1993-10-26 14:22:41 +00:00
mycroft
118cdf4851 Clean up deleted files. 1993-10-26 13:15:17 +00:00
mycroft
787c131944 Remove bogus port for pccons. Remove ACCOUNTING. 1993-10-26 12:19:38 +00:00
mycroft
4d9cffef5e Hard-wire the timer IRQ. 1993-10-26 12:18:28 +00:00
mycroft
08f5f6a6fa Add MADDRUNK. 1993-10-26 12:16:35 +00:00
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