freebsd kernel with SKQ
Go to file
rgrimes 780b2904e1 From Bruce Evans:
lpt doesn't work here if the printer is not turned on at boot time (this
has been reported for other systems).

lpt has a weird mapping of the flag bits vs printer numbers and MAKEDEV
does not understand this (printer 0 uses minor numbers 0-0x3f, printer 1
uses minors 0x40-0x7f, etc).

The following (simpler) problems are fixed by the patch.

lpt did not check the minor number on open, so if NLPT1 == 1 and you
try to open printer 1 then random memory above the lpt_sc array is
accessed.  I thought I had this problem for minors 1 and 2.  However,
it does not actually occur until minor 0x40.  Does anyone have lpt64?

lpt had several unnecessary && broken ANSIisms and other sloppy
declarations.

Bruce
1993-07-13 18:52:49 +00:00
bin Consolidate mark code - no functional changes or fixes. 1993-07-02 06:16:28 +00:00
etc Fixed netstart to have a hard-coded localhost address. 1993-07-05 21:43:35 +00:00
gnu Update diff, diff3, and sdiff's makefiles to use .PATH: instead of 1993-07-09 20:36:06 +00:00
lib/csu/i386 Added ${COPY} knob to the install commands 1993-07-03 00:21:21 +00:00
libexec/makekey New manual page system 1993-07-02 05:48:19 +00:00
sbin New manual page system 1993-07-02 06:10:31 +00:00
share/man/man4 New manual page system 1993-07-02 06:44:07 +00:00
sys From Bruce Evans: 1993-07-13 18:52:49 +00:00
usr.bin/symorder Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:49:13 +00:00
usr.sbin New manual page system 1993-07-02 04:22:44 +00:00