Commit Graph

33907 Commits

Author SHA1 Message Date
Jordan K. Hubbard
558408f95d User reports that using mount_null destroyed his filesystem, I reply
that nullfs really doesn't work, he askes why this isn't noted for the
"dangerous" filesystems, I go "hmmm."
1998-12-22 11:52:10 +00:00
Andrzej Bialecki
cf9443f92b Add simple terminal emulator, compatible with cons25. Currently supported
capabilities are: AF, AB, cm, ho, me, cd. The code is hidden behind
-DTERM_EMU - should it cause any problems, you can remove this define
to get back the old behaviour.

You'll find some examples how to use it in src/share/examples/bootforth.

Reviewed by:	jkh
1998-12-22 11:51:25 +00:00
Andrzej Bialecki
ac19ebdfbe Add new word ".#" which acts like "." but doesn't output a space separator.
I found it impossible to output parametrized strings like "\033[%d;%dH"
without building them first in pad area.
1998-12-22 11:46:27 +00:00
Andrzej Bialecki
1c49fb07d8 * Begin integration of built-ins with Forth: leave the exit code from
a built-in command on Forth stack.
* Fix a bug which was causing a panic when loading stripped aout kernels.

Reviewed by:	jkh
1998-12-22 11:41:51 +00:00
Joerg Wunsch
cd40239fe3 For whatever reason, i've thrown away this change yesterday instead of
committing it: include rdp.4.

Pointed out by:	bde
1998-12-22 09:36:29 +00:00
Søren Schmidt
5b3c791070 The result of running make linux_sysent.c on the new syscalls.master 1998-12-22 09:00:47 +00:00
Søren Schmidt
ec4e636d4c Fix NOIMPL -> NOPROTO as per bruce. 1998-12-22 08:59:19 +00:00
Eivind Eklund
ea420b4fd8 Better error checking and more complete struct initialization.
Reviewed by:	Simon Shapiro <shimon@simon-shapiro.org>
1998-12-22 00:52:27 +00:00
Eivind Eklund
29c98cd8bf Check return value of tsleep(). I've checked of all call points -
there does not seem to be a problem with this.

PR:		kern/8732
Analysis by:	David G Andersen <danderse@cs.utah.edu>
Tested by:	Alfred Perlstein <bright@hotjobs.com>
1998-12-22 00:44:11 +00:00
Eivind Eklund
db878ba480 Staticize. 1998-12-21 23:38:33 +00:00
Luigi Rizzo
af38c68c1e Recover from previous dummynet screwup 1998-12-21 22:40:54 +00:00
Luigi Rizzo
2296e7a82a Add manpages for dummynet and bridging 1998-12-21 22:37:53 +00:00
Matt Jacob
0c6c3059e2 Add in forward space/backward space/write SetMarks commands.
Obtained from:Martin.Birgmeier@aon.at
1998-12-21 22:14:02 +00:00
Luigi Rizzo
f0f6d6434d Restore 1.82->1.83 change deleted by mistake< per Bruce suggestion 1998-12-21 21:36:40 +00:00
Dag-Erling Smørgrav
ce71b7364c Implement and document file list retrieval. 1998-12-21 19:41:50 +00:00
Søren Schmidt
bfc338e0bb The result of running make linux_sysent.c on the new syscall.master file 1998-12-21 19:31:57 +00:00
Søren Schmidt
81bca0e98c Syscall 168 (poll) is not implemented in the Linux emulator. This
syscall is used by Oracle.

PR:		9154
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1998-12-21 19:28:13 +00:00
Søren Schmidt
c26abb753a Kill(pid, 0) normally returns 0 on both FreeBSD and Redhat after having
performed all sorts of sanity checks. The FreeBSD linux emulator returns
EINVAL in such a case.
Allowing signal 0 to be passed to kill will result in compatible behaviour.

PR:	9082
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1998-12-21 19:21:36 +00:00
Joerg Wunsch
082004e119 As promised, cleanup the #if __FreeBSD_version mess. 1998-12-21 18:11:10 +00:00
Joerg Wunsch
be4a254c7d Include information about rdp(4). 1998-12-21 18:07:16 +00:00
Joerg Wunsch
30cfb5b679 Include rdp(4).
Should i also include it into GENERIC?
1998-12-21 18:04:20 +00:00
Joerg Wunsch
8194a57215 This is my first cut on a driver for the RealTek RTL 8002 pocket
ethernet driver.

The BUGS section is still impressive, but the driver seems to work for
me now.  Disclaimer: i haven't been able to test this under -current
so far (but it compiles, and the notebook it's intended for can now be
updated to -current more easy than before).  Don't be afraid of the
many #ifdefs on __FreeBSD_version in the imported file; i want them in
the repository on the vendor-branch so other people can also manually
integrate it into older systems.  I'll clean it up on the -current
branch in a followup commit.  The vendor-banch version right now
supports systems back to 2.2R.

This driver should be layered upon ppc(4), but i currently have no
idea how to do this.

Eventually i'll further develop the driver to also support the more
modern RTL 8012 success, which seems to be present in a number of
cheap pocket ethernet adapters these days.  Right now, i doubt it will
run with the 8012 without any changes.

Finally a big Thanks! to RealTek for promptly providing me with
documentation and with the source code for the 8012 pocket driver upon
request.  I wish all vendors were that cooperative!.
1998-12-21 18:01:15 +00:00
Jordan K. Hubbard
19676bfc7d Just fetch distfiles from a single location. The change to textproc/docproj
broke my fetch heuristic anyway.
1998-12-21 17:34:33 +00:00
Matthew Dillon
4f32889f72 update HISTORY section 1998-12-21 10:34:53 +00:00
Matthew Dillon
f44bc94d97 Add manual page for experimental kernel asleep() and await() routines 1998-12-21 10:29:28 +00:00
Mike Smith
3d89c2cdb2 Regrettably, you can't take setdef0.c out of order, or, surprise,
linker sets don't work and thus neither does the kernel.

This should stop being a problem with an improved linker set mechanism in
the pipeline (see the bootloader) but for now this has to stay like this.
1998-12-21 10:29:09 +00:00
KATO Takenori
3f89e59381 Sync with sys/i386/conf/options.i386 revision 1.96. 1998-12-21 09:58:37 +00:00
KATO Takenori
aad7f41eee Sync with sys/i386/conf/Makefile.i386 revision 1.131. 1998-12-21 09:57:42 +00:00
Matthew Dillon
df00a0360e Elf (and a.out?) rebuild of bootstrap tools appeared to be broken due to
some tools requiring header files, such as errno.h, that are softlinks.
    The mini installation of include files in Makefile.inc1 wasn't doing
    the job, so it has been ripped out and replaced with a true make of the
    /usr/src/include/ directory (make all and make beforeinstall).  I think
    the original idea was to save time by not installing unnecessary header
    files, but it doesn't really save all that much time.

    Also, I have moved a NOCLEAN conditional to cover rebuilding the object
    tree 'Rebuilding the ${OBJFORMAT} obj tree' section.  This may or may not
    be correct but it appears to function properly.  If it is not correct we
    need to find another way to avoid scanning every single file in the
    entire source hierarchy for make restarts.
1998-12-21 09:41:26 +00:00
Mike Smith
fc28edf53e Check for DMA capbility is against unit,not controller.
Submitted by:	Lee Cremeans <lee@st-lcremean.tidalwave.net>
1998-12-21 08:55:56 +00:00
Matthew Dillon
a1d6c3ec87 Add asleep() and await() support. Currently highly experimental. A
small support structure had to be added to the proc structure, and
    a few minor conditional panics no longer apply.
1998-12-21 07:41:51 +00:00
Mike Smith
dcbdc0b9b5 Flush the output file before exiting; short-lived programs don't even fill
the stdio buffer.
1998-12-21 06:34:50 +00:00
Joseph Koshy
82315fb071 Clarify that "/usr/share" is used for architecture independent files
and need not be restricted to ASCII text files.

PR:		docs/9124
Submitted by:	Mattias Pantzare <pantzer@ludd.luth.se>
1998-12-21 05:57:57 +00:00
Matt Jacob
74f079ee35 Bad Dog! No Biscuit! *Never* commit without testing- even if it was
"just a printf formatting change"....
1998-12-20 20:32:34 +00:00
Matthew Dillon
f063d76ae3 Moved security page from man 1 to man 7 1998-12-20 20:12:17 +00:00
Matthew Dillon
1641c009a5 Moving security page to section 7 1998-12-20 20:11:25 +00:00
Matthew Dillon
846eedde28 Add quick overview of basic firewalling practices 1998-12-20 20:05:44 +00:00
Matthew Dillon
dc36fd0f8e Add information on how to deal with DOS attacks 1998-12-20 19:49:43 +00:00
Poul-Henning Kamp
177bc2bd34 Add two fields for the lower layers convenience. 1998-12-20 19:06:22 +00:00
Matt Jacob
a2a4483652 add Bus and Device Reset commands 1998-12-20 18:51:56 +00:00
Bruce Evans
450fefa9f3 Remove unused file. It seems to have been a vestige of when mfs did its
own memory allocation.
1998-12-20 17:05:54 +00:00
Bruce Evans
420d68e88d Backed out rev.1.46. It had no effect for aout, was incomplete for elf,
and had gratuitous gcc dependencies.  Rev.1.47 has a better fix.
1998-12-20 16:54:27 +00:00
Bruce Evans
3d2ffe2196 Fixed building elf kernels without a `make depend' step. The magic
ordering in rev.1.38 was broken by putting setdef0.o before vnode_if.o
in SYSTEM_OBJS.
1998-12-20 16:25:21 +00:00
Bruce Evans
16cb3b5e57 Remove a vestige of the amd driver.
Forgotten by:	msmith
1998-12-20 15:26:02 +00:00
John Hay
aabd5a1c7b Split out afterdistribute and distribute from BKTGTS because they do
need MK_ENV. This should make release work again. Maybe we should get
rid of the /usr/obj/elf at some stage?
1998-12-20 14:30:08 +00:00
Doug Rabson
f2d4e36cce Add a workaround to avoid 'defined but not used' warnings for linker
sets on i386 and alpha ELF kernels.
1998-12-20 14:20:11 +00:00
Doug Rabson
20982dfb10 Add LDGP(pv) to suword, subyte, fuword, fubyte so that they can be called
from kernel modules.
1998-12-20 13:21:55 +00:00
Doug Rabson
6839466b30 In ufs_setattr(), if only one of va_atime or va_mtime are != VNOVAL, then
the code set the other field in the inode to VNOVAL.  This can happen
sometimes on an NFS server.
1998-12-20 12:36:01 +00:00
Bruce Evans
6a157c8648 FIxed unsorting of cross references in previous commit. 1998-12-20 06:30:05 +00:00
Bruce Evans
b9f010b051 Fixed unsorting of MAN1 in previous commit. 1998-12-20 06:27:00 +00:00