Commit Graph

10452 Commits

Author SHA1 Message Date
jkh
511b3c7739 Switch to fds from FILE *'s. Fix a problem with FTP media device
and INDEX file.
1995-10-16 09:25:22 +00:00
jkh
b8ba46dd4b Translate from the original Danish. 1995-10-16 09:11:22 +00:00
jkh
752bfc6341 Make this a little clearer.. 1995-10-16 09:01:52 +00:00
jkh
6ca3d6c08f Put H before I in alphabetical list of mirrors. 1995-10-16 08:56:17 +00:00
jkh
eae44c1b24 Sync up to today's development snapshot for the other folks working on this. 1995-10-16 07:31:11 +00:00
swallace
b554f44e54 Add a hack to emulator to emulat spx device for local X connections.
This is truly a hack.  The idea is taken from the Linux ibcs2 emulator.

To use this feature, you must use the option,
	options		SPX_HACK
in your config.

Also, in /compat/ibcs2/dev, you must do:

lrwxr-xr-x  1 root  wheel         9 Oct 15 22:20 X0R@ -> /dev/null
lrwxr-xr-x  1 root  wheel         7 Oct 15 22:20 nfsd@ -> socksys
lrwxr-xr-x  1 root  wheel         9 Oct 15 22:20 socksys@ -> /dev/null
crw-rw-rw-  1 root  wheel   41,   1 Oct 15 22:14 spx

Do NOT use old socksys driver as that has been removed.
This hack needs /compat/ibcs2/dev/spx to be any device that does NOT
exist/configured (so the now non-existant spx major/minor works fine).
When an open() is called, the error ENXIO is checked and then the
path is checked.  If spx open detected, then a unix socket is opened
to the hardcoded path "/tmp/.X11-unix/X0".

As the Linux hacker author mentioned, the real way would be to detect
the getmsg/putmsg through /dev/X0R and /dev/spx.  Until this true
solution is implemented (if ever), I think this hack is important
enough to be put into the tree, even though I don't like it dirtying
up my clean code (which is what #ifdef SPX_HACK is for).
1995-10-16 05:52:55 +00:00
dyson
08e7e1193a Remove an unnecessary tsleep in the swapin code. This tsleep
can defer swapping in processes and is just not the right thing to do.
1995-10-16 05:45:49 +00:00
swallace
c8c6561990 Do a better fake for uname information returned in utssys() call.
Currently, the emulator defaults to returning "FreeBSD" as the system
name, release "3.2", and version "2.0".  Some programs want to make
sure they are on a SYSV 3.2 system and check for 3.X release number.

Use the following defines to override the defaults:
	IBCS2_UNAME_SYSNAME
	IBCS2_UNAME_RELEASE
	IBCS2_UNAME_VERSION
(should be string)
for system name, release, and version, respectively.  This allows
someone to compile the emulator into the kernel so it can pretend
to be a specific system if needed.
1995-10-16 05:32:20 +00:00
se
ce3b873954 Go back to separate tests for configuration mechanism 1 and mechanism 2.
Require the state of the configuration enable bits to be OFF assuming
that the BIOS left them that way, as it should anyway to avoid bad things
to happen.

The tests themselves are copied from the previous release, with the
exception of CONF1_ENABLE_MSK1 having the LSB set. This bit should be
read back as '0', since only DWORD addresses are legal.
1995-10-15 23:43:08 +00:00
phk
be7af8af8a Pull all of libkern.a in (though not mcount) so the LKM's don't come
out shorthanded.  Makes the idea of libkern pretty void now...
1995-10-15 18:03:42 +00:00
phk
43fb0c8e2c Add moncontrol.3 -> monstartup.3 link here. 1995-10-15 17:40:20 +00:00
phk
8e661a3f50 the man-link for moncontrol soesn't belong here... 1995-10-15 17:39:21 +00:00
jkh
fbd8a752b9 Fix the selection routine. 1995-10-15 17:22:24 +00:00
phk
f0613ec0de Revert to default entry point. 1995-10-15 17:00:49 +00:00
phk
834b40f394 Make LKM entry consisten with tradition: pcic_mod(). 1995-10-15 16:59:36 +00:00
phk
23cff5e790 An even better idea: The default will be that on _${KMOD} (_nfs_mod...) will
be exported.  This breaks the compilation of some lkms, the owners of which
is kindly requested to consider what should be exported.
1995-10-15 16:56:56 +00:00
ache
99793c5b60 Fix ALPHA range 1995-10-15 16:53:43 +00:00
jfieber
867a0c6559 Remove hacks that go over the doc tree multiple times.
If you need docs in a non-default format, do `make PRINTER=myformat'.
1995-10-15 16:51:16 +00:00
ache
e02919d06e Various fixes mostly for letters range
Obtained from: partially from Kaleb S. Keithley <kaleb@x.org> patch
1995-10-15 16:49:16 +00:00
phk
aead2f762e Automatically DTRT for VFS_LKM 1995-10-15 16:46:00 +00:00
jfieber
59a6ba5ec0 Change the default PRINTER from ps to ascii. 1995-10-15 16:14:42 +00:00
ache
2954c15d82 XDIGIT range fixed. This change is cosmetique and not affect anyone,
because ASCII locale used for isdigit and isxdigit in any case.
1995-10-15 15:50:19 +00:00
phk
18df18ef33 Only export our 'init' symbol. 1995-10-15 14:33:17 +00:00
phk
64f7a5e35a Make a rule for cleaning the namelist of lkms.
TXT & DATA symbols not explicitly mentioned will be made local.
1995-10-15 14:32:26 +00:00
phk
6929fff09c Add a '-c' option for cleaning namelists of various things. 1995-10-15 14:31:10 +00:00
jkh
f4b34c0236 Sync. Split into more rational package support functions and clients
of those functions.
1995-10-15 12:41:09 +00:00
phk
5572f22565 malloc.c A program to benchmark and test malloc. 1995-10-15 12:29:12 +00:00
phk
b7891df842 Add kernxref, a shellscript to crossreference the symbols of the LINT kernel. 1995-10-15 11:33:42 +00:00
phk
0964d8b20e README reads:
This directory is for tools.

A tool is something which is sometimes useful, and doesn't fit any of the
other categories.

Please make a subdir per program, and add a brief description to this file.
1995-10-15 11:28:03 +00:00
phk
7bc6aeb991 README reads:
This directory is for test programs.

A test program is one that will excercise a particular bit of the system
and try to break it and/or measuring performance on it.

Please make a subdir per program, and add a brief description to this file.
1995-10-15 11:27:49 +00:00
phk
77058b07b5 README reads:
This directory is for regression test programs.

A regression test program is one that will excercise a particular bit of the
system to check that we have not reintroduced an old bug.

Please make a subdir per program, and add a brief description to this file.
1995-10-15 11:27:40 +00:00
phk
799ea8dbc7 README reads:
This directory is for diagnostic programs.

A diagnostic program is one that will inform you that something is wrong
somewhere, for instance by traversing a kernel-structure and verifying
the integrity.

Please make a subdir per program, and add a brief description to this file.
1995-10-15 11:27:15 +00:00
phk
4c98dd15f6 README reads:
This directory tree contains tools used for the maintenance of FreeBSD.
There are no Makefile structure, but possibly Makefiles in some of the
subdirs.
Nothing show be installed from here and into the running system.
This directory should contain only subdirs and this file.
1995-10-15 11:26:49 +00:00
jkh
5d90c1b954 Substantially simplify the package install code by running pkg_add in
slave mode.
1995-10-15 04:37:07 +00:00
dg
8e4ce8fe23 Added a -D option to set the TCP_NODELAY socket option. This improves
responsiveness at the expense of some additional network traffic.
1995-10-15 03:40:57 +00:00
jkh
da65b496fb Add Michael Elbel to contributors list for his work with the ports
collection.  I'm going to run a search of maintainers against the contrib
list now! :)
1995-10-15 02:46:36 +00:00
jfieber
52ad4983e3 Migration from src/share/FAQ/Text. 1995-10-15 01:41:51 +00:00
jfieber
519de70ae2 New section: firewalls.
Submitted by:	Gary Palmer <gary@palmer.demon.co.uk>
1995-10-14 21:49:54 +00:00
jkh
930cbf0e3d Sync up to today's cleanup work. 1995-10-14 19:13:35 +00:00
dg
0582fe4908 atapi and wcd LKMs.
Submitted by:	Serge Vakulenko, <vak@cronyx.ru>
1995-10-14 15:47:29 +00:00
dg
8ff6e844a8 Latest fixes from Serge:
I tried to solve the problem of IDE probing compatibility in this version.
When compiled without an ATAPI option, the wd driver is
fully backward compatible with 2.0.5.  With ATAPI option,
the wdprobe becomes strictly weaker.  That is, if wdprobe works
without ATAPI option, it will always work with it too.

Another problem was with the CD-ROM drive attached as a slave
in the IDE bus, where there is no master.  All IDE CD-ROM
drives are shipped in slave configuration, and most users
just plug them in, never thinking about jumpers.
It works fine with ms-dos and ms-windows, and this
version of the driver supports it as well.

The eject op can now load disks.  Just repeat it twice,
and the disk will be ejected and then loaded back.

The disc cannot be ejected if it is mounted.

Submitted by:	Serge Vakulenko, <vak@cronyx.ru>
1995-10-14 15:41:10 +00:00
jkh
f90ec75131 Coerce the exit message into making more sense. 1995-10-14 12:57:01 +00:00
jkh
5e71c464fc Sync with my development sources, smashing an annoying bug and making
the options editor a little less pathological.
1995-10-14 09:30:53 +00:00
bde
bfe728b11e Fix the support for MANSRC (it was broken by the compression changes):
use .PATH.n to get the dependencies right and to avoid some shell tests.

Remove bogus dependency of individual compressed man pages on MANDEPEND.

Use for loops to avoid duplicated code.

Combine some rm steps in installation of links.  Linking still takes too
long.
1995-10-14 08:16:04 +00:00
bde
057a1b5d3e Don't allow i/o operations for non-root users. 1995-10-14 07:09:58 +00:00
bde
78377e4d5f Don't allow i/o operations for non-root users.
Add prototypes.
1995-10-14 07:08:09 +00:00
bde
f66fa11bcf Don't allow mmapping the page after last video page.
Obtained from:	syscons.c (bug obtained from original pccons.c)
1995-10-14 05:54:47 +00:00
bde
92b1c293f9 Don't allow mmapping of physical page 6 (ENXIO).
nxmmap() returned a bogus value as well as having a bogus type.  Some
drivers use nxmmap() for configured devices (`nx' functions should
only be used for unconfigured devices).  These drivers allowed mmapping
physical page 6, which may have interesting contents.  vm has kludges
to avoid the same bug with nullop() returning page 0 and enodev()
returning page 19 (ENODEV), but didn't handle enxio() returning page 6.
vm is the wrong place to handle these bugs.
1995-10-14 05:25:45 +00:00
bde
9aa6f72cac Restore initialization of %ecx for the !I586_CPU case.
Don't declare _i586_ctr_bias.  The usual style, which was
followed in microtime.s, is to omit extern declarations.
1995-10-14 04:53:49 +00:00
wollman
e19128e799 In TCP statistics, display new statistic about how many resends were
initiated as a result of the Path MTU discovery process.
1995-10-13 20:01:48 +00:00