Commit Graph

16496 Commits

Author SHA1 Message Date
peter
5b5236cec3 Fix the previous commit. The second of the 8-character columns was
a duplicate of the first column of 8...
1996-10-04 23:29:38 +00:00
wosch
724cc8d785 a bunch of spelling errors 1996-10-04 22:54:17 +00:00
joerg
425e55638b Add a man page describing the interrupt priority `levels'.
Comments by: bde

Lousy MCI network link :(, my commit message for the Makefile has been
botched.
1996-10-04 21:22:49 +00:00
joerg
ae39da3e7b Reviewed by:
Submitted by:
Obtained from:
1996-10-04 21:20:07 +00:00
ache
fba2a1ecf9 Better users list 1996-10-04 20:05:13 +00:00
peter
ed8fa795f5 Oops, an editing error at one point meant I had missed the osfcn.h header
(it was directly underneath where bool.h used to be in the list, I think
 I must have not been paying attention and deleted a word from the wrong
 line.  The machine that I was testing on still had an (old?) osfcn.h file)

Pointed out by: Andreas Klemm <andreas@klemm.gtn.com>
1996-10-04 15:11:42 +00:00
jkh
539695771a Various cosmetic tweaks. 1996-10-04 14:53:52 +00:00
jkh
a7c6e063f3 Whoops! Fix a stupid bogon. 1996-10-04 14:25:23 +00:00
dg
0e8f46721d Oops, missed a chunk in that last commit. 1996-10-04 14:17:32 +00:00
wosch
afef409483 typos 1996-10-04 14:01:55 +00:00
jkh
a199716f90 Syncronize my tree so Eric can access the latest code. 1996-10-04 13:33:49 +00:00
jkh
3caf9a55b4 "CONTINUE" was just too long. Make it a nice "OK" now. 1996-10-04 13:06:48 +00:00
peter
59cfb71fca Implement a -delete option to find. The code is extremely paranoid and
goes to a fair degree of trouble to enable something like this to
be safe:  cd /tmp && find . -mtime +7 -delete

It removes both files and directories.  It does not attempt to remove
immutable files (an earlier version I showed to a few people did a chflags
and tried to blow away even immutable files.  Too risky..)

It is thought to be safe because it forces the fts(3) driven descent to
only do "minimal risk" stuff.  specifically, -follow is disabled, it does
checking to see that it chdir'ed to the directory it thought it was
going to, it will *not* pass a pathname with a '/' character in it to
unlink(), so it should be totally immune to symlink tree races.  If it runs
into something "fishy", it bails out rather than blunder ahead.. It's better
to do that if somebody is trying to compromise security rather than risk
giving them an opportunity.  Since the unlink()/rmdir() is being called
from within the current working directory during the tree descent, there
are no fork/exec overheads or races.

As a side effect of this paranoia, you cannot do a
"find /somewhere/dir -delete", as the last argument to rmdir() is
"/somewhere/dir", and the checking won't allow it.  Besides, one would use
rm -rf for that case anyway. :-)

Reviewed by: pst (some time ago, but I've removed the immutable file
deletion code that he complained about since he last saw it)
1996-10-04 12:54:07 +00:00
jkh
46f3bf8b21 Relax the argument checking - it caused it to fail in the perfectly
legitimate cd-to-worm copy case.
1996-10-04 12:30:16 +00:00
dg
d0298431e8 Implemented a more sophisticated mechanism for finding the chip iobase
so that 32Y boards will work.
Fixed bogus indenting and added a pair of parens.
1996-10-04 10:33:13 +00:00
peter
c73823f5a2 To the Attic we go.. 1996-10-04 09:02:59 +00:00
peter
ff2afe0c0c Add LIBSTDCPLUSPLUS
(can't use the '+' char in variable names, same as LIBGPLUSPLUS)
1996-10-04 08:55:05 +00:00
peter
7df82caa98 libresolv.a doesn't exist anymore... Hmm, what's the right thing to do
here?  Can we just undefine it?  What about 3rd party bmakefiles?
1996-10-04 08:52:43 +00:00
peter
b4b4e50890 Remove temporary hack to disable use of libstdc++ now that it's built and
installed (and hopefully: working).
1996-10-04 08:51:18 +00:00
peter
6add41bea1 Add some 'world' hooks for libg++-2.7.2, specifically the new libstdc++
directory.  Also, add gnu/usr.bin/as to the lib-tools target since libgcc
generates weak symbols, and libstdc++/libg++ use them.  ie: coming from a
2.1.x system will fail without 'as'.
1996-10-04 08:48:27 +00:00
peter
aea3c42385 Add genclass to the subdir list 1996-10-04 08:45:34 +00:00
peter
b181430d4f Add libstdc++ to the SUBDIR list 1996-10-04 08:44:26 +00:00
peter
4f829485a6 Update to use the contrib/libg++ version, now that my (slow) 486 has
finished a 'make world'.
1996-10-04 08:43:37 +00:00
peter
6b8505f1cd Initial attempt at a bmakefile for genclass. 1996-10-03 23:00:09 +00:00
peter
cc82e09b8e This commit was generated by cvs2svn to compensate for changes in r18667,
which included commits to RCS files with non-trunk default branches.
1996-10-03 22:58:33 +00:00
peter
4182f55906 Drat, I got carried away cleaning up and forgot this. This is where
the version number is obtained from.
1996-10-03 22:58:33 +00:00
peter
1b089d9364 Initial shot at a bmakefile for libstdc++ 1996-10-03 22:52:23 +00:00
peter
7662847f86 The one and only change that I had to make to get all the tests to fly.
#include_next <string.h> wasfailing since the /usr/include directory is
first on FreeBSD, and since it was already past it, it failed some of
the tests.
1996-10-03 21:50:28 +00:00
peter
f3d2bf009e Add /usr/share/libg++ for libg++'s genclass prototype/template class
files to live.  (These are not include files)
1996-10-03 21:44:47 +00:00
peter
e01bd2c426 Add /usr/include/g++/std for the libstdc++'s #include <std/foo.h> 1996-10-03 21:42:41 +00:00
peter
7a8bb066f1 Import of raw libg++-2.7.2, but in a very cut-down form. There is still
a small amount of unused stuff (by the bmakefiles to follow), but it
isn't much and seems harmless enough.
1996-10-03 21:35:18 +00:00
peter
700d713197 This commit was generated by cvs2svn to compensate for changes in r18661,
which included commits to RCS files with non-trunk default branches.
1996-10-03 21:35:18 +00:00
ache
c3b0a1b6d9 Add vt*-em entries set for emulators without semigraphics 1996-10-03 18:16:05 +00:00
jdp
8ebd26b15d Fix a bug that caused incorrect PIC code to be generated for exceptions.
The symptom was an assembler warning

    "GOT relocation burb: `___EXCEPTION_TABLE__' should be global"

followed (sometimes) by a core dump.  The fix makes the compiler
generate the correct GOTOFF addressing for that symbol, rather than the
GOT addressing it was emitting before.

Warning:  There is still at least one serious bug in the i386 exception
code for PIC.  The exception code that is generated clobbers the GOT
register (%ebx) and then tries to use it later.  That leads to core
dumps at program execution time.  I know where the problem is, but I do
not have a fix for it at this time.  Until it is fixed, exceptions will
not work in PIC code.  This is a general problem for all i386 platforms;
it is not specific to FreeBSD.
1996-10-03 17:49:35 +00:00
dg
f670924a95 Added multicast support (BPF cookie bug was already fixed).
Submitted by:	Steven McCanne <mccanne@cs.berkeley.edu>
1996-10-03 10:47:03 +00:00
jkh
83b8c855c7 Temporarily disable userconfig saving until I figure out why uc_open()
loops internally for BOOTMFS (not being able to run gdb on sysinstall
when it's running as init is a real pain!).
1996-10-03 08:54:37 +00:00
jkh
685b859740 Check return values from uc_open() correctly. Note: This seems to work
really well when running the GENERIC kernel but not with the BOOTMFS kernel.
Further work is needed.
1996-10-03 08:17:16 +00:00
peter
f46879ae49 Ugly hack alert!
libg++'s exception code causes gcc to generate (ahem!) non-conventional
assembler code in -fpic mode that gas and ld choke on.  Basically, gas
and ld require than symbols referenced in the GOT (global offset table)
are actually global (as the name implies).  It attempted to work around
it before, but didn't quite go far enough to prevent a core dump in ld.
This hack causes GOT referenced symbols to be forced global.  This
probably breaks the __EXCEPTION_TABLE__ stuff in pic mode, but heck, it
wasn't even possible to compile with a shared library before at all.

I'm not 100% sure what the bug is.  There's two possibilities:
1: gcc/cp/exception.c has to be fixed to stop doing GOT references to
   local symbols, or
2: as/ld/symorder/ld.so etc need to be taught about how to keep local
   symbols around so that they can be dealt with in GOT references.

John Polstra's elfkit stuff seems to deal with this fine though, which is
why I think it's a "missing feature" in our hacked gas and ld..
1996-10-03 08:07:38 +00:00
jkh
a27ed09b26 Make return or newline synonymous with down-arrow in the value editor.
It's a lot easier to whap through multiple changes if you can use the return
key.
1996-10-03 07:51:40 +00:00
jkh
95a3d863aa Fix the "missing nameserver value" bug. Simplify some unnecessarily
crufty code, here and there.
1996-10-03 07:50:09 +00:00
peter
90e962992d Drop an unused param to unmap_pages(). 1996-10-03 06:14:48 +00:00
jkh
2df3fb4408 First cut at a "copy userconfig changes from installation kernel to installed
kernel" mechanism.  This is just the foundation - more work follows
and will be committed over the next few hours.
Submitted-by: "Eric L. Hernes" <erich@lodgenet.com> & jkh
1996-10-03 06:01:44 +00:00
jkh
512eb13f2f Fix stupid typo. 1996-10-03 01:22:22 +00:00
jkh
ff12793b9e Add fxp and vx to list of known device types. 1996-10-03 01:01:01 +00:00
jkh
b591ceedf7 scresume erroneously used before declared. Move the function
rather than add another APM ifdef just for the forward decl.
[Boy, sure a lot of warnings in here!]
1996-10-03 00:42:27 +00:00
sos
2ee072ffbc Fixed the userconfig problem (and one with ddb as well).
The rudimentary support for a splash page is there, and works, it
just needs a splash page...
1996-10-02 22:00:38 +00:00
jkh
3756f2f690 One small policy tweak to something I like better. 1996-10-02 10:44:31 +00:00
jkh
d7457a8968 More strategic screen clears(). 1996-10-02 10:32:28 +00:00
jkh
c6021119ac Fixes and a place-holder for future work. 1996-10-02 08:25:11 +00:00
jkh
4ec8c7cbc1 New support for displaying PCI devices without making you insane.
Submitted-by: msmith [bless his heart]
1996-10-02 08:09:09 +00:00