]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
27 years agoChange games from setuid games to setgid games.
Eivind Eklund [Mon, 1 Sep 1997 00:34:51 +0000 (00:34 +0000)]
Change games from setuid games to setgid games.

Reviewed by: maybe@yes.no
Obtained from: OpenBSD (mostly deraadt@openbsd.org)

27 years agoAdded #include of <sys/queue.h> to make this self-sufficient.
Bruce Evans [Mon, 1 Sep 1997 00:18:02 +0000 (00:18 +0000)]
Added #include of <sys/queue.h> to make this self-sufficient.
Includers of this file apparently didn't know that <sys/queue.h>
was a prerequisite and include a semi-random collection headers
until one happened to include it.

27 years agoMade this compile again (getopt moved to <unistd.h>).
Bruce Evans [Mon, 1 Sep 1997 00:01:50 +0000 (00:01 +0000)]
Made this compile again (getopt moved to <unistd.h>).

Fixed usage message.

27 years agoFixed options SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME which were broken
Bruce Evans [Sun, 31 Aug 1997 23:08:38 +0000 (23:08 +0000)]
Fixed options SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME which were broken
by incomplete cutting and pasting from machdep.c to kern_shutdown.c.

PR: 3953

27 years agoCosmetic: Make LogPrintf() calls consistent.
Brian Somers [Sun, 31 Aug 1997 22:59:49 +0000 (22:59 +0000)]
Cosmetic: Make LogPrintf() calls consistent.

27 years agoPut I*86_CPU options in opt_global.h and don't #include "opt_cpu.h"
Bruce Evans [Sun, 31 Aug 1997 22:43:46 +0000 (22:43 +0000)]
Put I*86_CPU options in opt_global.h and don't #include "opt_cpu.h"
centrally.

27 years agoRemoved unused #includes (bogus #includes were necessary because fusword()
Bruce Evans [Sun, 31 Aug 1997 22:22:21 +0000 (22:22 +0000)]
Removed unused #includes (bogus #includes were necessary because fusword()
was declared in the wrong place).

27 years agoHide the declaration of `struct exception' from C++, since it conflicts
Bruce Evans [Sun, 31 Aug 1997 22:12:19 +0000 (22:12 +0000)]
Hide the declaration of `struct exception' from C++, since it conflicts
with the standard C++ `class exception'.  This makes matherr() difficult
to use in C++.  Small loss.

27 years agoFixed inclomplete function type in synopsis.
Bruce Evans [Sun, 31 Aug 1997 21:54:10 +0000 (21:54 +0000)]
Fixed inclomplete function type in synopsis.

27 years agoFix file names.
Wolfram Schneider [Sun, 31 Aug 1997 21:33:27 +0000 (21:33 +0000)]
Fix file names.

27 years agoFix the ${BINFORMAT} definition problem during 'make {build}world'. The
Peter Wemm [Sun, 31 Aug 1997 21:06:40 +0000 (21:06 +0000)]
Fix the ${BINFORMAT} definition problem during 'make {build}world'.  The
wrong switches were being passed to 'make' that caused sys.mk to come from
the /usr/share/mk location but the bsd.*.mk files to come from the
source tree in src/share/mk.  This was bound to break sooner or later.

Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>

27 years agoMake ppp owner root.ppp, mode 4550
Brian Somers [Sun, 31 Aug 1997 20:18:03 +0000 (20:18 +0000)]
Make ppp owner root.ppp, mode 4550
Suggested by: guido
Condoned by: eivind

27 years agoAdd group ppp (gid 69)
Brian Somers [Sun, 31 Aug 1997 20:13:38 +0000 (20:13 +0000)]
Add group ppp (gid 69)

27 years agoRemove login_progok()
Brian Somers [Sun, 31 Aug 1997 20:09:39 +0000 (20:09 +0000)]
Remove login_progok()
Suggested by: guido

27 years agoRemove use of login_progok()
Brian Somers [Sun, 31 Aug 1997 20:07:03 +0000 (20:07 +0000)]
Remove use of login_progok()
Suggested by: guido

27 years agoPrepare for 64bit programming environment (e.g. Alpha):
Stefan Eßer [Sun, 31 Aug 1997 19:42:31 +0000 (19:42 +0000)]
Prepare for 64bit programming environment (e.g. Alpha):

Use "ncrcmd" or "u_int32_t" instead of "u_long", where appropriate.

Submitted by: Gerard Roudier <groudier@club-internet.fr>

27 years agoRemove debug printf() that had been ommited by accident.
Stefan Eßer [Sun, 31 Aug 1997 19:36:56 +0000 (19:36 +0000)]
Remove debug printf() that had been ommited by accident.

27 years agoFix problem with early revision 53c825a and 53c875 chips, which
Stefan Eßer [Sun, 31 Aug 1997 19:35:52 +0000 (19:35 +0000)]
Fix problem with early revision 53c825a and 53c875 chips, which
could cause a solid system lockup in the driver attach:

These chips do not abort an access to the internal SRAM, when
the driver set the software reset bit in the istat register. But
the chip will never acknowledge the requested PCI bus transfer
in the situation, causing an infinite wait and a lockout of other
bus-masters.

The problem has been reported for rev 0x11 of the 53c825a and
rev 0x01 of the 53c875.
Revisions 0x13 of the 53c825a and 0x03 of the 53c875 are known
to support SRAM accesses, even in the software reset state.

27 years agoFix my e-mail address. Old work addres is no good.
Eivind Eklund [Sun, 31 Aug 1997 16:38:33 +0000 (16:38 +0000)]
Fix my e-mail address.  Old work addres is no good.

27 years agoRestore back issetugid() usage and bump major number
Andrey A. Chernov [Sun, 31 Aug 1997 08:37:28 +0000 (08:37 +0000)]
Restore back issetugid() usage and bump major number

27 years agoChange the 0xdeadb hack to a flag called VDOOMED.
Poul-Henning Kamp [Sun, 31 Aug 1997 07:32:39 +0000 (07:32 +0000)]
Change the 0xdeadb hack to a flag called VDOOMED.
Introduce VFREE which indicates that vnode is on freelist.
Rename vholdrele() to vdrop().
Create vfree() and vbusy() to add/delete vnode from freelist.
Add vfree()/vbusy() to keep (v_holdcnt != 0 || v_usecount != 0)
  vnodes off the freelist.
Generalize vhold()/v_holdcnt to mean "do not recycle".
Fix reassignbuf()s lack of use of vhold().
Use vhold() instead of checking v_cache_src list.
Remove vtouch(), the vnodes are always vget'ed soon enough
  after for it to have any measuable effect.
Add sysctl debug.freevnodes to keep track of things.
Move cache_purge() up in getnewvnodes to avoid race.
Decrement v_usecount after VOP_INACTIVE(), put a vhold() on
  it during VOP_INACTIVE()
Unmacroize vhold()/vdrop()
Print out VDOOMED and VFREE flags (XXX: should use %b)

Reviewed by: dyson

27 years agoRemove pbzero(), things we load zero their own bss.
Poul-Henning Kamp [Sun, 31 Aug 1997 06:11:26 +0000 (06:11 +0000)]
Remove pbzero(), things we load zero their own bss.
Make VESA_SUPPORT default

27 years agoAnother 32bits of 64bits conformance.
Poul-Henning Kamp [Sun, 31 Aug 1997 05:59:39 +0000 (05:59 +0000)]
Another 32bits of 64bits conformance.

Reviewed by: phk
Submitted by: jdp

27 years agoDebug version of simple_lock. This will store the CPU id of the
Steve Passe [Sun, 31 Aug 1997 03:17:48 +0000 (03:17 +0000)]
Debug version of simple_lock.  This will store the CPU id of the
holding CPU along with the lock.  When a CPU fails to get the lock
it compares its own id to the holder id.  If they are the same it
panic()s, as simple locks are binary, and this would cause a deadlock.

Controlled by smptests.h: SL_DEBUG, ON by default.

Some minor cleanup.

27 years agoCreated a private simple_lock to control accesses to com data structs
Steve Passe [Sun, 31 Aug 1997 03:17:18 +0000 (03:17 +0000)]
Created a private simple_lock to control accesses to com data structs
and hardware.
There is now another simple_lock around clock data/hardware accesses in
clock.c and microtime.s.  It is my belief that this is the only area
sio/cy might stumble into during an unblocked INTerrupt.  Thus I separated
the sio/cy code from the generic disable_intr()/enable_intr() routines.

Controlled by smptests.h: USE_COMLOCK, ON by default.

27 years agoDisplay file size as an unsigned long.
Alexander Langer [Sun, 31 Aug 1997 01:27:04 +0000 (01:27 +0000)]
Display file size as an unsigned long.

27 years agoInitial elf nlist support, mostly stolen from OpenBSD (they use standard
Peter Wemm [Sun, 31 Aug 1997 00:08:35 +0000 (00:08 +0000)]
Initial elf nlist support, mostly stolen from OpenBSD (they use standard
#defines that are compatable with ours).  I made some some minor tweaks
to the leading '_' tests.

Again, this is off by default for the moment.  This probably should be
split into seperate files (like some of our other libc files that could
do with some splitting).

Obtained from: OpenBSD (plus some minor tweaks)

27 years agoInitial support for dealing with an elf /kernel. This is a loose hybrid
Peter Wemm [Sat, 30 Aug 1997 23:35:00 +0000 (23:35 +0000)]
Initial support for dealing with an elf /kernel.  This is a loose hybrid
of OpenBSD's elf nlist code for this, and our a.out version.  The OpenBSD
version was mainly a seek/read system with a mmap of the string table,
this one simply mmap's the lot (like the a.out version).

Obtained from:  a fair chunk from OpenBSD

27 years agoA first cut at some rules for building elf shared libs. Of particular
Peter Wemm [Sat, 30 Aug 1997 23:23:18 +0000 (23:23 +0000)]
A first cut at some rules for building elf shared libs.  Of particular
note, using "-Wl,-f" to generate a library objects list doesn't work
anymore since the hack to ld hasn't been incorporated into binutils-2.8.
(and the -f switch is used for something else already)

This is disabled by default, don't panic! :-)

27 years agoUpdate to include some of the newer vnode flags and remove some stale ones.
Peter Wemm [Sat, 30 Aug 1997 20:18:49 +0000 (20:18 +0000)]
Update to include some of the newer vnode flags and remove some stale ones.

27 years agoAdded clock_lock protection to microtime.
Steve Passe [Sat, 30 Aug 1997 19:02:56 +0000 (19:02 +0000)]
Added clock_lock protection to microtime.

27 years agoDefine some machine characteristics using symbol naming on conventions
Peter Wemm [Sat, 30 Aug 1997 18:59:48 +0000 (18:59 +0000)]
Define some machine characteristics using symbol naming on conventions
in place in the other BSD's.

27 years agoCollect a few missing symbols from the OpenBSD elf includes. (The OpenBSD
Peter Wemm [Sat, 30 Aug 1997 18:58:31 +0000 (18:58 +0000)]
Collect a few missing symbols from the OpenBSD elf includes.  (The OpenBSD
includes use the formal elf names like us, NetBSD have different symbols)

Obtained from: OpenBSD

27 years agoAllow non-page aligned file offset mmap's, providing that the system is
Peter Wemm [Sat, 30 Aug 1997 18:50:06 +0000 (18:50 +0000)]
Allow non-page aligned file offset mmap's, providing that the system is
allowed to choose the address, or that the MAP_FIXED address has the same
remainder when modulo PAGE_SIZE as the file offset.  Apparently this is
posix1003.1b specified behavior.  SVR4 and the other *BSD's allow it too.
It costs us nothing to support and means we don't get EINVAL on some mmap
code that works perfectly elsewhere.

Obtained from: NetBSD

27 years agoSynchronize with sys/i386/isa/clock.c and sio.c revisions 1.101 and
KATO Takenori [Sat, 30 Aug 1997 15:47:49 +0000 (15:47 +0000)]
Synchronize with sys/i386/isa/clock.c and sio.c revisions 1.101 and
i.178, respectively.

27 years agofix a few spelling changes
John-Mark Gurney [Sat, 30 Aug 1997 12:22:49 +0000 (12:22 +0000)]
fix a few spelling changes

Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.

27 years agoremove global prototype for setsigvec(). It's static inside kern_sig.c
Peter Wemm [Sat, 30 Aug 1997 11:24:05 +0000 (11:24 +0000)]
remove global prototype for setsigvec().  It's static inside kern_sig.c
and causes redundant declaration warnings.

27 years agoUpdate to include recently added names that are shared between the C and
Peter Wemm [Sat, 30 Aug 1997 11:20:02 +0000 (11:20 +0000)]
Update to include recently added names that are shared between the C and
asm parts of the kernel.  This is to re-enable ELF compile support.

27 years agofix misspelling
John-Mark Gurney [Sat, 30 Aug 1997 11:12:39 +0000 (11:12 +0000)]
fix misspelling

Submitted-by: Josh Gilliam
Closes PR:4430

27 years agofix misspelling
John-Mark Gurney [Sat, 30 Aug 1997 11:10:56 +0000 (11:10 +0000)]
fix misspelling

Submitted-by: Josh Gilliam
Closes PR:4428

27 years agofix misspelling
John-Mark Gurney [Sat, 30 Aug 1997 11:09:26 +0000 (11:09 +0000)]
fix misspelling

Submitted-by: Josh Gilliam
Closes PR:4427

27 years agofix misspelling
John-Mark Gurney [Sat, 30 Aug 1997 11:08:06 +0000 (11:08 +0000)]
fix misspelling

Submitted-by: Josh Gilliam
Closes PR:4426

27 years agofix misspelling
John-Mark Gurney [Sat, 30 Aug 1997 11:06:35 +0000 (11:06 +0000)]
fix misspelling

Submitted-by: Josh Gilliam
Closes PR:4425

27 years agofix misspelling
John-Mark Gurney [Sat, 30 Aug 1997 11:05:34 +0000 (11:05 +0000)]
fix misspelling

Submitted-by: Josh Gilliam
Closes PR:4424

27 years agofix misspelling
John-Mark Gurney [Sat, 30 Aug 1997 11:04:03 +0000 (11:04 +0000)]
fix misspelling

Submitted-by: Josh Gilliam
Closes PR:4423

27 years agofix misspelling
John-Mark Gurney [Sat, 30 Aug 1997 11:01:54 +0000 (11:01 +0000)]
fix misspelling

Submitted-by: Josh Gilliam
Closes PR: 4422

27 years agoThe CMD640 workaround is now enabled by default.
Wolfgang Helbig [Sat, 30 Aug 1997 10:42:21 +0000 (10:42 +0000)]
The CMD640 workaround is now enabled by default.

27 years agoemove /usr/local/libdata/tcl
Poul-Henning Kamp [Sat, 30 Aug 1997 09:26:53 +0000 (09:26 +0000)]
emove /usr/local/libdata/tcl

27 years agoAnother round of lock pushdown.
Steve Passe [Sat, 30 Aug 1997 08:08:10 +0000 (08:08 +0000)]
Another round of lock pushdown.
Add a simplelock to deal with disable_intr()/enable_intr() as used in UP kernel.
UP kernel expects that this is enough to guarantee exclusive access to
regions of code bracketed by these 2 functions.
Add a simplelock to bracket clock accesses in clock.c: clock_lock.

Help from: Bruce Evans <bde@zeta.org.au>

27 years agoMoved the SIMPLE_LOCK stuff from machine/param.h to machine/lock.h.
Steve Passe [Sat, 30 Aug 1997 07:59:47 +0000 (07:59 +0000)]
Moved the SIMPLE_LOCK stuff from machine/param.h to machine/lock.h.
include it here for now.

Reviewed by: Bruce Evans <bde@zeta.org.au>

27 years agoScsi RESERVATION CONFLICT and BUSY support for Tekram scsi cards.
Jun-ichiro itojun Hagino [Sat, 30 Aug 1997 05:49:20 +0000 (05:49 +0000)]
Scsi RESERVATION CONFLICT and BUSY support for Tekram scsi cards.
Checked with DC390.  Pls mail me if you have any trouble with this patch.

27 years agoMove MACHINE_ARCH definition from <machine/param.h> to <machine/cpu.h>.
KATO Takenori [Sat, 30 Aug 1997 02:52:04 +0000 (02:52 +0000)]
Move MACHINE_ARCH definition from <machine/param.h> to <machine/cpu.h>.

Submitted by: Bruce Evans <bde@zeta.org.au>

27 years agoAdded hw.machine_arch.
KATO Takenori [Sat, 30 Aug 1997 02:28:00 +0000 (02:28 +0000)]
Added hw.machine_arch.

27 years agoAdded HW_MACHINE_ARCH.
KATO Takenori [Sat, 30 Aug 1997 02:26:36 +0000 (02:26 +0000)]
Added HW_MACHINE_ARCH.

27 years agoUpdate for impending 3.0-SNAP CDROM.
Jordan K. Hubbard [Fri, 29 Aug 1997 23:28:44 +0000 (23:28 +0000)]
Update for impending 3.0-SNAP CDROM.

27 years agoAdd -execdir which will execute the exec command in the dir of the file
Warner Losh [Fri, 29 Aug 1997 23:09:45 +0000 (23:09 +0000)]
Add -execdir which will execute the exec command in the dir of the file
in question.  This change and the fts changes should be merged into 2.2-stable
as soon as they are vetted in -current.  This should allow cleaning of files
in /tmp to be reneabled.
Obtained from: OpenBSD

27 years agoMerge in the safe chdir changes from Todd Miller's mods to the OpenBSD
Warner Losh [Fri, 29 Aug 1997 22:56:41 +0000 (22:56 +0000)]
Merge in the safe chdir changes from Todd Miller's mods to the OpenBSD
tree.  Also merge in fix to NetBSD PR #1495.  These represent 1.3-1.9 in
the OpenBSD tree.  Make minor KNF changes to new code (which is in the
OpenBSD as 1.10).  This avoids the symlink race problems.

These patches should go into 2.2.5 before the ship if they don't
break anything in -current.
Reviewed by: Bruce Evans
Obtained from: OpenBSD

27 years agoPlug info agthering attack as pointed out on Bugtraq recently.
Guido van Rooij [Fri, 29 Aug 1997 19:22:28 +0000 (19:22 +0000)]
Plug info agthering attack as pointed out on Bugtraq recently.
Obtained from: OpenBSD

27 years agoSupport for the new FAST_HI algorithm, enabled.
Steve Passe [Fri, 29 Aug 1997 18:45:23 +0000 (18:45 +0000)]
Support for the new FAST_HI algorithm, enabled.

Preliminary support for the INTR_SIMPLELOCK algorithm, disabled.
Note that this code is NOT ready.

27 years agoSupport for the new FAST_HI algorithm.
Steve Passe [Fri, 29 Aug 1997 18:16:18 +0000 (18:16 +0000)]
Support for the new FAST_HI algorithm.
Improved interrupt handling, fewer silo overflows.

With help from: dave adkins <adkin003@gold.tc.umn.edu>

27 years agoRemove and odd sleep found by David Holland and posted to -security.
Warner Losh [Fri, 29 Aug 1997 18:00:11 +0000 (18:00 +0000)]
Remove and odd sleep found by David Holland and posted to -security.
Reviewed by: Theo de Raadt (who put it into OpenBSD)
Submitted by: David Holland <dholland@eecs.harvard.edu>

27 years agoIntroduce FAST_HI option, ON by default.
Steve Passe [Fri, 29 Aug 1997 17:58:30 +0000 (17:58 +0000)]
Introduce FAST_HI option, ON by default.

This options allows a CPU that is blocked spinning for the giant lock
to process FAST_INTR() ISRs, eg. siointr().

27 years agoDont use an internal function called warn it clashes with libc.
Søren Schmidt [Fri, 29 Aug 1997 16:14:20 +0000 (16:14 +0000)]
Dont use an internal function called warn it clashes with libc.
Allows ELF compile.

27 years agoDont have an internal function named "warn" it clashes with libc..
Søren Schmidt [Fri, 29 Aug 1997 16:12:30 +0000 (16:12 +0000)]
Dont have an internal function named "warn" it clashes with libc..
Needed for ELF.

27 years agoSynchronize with sys/i386/i386/userconfig.c revision 1.90.
KATO Takenori [Fri, 29 Aug 1997 14:53:18 +0000 (14:53 +0000)]
Synchronize with sys/i386/i386/userconfig.c revision 1.90.

27 years agoUse correct member of scsi_cint for scbus. Add a space between lun
KATO Takenori [Fri, 29 Aug 1997 14:47:31 +0000 (14:47 +0000)]
Use correct member of scsi_cint for scbus.  Add a space between lun
and flags.

Reviewed by: kato
Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>

27 years agoInsert first cut of hooks for compiling under ELF.
Peter Wemm [Fri, 29 Aug 1997 14:02:14 +0000 (14:02 +0000)]
Insert first cut of hooks for compiling under ELF.

27 years agoInsert hooks for building under elf.
Peter Wemm [Fri, 29 Aug 1997 13:58:08 +0000 (13:58 +0000)]
Insert hooks for building under elf.

27 years agoThis commit was generated by cvs2svn to compensate for changes in r28896,
Peter Wemm [Fri, 29 Aug 1997 13:48:36 +0000 (13:48 +0000)]
This commit was generated by cvs2svn to compensate for changes in r28896,
which included commits to RCS files with non-trunk default branches.

27 years agoImport a file that is needed when compiling under ELF.
Peter Wemm [Fri, 29 Aug 1997 13:48:36 +0000 (13:48 +0000)]
Import a file that is needed when compiling under ELF.

27 years agoUse err(3). Cosmetic in usage(). Delay the compute of defaultdomain (from
Philippe Charnier [Fri, 29 Aug 1997 11:56:51 +0000 (11:56 +0000)]
Use err(3). Cosmetic in usage(). Delay the compute of defaultdomain (from
OpenBSD).
Obtained from: OpenBSD.

27 years agoUse err(3). Add Xreferences. Delay the compute of default domain.
Philippe Charnier [Fri, 29 Aug 1997 11:52:52 +0000 (11:52 +0000)]
Use err(3). Add Xreferences. Delay the compute of default domain.
Obtained from: OpenBSD

27 years agoUse err(3). Add references to others man pages. Wait for the user to
Philippe Charnier [Fri, 29 Aug 1997 11:48:50 +0000 (11:48 +0000)]
Use err(3). Add references to others man pages. Wait for the user to
supply the domain before computing a default one.
Obtained from: OpenBSD

27 years agodu(1) always exit with value zero.
Wolfram Schneider [Fri, 29 Aug 1997 11:40:00 +0000 (11:40 +0000)]
du(1) always exit with value zero.

$ du /foobar
du: /foobar: No such file or directory
$ echo $?
0

27 years agoFix typo in the comment introduced by me.
KATO Takenori [Fri, 29 Aug 1997 11:01:14 +0000 (11:01 +0000)]
Fix typo in the comment introduced by me.

27 years agoReal skeleton manpage for install-info
David E. O'Brien [Fri, 29 Aug 1997 09:10:22 +0000 (09:10 +0000)]
Real skeleton manpage for install-info
(someone that actually knows what it really does (I don't use info) really
should try to put some meat in this)

27 years agoAdded a sysctl arg, hw.machine_arch. The hw.machine_arch is "ibm-pc"
KATO Takenori [Fri, 29 Aug 1997 09:03:40 +0000 (09:03 +0000)]
Added a sysctl arg, hw.machine_arch.  The hw.machine_arch is "ibm-pc"
on IBM-PC box and is "pc-98" on NEC PC-98 box.  Userland program can
distinguish architecture on which the program runs.

27 years agoSynchronize with sys/i386/conf/files.i386 and sys/i386/i386/trap.c
KATO Takenori [Fri, 29 Aug 1997 08:15:57 +0000 (08:15 +0000)]
Synchronize with sys/i386/conf/files.i386 and sys/i386/i386/trap.c
revisions 1.173 and 1.109, respectively.

27 years ago"fix" this for compiling under the sticter ELF linker.. There was a
Peter Wemm [Fri, 29 Aug 1997 06:14:05 +0000 (06:14 +0000)]
"fix" this for compiling under the sticter ELF linker..  There was a
reference to an undefined function (digit_value_in_base()) that was static
elsewhere that it was used.

27 years agoMerge in some of my changes with John's. I've used this to build
Peter Wemm [Fri, 29 Aug 1997 06:11:52 +0000 (06:11 +0000)]
Merge in some of my changes with John's.  I've used this to build
an ELF system.  I'm not sure about some of the things here.  We definately
need to go back and rationalize this.

27 years agomore sanity check before making output.
Jun-ichiro itojun Hagino [Fri, 29 Aug 1997 00:44:34 +0000 (00:44 +0000)]
more sanity check before making output.
bark when sed fails.

Submitted by: wosch@apfel.de

27 years agoMake the devfs code actually compile. Oops.
Mike Smith [Fri, 29 Aug 1997 00:30:11 +0000 (00:30 +0000)]
Make the devfs code actually compile.  Oops.
Submitted by: jkh

27 years agoAdd a stub version of getpublickey(), in order to eliminate an
John Polstra [Thu, 28 Aug 1997 21:50:33 +0000 (21:50 +0000)]
Add a stub version of getpublickey(), in order to eliminate an
undefined symbol referenced from libc.  Without the stub, it is
impossible to execute any program using the shared library if
LD_BIND_NOW=1 is in the environment.  The stub always returns
failure, but it can be overridden outside the library when necessary.

I don't know whether this is the "correct" fix, but it is intolerable
to have any undefined symbols referenced from libc.

27 years agoMake X11 support in doscmd dependent on the actual libX11.a library and
Jonathan Lemon [Thu, 28 Aug 1997 18:23:40 +0000 (18:23 +0000)]
Make X11 support in doscmd dependent on the actual libX11.a library and
include directory, rather than X11BASE.  This fixes the build for people
who only have the shared X11 distribution installed.
Requested-by: A Joseph Koshy <koshy@india.hp.com>

27 years agoPatch for 3.0: #include <sys/fcntl.h> instead of <sys/ioctl.h>
Jordan K. Hubbard [Thu, 28 Aug 1997 15:23:10 +0000 (15:23 +0000)]
Patch for 3.0:  #include <sys/fcntl.h> instead of <sys/ioctl.h>

27 years agoDocument the VM86 option.
Jonathan Lemon [Thu, 28 Aug 1997 15:00:05 +0000 (15:00 +0000)]
Document the VM86 option.
Reminded-by: John-Mark Gurney

27 years agoRemove the vm86 LKM.
Jonathan Lemon [Thu, 28 Aug 1997 14:45:26 +0000 (14:45 +0000)]
Remove the vm86 LKM.

27 years agoRemove the vm86 support as an LKM, and link it directly into the kernel
Jonathan Lemon [Thu, 28 Aug 1997 14:36:56 +0000 (14:36 +0000)]
Remove the vm86 support as an LKM, and link it directly into the kernel
if 'options "VM86"' is in the config file.  The LKM was really for
development, and has probably outlived its usefulness.

27 years agoTo cope with shell archive file generated by GNU sharutils 4.2.
Jun-ichiro itojun Hagino [Thu, 28 Aug 1997 14:35:09 +0000 (14:35 +0000)]
To cope with shell archive file generated by GNU sharutils 4.2.
(it assumes that shar will bark if there's invalid argument specified)

Patch suggested by Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>.

Reviewed by: joerg_wunsch@uriah.heep.sax.de

27 years agoSynchronize with sys/i386/conf/files.i386 and majors.i386 revisions
KATO Takenori [Thu, 28 Aug 1997 14:21:12 +0000 (14:21 +0000)]
Synchronize with sys/i386/conf/files.i386 and majors.i386 revisions
1.172 and 1.17, respectively.

27 years agoAdd an example file for private E-Mail aliases. A user can share
Wolfram Schneider [Thu, 28 Aug 1997 13:36:56 +0000 (13:36 +0000)]
Add an example file for private E-Mail aliases. A user can share
~/.mail_aliases with different mail clients (e.g. mutt, mail) and can
make ~/.mailrc readable and keep the aliases private.

27 years agoISA driver for Comtrol Rocketport serial cards. No PCI probe stub
Jordan K. Hubbard [Thu, 28 Aug 1997 12:19:05 +0000 (12:19 +0000)]
ISA driver for Comtrol Rocketport serial cards.  No PCI probe stub
was submitted to me.
Submitted by: Amir Farah <amir@comtrol.com>

27 years agoAdd entries for Comtrol Rocketport serial card.
Jordan K. Hubbard [Thu, 28 Aug 1997 12:18:09 +0000 (12:18 +0000)]
Add entries for Comtrol Rocketport serial card.
Submitted by: Amir Farah <amir@comtrol.com>

27 years agoAdd entries for Comtrol Rocketport driver.
Jordan K. Hubbard [Thu, 28 Aug 1997 12:14:14 +0000 (12:14 +0000)]
Add entries for Comtrol Rocketport driver.
Submitted by: Amir Farah <amir@comtrol.com>

27 years agoRemove bogus timeout_func_t casts.
Mike Smith [Thu, 28 Aug 1997 11:12:08 +0000 (11:12 +0000)]
Remove bogus timeout_func_t casts.
Remove unused headers.
Remove all but one instance of the device base name.
Prototype some local static functions.
Consistently reference the softc structure as "sc" rather than "lpt".

Prompted-by: bde

27 years agoRemove bogus i386/* includes.
Mike Smith [Thu, 28 Aug 1997 10:15:20 +0000 (10:15 +0000)]
Remove bogus i386/* includes.

27 years agoMoved include files which are independent of bs driver.
KATO Takenori [Thu, 28 Aug 1997 09:23:57 +0000 (09:23 +0000)]
Moved include files which are independent of bs driver.

27 years agoSynchronize with sys/i386/isa/isa.c revision 1.103.
KATO Takenori [Thu, 28 Aug 1997 09:15:31 +0000 (09:15 +0000)]
Synchronize with sys/i386/isa/isa.c revision 1.103.

27 years agoFix inspace handling I broke in rev 1.13
Andrey A. Chernov [Thu, 28 Aug 1997 08:13:21 +0000 (08:13 +0000)]
Fix inspace handling I broke in rev 1.13

27 years agoUse err(3). Rewrote man page in mdoc format. The user visible change is that
Philippe Charnier [Thu, 28 Aug 1997 06:33:53 +0000 (06:33 +0000)]
Use err(3). Rewrote man page in mdoc format. The user visible change is that
report of s/r and r/r conflicts is now printed in two separate lines beginning
by `yacc: '.