Commit Graph

3345 Commits

Author SHA1 Message Date
cgd 436e431478 BSDI official patch #15:
SUMMARY:
    "panic: vrele: null vp", the problem seems to be that two renames are
    moving the same source, and the second one can't do it.
ALSO:
    in sync, check that rootfs is non-null before using it.
1993-10-27 02:33:40 +00:00
pk 80ee143924 `-Bshareable' added to link rule for shared libs. 1993-10-27 00:58:31 +00:00
pk abbf20b6e1 use SHAREABLE in init_header() in stead of `entry_symbol'. 1993-10-27 00:56:17 +00:00
pk b817714018 -Bshareable added to CFLAGS. 1993-10-27 00:55:24 +00:00
pk 762354917d use SHAREABLE in init_header() in stead of `entry_symbol'. 1993-10-27 00:54:58 +00:00
pk 4aa8c26f37 Improved handling of PIC code in "main stream" .o files.
Don't touch __DYNAMIC when `-r' is on.
Now must use `-Bshareable' to make shared libraries.
1993-10-27 00:53:39 +00:00
pk 08bf09ac86 Handling of defined global data in initializers is dependent on -k flag. 1993-10-27 00:14:14 +00:00
mycroft 0f124204b9 Remove old endian cruft and #include machine/endian.h instead. 1993-10-27 00:10:40 +00:00
mycroft af06d69559 Clean up deleted files. 1993-10-26 23:20:31 +00:00
jtc 5742893287 Start of i387 specific math library functions. 1993-10-26 23:19:34 +00:00
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