]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoInstall <sys/inttypes.h> as <inttypes.h>.
dt [Sat, 19 Dec 1998 00:21:13 +0000 (00:21 +0000)]
Install <sys/inttypes.h> as <inttypes.h>.

25 years agoLittle reorganization:
dt [Sat, 19 Dec 1998 00:02:34 +0000 (00:02 +0000)]
Little reorganization:
- created internal names for fixed-size integral types, like __int32_t. They
  will be used to make several headers self-sufficient.
- <stdlib.h> don't include <machine/types.h> anymore.
- created <sys/inttypes.h>, which can be used as <inttypes.h>.
- declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>.

Reviewed by: bde

25 years agoCorrect the definition for PN_NETCFG_NO_RXCRC: it's 0x20000000, not
wpaul [Fri, 18 Dec 1998 18:31:34 +0000 (18:31 +0000)]
Correct the definition for PN_NETCFG_NO_RXCRC: it's 0x20000000, not
0x02000000. This error was causing the chip to always include the
ethernet CRC along with every received frame (the driver turns on
PN_NETCFG_NO_RXCRC, but it was frobbing the wrong bit).

25 years agoMade changes suggested by bruce, plus a couple of others which made -Wall work.
mjacob [Fri, 18 Dec 1998 18:16:35 +0000 (18:16 +0000)]
Made changes suggested by bruce, plus a couple of others which made -Wall work.
Obtained from:bde@freebsd.org

25 years agoRemoved unused (slightly wrong) stub functions.
bde [Fri, 18 Dec 1998 18:07:10 +0000 (18:07 +0000)]
Removed unused (slightly wrong) stub functions.

Fixed some staticization obfuscations.

25 years agoDon't specify a language to compile_et.
des [Fri, 18 Dec 1998 14:32:48 +0000 (14:32 +0000)]
Don't specify a language to compile_et.
Rename fetchConnect to _fetch_connect since it's internal.

25 years agoUnbreak K&R support, and generate code that works in K&R C as well as
des [Fri, 18 Dec 1998 14:29:51 +0000 (14:29 +0000)]
Unbreak K&R support, and generate code that works in K&R C as well as
ANSI C no matter what language is specified.

25 years agoAdd share/emacs/site-lisp. Too many things break without it.
asami [Fri, 18 Dec 1998 08:06:34 +0000 (08:06 +0000)]
Add share/emacs/site-lisp.  Too many things break without it.

Reviewed by: ports list (a long time ago)

25 years agoNow that textproc/docproj works properly, use it instead of the long
jkh [Fri, 18 Dec 1998 05:13:01 +0000 (05:13 +0000)]
Now that textproc/docproj works properly, use it instead of the long
list of ports.

25 years agoAdd in block position/block locate functions.
mjacob [Fri, 18 Dec 1998 04:31:43 +0000 (04:31 +0000)]
Add in block position/block locate functions.

25 years agoAdd structures and function definitions pertinent for hardware locate support.
mjacob [Fri, 18 Dec 1998 04:29:16 +0000 (04:29 +0000)]
Add structures and function definitions pertinent for hardware locate support.

25 years agoAdd references to test(1) and expr(1).
jkoshy [Fri, 18 Dec 1998 03:51:18 +0000 (03:51 +0000)]
Add references to test(1) and expr(1).

25 years agoAdd cross-references to test(1) and expr(1) respectively.
jkoshy [Fri, 18 Dec 1998 03:16:47 +0000 (03:16 +0000)]
Add cross-references to test(1) and expr(1) respectively.

PR:  docs/9111
Submitted by: Josh Gilliam <josh@quick.net>

25 years agoFix spelling nits.
jkoshy [Fri, 18 Dec 1998 03:08:57 +0000 (03:08 +0000)]
Fix spelling nits.

PR: docs/9115
Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>

25 years ago1) Clarify that a weof count of zero is allowed (flush buffers).
mjacob [Fri, 18 Dec 1998 02:02:20 +0000 (02:02 +0000)]
1) Clarify that a weof count of zero is allowed (flush buffers).
2) Add in the set of {sethpos,setspos,rdhpos,rdspos) commands to implement the
Hardware && SCSI Logical Block position ioctls.

25 years agoEnable building libio on the alpha.
dfr [Thu, 17 Dec 1998 23:02:11 +0000 (23:02 +0000)]
Enable building libio on the alpha.

25 years agoMove some compile flags from the kernel makefile to bsd.kern.mk so that
dfr [Thu, 17 Dec 1998 22:36:21 +0000 (22:36 +0000)]
Move some compile flags from the kernel makefile to bsd.kern.mk so that
kernel modules are built with the right flags.

Suggested by: Andrew Gallatin <gallatin@cs.duke.edu>

25 years agoCorrect the definition of the changer device capabilities page. The
gibbs [Thu, 17 Dec 1998 22:26:39 +0000 (22:26 +0000)]
Correct the definition of the changer device capabilities page.  The
previous definition confused some reserved bytes for exchange capabilities.

25 years agoimport logical/hardware block locate ioctls from NetBSD
mjacob [Thu, 17 Dec 1998 19:26:49 +0000 (19:26 +0000)]
import logical/hardware block locate ioctls from NetBSD

25 years agoFlush the tx fifo in cystop(). Now ttyflush() (and thus tcflush(3))
bde [Thu, 17 Dec 1998 19:23:09 +0000 (19:23 +0000)]
Flush the tx fifo in cystop().  Now ttyflush() (and thus tcflush(3))
almost works properly.  Unfortunately, there is no way to flush
the rx fifo without resetting the channel, which also flushes the
tx fifo.  We avoid resetting even when both fifos need to be flushed,
since resetting seems to cause the rx to lose sync if it is done
while data is arriving.

Reminded by: NIST-PCTS

25 years agoAdd some tape specific density codes- only enough of them here to recognize
mjacob [Thu, 17 Dec 1998 19:04:18 +0000 (19:04 +0000)]
Add some tape specific density codes- only enough of them here to recognize
some specific older units so we can choose 2FM@EOD or FIXED blocksize
quirks.

25 years agoSeveral changes having to do blocksize- mostly to force variable as the default.
mjacob [Thu, 17 Dec 1998 18:56:23 +0000 (18:56 +0000)]
Several changes having to do blocksize- mostly to force variable as the default.
Attempt to determine (at mount time if not done so already) via density code
whether a device should default to fixed mode or not. Attempts to set to
variable that fail will cause fixed to be selected.

Similarly, the '2 filemarks at EOM' quirk is now determined (or attempted to
be determined) via density code. Some as yet not entirely tested code for
coping with 2FM@EOD position is now also in place.

25 years agoFixed handling of BREAK in input. BREAK was not being converted into an
bde [Thu, 17 Dec 1998 18:43:08 +0000 (18:43 +0000)]
Fixed handling of BREAK in input.  BREAK was not being converted into an
escape sequence in the `-ignbrk -brkint parmrk' case.

Found by: NIST-PCTS

25 years agoOops, this should have been in the previous commit (ensure atomic update
bde [Thu, 17 Dec 1998 18:18:06 +0000 (18:18 +0000)]
Oops, this should have been in the previous commit (ensure atomic update
of com->cor[1]).

25 years agoImplemented sending of BREAKs. This is quite complicated because the
bde [Thu, 17 Dec 1998 17:40:13 +0000 (17:40 +0000)]
Implemented sending of BREAKs.  This is quite complicated because the
hardware is interrupt-driven to a fault and sending a BREAK requires
mode switching.  Always running in the BREAK-capable mode as in PR 8318
would double the overhead for sending \0's.

Reminded by: PR 8318

25 years agoNote that dying on NULL is an implementation detail.
eivind [Thu, 17 Dec 1998 17:13:47 +0000 (17:13 +0000)]
Note that dying on NULL is an implementation detail.

25 years agoLook for boot blocks in new default location.
jkh [Thu, 17 Dec 1998 16:50:10 +0000 (16:50 +0000)]
Look for boot blocks in new default location.

25 years agoRestore old semantics (broken in rev 1.47's buffer overflow fix).
eivind [Thu, 17 Dec 1998 16:31:02 +0000 (16:31 +0000)]
Restore old semantics (broken in rev 1.47's buffer overflow fix).

25 years agoActually document my last addition.
cracauer [Thu, 17 Dec 1998 12:21:20 +0000 (12:21 +0000)]
Actually document my last addition.
General cosmetics.
Add a note that scsi-defects has not been ported to CAM.
Submitted by: BDE

25 years agoAdd an option for insecure mode, in which rwhod does not discard packets
des [Thu, 17 Dec 1998 11:05:57 +0000 (11:05 +0000)]
Add an option for insecure mode, in which rwhod does not discard packets
from incorrect source ports.

25 years agoSync with sys/i386/isa/clock.c revision 1.129.
kato [Thu, 17 Dec 1998 08:54:47 +0000 (08:54 +0000)]
Sync with sys/i386/isa/clock.c revision 1.129.

25 years agoThe fe driver has been merged into sys/i386/isa/if_fe.c.
kato [Thu, 17 Dec 1998 08:45:07 +0000 (08:45 +0000)]
The fe driver has been merged into sys/i386/isa/if_fe.c.

Forgotten by: kato

25 years agoSync with sys/i386/isa/wd.c revision 1.181.
kato [Thu, 17 Dec 1998 08:42:10 +0000 (08:42 +0000)]
Sync with sys/i386/isa/wd.c revision 1.181.

25 years agoSync with sys/i386/isa/npx.c revision 1.64.
kato [Thu, 17 Dec 1998 08:41:34 +0000 (08:41 +0000)]
Sync with sys/i386/isa/npx.c revision 1.64.

25 years agoSync with sys/i386/isa/fd.c revision 1.129.
kato [Thu, 17 Dec 1998 08:40:36 +0000 (08:40 +0000)]
Sync with sys/i386/isa/fd.c revision 1.129.

25 years agoDon't return stack-based data. This may have caused
brian [Thu, 17 Dec 1998 00:28:12 +0000 (00:28 +0000)]
Don't return stack-based data.  This may have caused
server-side CHAP authentication problems in the past :-/

25 years agoFix a few problems with handling rejected transfer negotiation messages.
gibbs [Thu, 17 Dec 1998 00:06:52 +0000 (00:06 +0000)]
Fix a few problems with handling rejected transfer negotiation messages.

Use the host message loop for any unknown message types instead of performing
a reject message in the sequencer.  Pass reject messages to the host
message loop too which frees up a sequencer interrupt type slot.

Default to issuing a bus reset if initiator mode is enabled.  It seems
that the reset scsi bus bit is not defined in the same location for
all aic78xx BIOSes, so attempting to honor this setting will have to
wait until I get more information on how to detect it.

Nuke some unused variables.

25 years agoCorrectly track allocated accept target I/O ccbs so that they can be
gibbs [Thu, 17 Dec 1998 00:03:14 +0000 (00:03 +0000)]
Correctly track allocated accept target I/O ccbs so that they can be
aborted prior to disabling our lun.  This requires a second set of
links since we use the ones in the ccb_hdr during normal operations.

Nuke some unused variables.

25 years agoAt Justin's request, limit the size of buffers that can be mapped into
ken [Wed, 16 Dec 1998 21:00:06 +0000 (21:00 +0000)]
At Justin's request, limit the size of buffers that can be mapped into
and out of kernel address space (via the pass(4) and xpt(4) peripheral
drivers) to 64K (DFLTPHYS).  Some controllers, like the Adaptec 1542,
don't support more than 64K transactions.

We plan on eventually having the capability of limiting this size based
on min(MAXPHYS, controller max), but since that capability isn't here yet,
limit things to the lowest common denominator.

25 years ago<sys/types.h> isn't a prerequisite for <kvm.h>.
bde [Wed, 16 Dec 1998 19:12:14 +0000 (19:12 +0000)]
<sys/types.h> isn't a prerequisite for <kvm.h>.

25 years agoThe previous commit was bogus. <stdlib.h> was never a prerequisite
bde [Wed, 16 Dec 1998 19:04:54 +0000 (19:04 +0000)]
The previous commit was bogus.  <stdlib.h> was never a prerequisite
for <kvm.h> or kvm_getloadavg(), and <sys/types.h> was only a
prerequisite for <kvm.h> when <kvm.h> was broken.

25 years agoDeclare size_t and ssize_t if they are not already declared, so that
bde [Wed, 16 Dec 1998 18:59:47 +0000 (18:59 +0000)]
Declare size_t and ssize_t if they are not already declared, so that
<kvm.h> is self-sufficient again.

Moved typedefs and forward struct declarations out of __BEGIN_DECLS/
__END_DECLS.

Don't comment out the prototype for kvm_uread().  This was a 4 year
old kludge for previous breakage of self-sufficiency.  The prototypwe
was broken instead.

Fixed bitrot (const poisoning) in the type of kvm_uread().

Fixed order of the declaration of kvm_uread().

25 years agoStraigthen out the use of the tls and tlf callbacks.
phk [Wed, 16 Dec 1998 18:42:38 +0000 (18:42 +0000)]
Straigthen out the use of the tls and tlf callbacks.

Not tested on the if_sr, if_cx and if_ar drivers, but
expected to work just the same as it used to.

Any users of these drivers (or even better: donors
of hardware for them) please contact phk@freebsd.org
so we can test the next batch of changes to if_sppp.

25 years agoAdjust for kern.ps_strings and PS_STRINGS not being a pointer. This
bde [Wed, 16 Dec 1998 18:31:51 +0000 (18:31 +0000)]
Adjust for kern.ps_strings and PS_STRINGS not being a pointer.  This
fixes a type mismatch in the call to kvm_uread().  The bug has gone
undetected for almost 3 years because kvm_uproc()'s protoype has been
disabled for almost 4 years.

Trust sysctlbyname() to work properly if it succeeds.

Fixed style bugs in revs. 1.19 and 1.22.

25 years agoGeneralize the if_up() and if_down() functions under the names
phk [Wed, 16 Dec 1998 18:30:43 +0000 (18:30 +0000)]
Generalize the if_up() and if_down() functions under the names
if_route() and if_unroute().

This is first step towards sanitizing IFF_UP and IFF_RUNNING

25 years agoAdd missing "break"s to allow multicast routing to work.
fenner [Wed, 16 Dec 1998 18:07:11 +0000 (18:07 +0000)]
Add missing "break"s to allow multicast routing to work.

Submitted by: Amancio Hasty <hasty@rah.star-gate.com>

25 years agoProbable fix for the "cdda2wav" panics that various people have been
ken [Wed, 16 Dec 1998 18:00:39 +0000 (18:00 +0000)]
Probable fix for the "cdda2wav" panics that various people have been
reporting since this past summer.  (I think Daniel O'Conner was the first.)

The problem appears to have been something like this:

 - cdda2wav by default passes in a buffer that is close to the 128K MAXPHYS
   limit.
 - many times, the buffer is not page aligned
 - vmapbuf() truncates the address, so that it is page aligned
 - that causes the total size of the buffer to be greater than MAXPHYS,
   which of course is a bad thing.

Here's a quote from the PR (kern/9067):

==================
In particular, note bp->b_bufsize = 0x0001f950 and bp->b_data = 0xf2219960
(which does not start on a page boundary).  vunmapbuf() loops through all
the pages without any difficulty until addr reaches 0xf2239000, and then
the panic occurs.  This seems to indicate that we are exceeding MAXPHYS
since we actually started from the middle of a page (the data is being
transfered to a non page aligned location).

To complete the description, note that the system call originates from
ReadCddaMMC12() (in scsi_cmds.c of cdda2wav) with a request to read 55
audio sectors of 2352 bytes (which is calculated to fall under MAXPHYS).
This in turn ends up calling scsi_send() (in scsi-bsd.c) which calls
cam_fill_csio() and cam_send_ccb().  This results in a CAMIOCOMMAND ioctl
with a ccb function code of XPT_SCSI_IO.
==================

The fix is to change the size check in cam_periph_mapmem() so that it is
like the one in minphys().  In particular, it is something like:

if ((buffer_length + (buf_ptr & PAGE_MASK)) > MAXPHYS)
buffer is too big

My fix is based on the one in the PR, but I cleaned up a fair number of
things in cam_periph_mapmem().  The checks for each buffer to be mapped
are now in a separate loop from the actual mapping operation.  With the new
arrangement, we don't have to bother with unmapping any previously mapped
buffers if one of the checks fails.

Many thanks to James Liu for tracking this down.  I'd appreciate it if some
vm-savvy folks would look this over.  I believe this fix is correct, but I
could be wrong.

PR: kern/9067 (also, kern/8112)
Reviewed by: gibbs
Submitted by: "James T. Liu" <jtliu@phlebas.rockefeller.edu>

25 years agoDeclare setproctitle() as printf0-like.
bde [Wed, 16 Dec 1998 17:52:15 +0000 (17:52 +0000)]
Declare setproctitle() as printf0-like.

25 years agoAdjust for kern.ps_strings and PS_STRINGS not being a pointer. This is
bde [Wed, 16 Dec 1998 17:34:05 +0000 (17:34 +0000)]
Adjust for kern.ps_strings and PS_STRINGS not being a pointer.  This is
an unimprovement here.  I thought it would be an improvement, as in libkvm,
but here we can access the strings directly.

Use sysctlbyname() instead of sysctl() and trust it to give a nonzero
address if it succeeds.

25 years agoDocument securelevel 3.
ghelmer [Wed, 16 Dec 1998 17:14:16 +0000 (17:14 +0000)]
Document securelevel 3.
PR: docs/8674

25 years agoMention affect of securelevel 3 and higher on attempts to change filter lists.
ghelmer [Wed, 16 Dec 1998 17:10:03 +0000 (17:10 +0000)]
Mention affect of securelevel 3 and higher on attempts to change filter lists.

Prompted by: PR docs/7785

25 years agoMention securelevel 3 as affecting ipfw and dummynet. Generalize comment
ghelmer [Wed, 16 Dec 1998 16:50:12 +0000 (16:50 +0000)]
Mention securelevel 3 as affecting ipfw and dummynet.  Generalize comment
about fdisk and securelevel 2.
PR: docs/7785

25 years agoRemoved the cast to a pointer in the definition of PS_STRINGS and
bde [Wed, 16 Dec 1998 16:28:58 +0000 (16:28 +0000)]
Removed the cast to a pointer in the definition of PS_STRINGS and
adjusted related casts to match (only in the kernel in this commit).
The pointer was only wanted in one place in kern_exec.c.  Applications
should use the kern.ps_strings sysctl instead of PS_STRINGS, so they
shouldn't notice this change.

25 years agoRemoved all traces of SYSCTL_INTPTR(). Pointers can't really be passed
bde [Wed, 16 Dec 1998 16:06:29 +0000 (16:06 +0000)]
Removed all traces of SYSCTL_INTPTR().  Pointers can't really be passed
across the kernel -> application interface, and for the one sysctl where
they were passed and actually used (kern.ps_strings), the applications
want addresses represented as u_longs anyway (the other sysctl that
passed them, kern.usrstack, has never been used).

Agreed to by: dfr, phk

25 years agoImplement and document fetchStatFTP.
des [Wed, 16 Dec 1998 15:29:03 +0000 (15:29 +0000)]
Implement and document fetchStatFTP.
Update description of struct url_stat in the man page.
Clean up error handling in ftp.c.

25 years agoRemoved bogus casts of USRSTACK and/or the other operand in binary
bde [Wed, 16 Dec 1998 15:21:51 +0000 (15:21 +0000)]
Removed bogus casts of USRSTACK and/or the other operand in binary
expressions involving USRSTACK.

25 years agoSync with current sc driver in sys/i386/isa.
kato [Wed, 16 Dec 1998 14:57:38 +0000 (14:57 +0000)]
Sync with current sc driver in sys/i386/isa.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>

25 years agoMake it possible to have separate install scripts as well as have
jkh [Wed, 16 Dec 1998 13:59:31 +0000 (13:59 +0000)]
Make it possible to have separate install scripts as well as have
an on-delete script.

Submitted by: Rajesh Vaidheeswarran <rv@fore.com>

25 years agoBest version so far. Flicker floor is now 2e-12.
phk [Wed, 16 Dec 1998 11:46:41 +0000 (11:46 +0000)]
Best version so far.  Flicker floor is now 2e-12.

25 years agoRemove appending objformat to obj prefix for
ache [Wed, 16 Dec 1998 11:45:51 +0000 (11:45 +0000)]
Remove appending objformat to obj prefix for
backend targets. Old variant cause top level things build in
/usr/obj/elf while lower level things build in /usr/obj which cause
mismatch

25 years agoRemove unused header files. Fix a few shadowing bugs. Improve error reporting.
des [Wed, 16 Dec 1998 11:44:31 +0000 (11:44 +0000)]
Remove unused header files. Fix a few shadowing bugs. Improve error reporting.

25 years agoAdd verbose flag, and support functions.
des [Wed, 16 Dec 1998 10:24:55 +0000 (10:24 +0000)]
Add verbose flag, and support functions.
Brucify the Makefile.
Differentiate atime and mtime in fetch*Stat().
Fix a few pointer bugs.
Tweak some error messages.
Don't #include sys/param.h and stdio.h in fetch.h.
Document that sys/param.h and stdio.h must be #included before fetch.h.

25 years agoRemoved dynamic loading of FileHandle
n_hibma [Wed, 16 Dec 1998 09:09:09 +0000 (09:09 +0000)]
Removed dynamic loading of FileHandle

25 years agoAs previously threatened, clean up the rshd -a option and make it default
peter [Wed, 16 Dec 1998 07:20:45 +0000 (07:20 +0000)]
As previously threatened, clean up the rshd -a option and make it default
on rshd and rlogind.  However, note that:
1: rshd used to drop a connection with -a if the hostname != ip address.
   This is unneeded, because iruserok() does it's own checking.
   It was also wrong if .rhosts had an explicit IP address in it,
   connections would be dropped from that host solely because the DNS was
   mismatched even though it was explicitly intended to work by IP address.
2: rlogind and rshd check the hostname mappings by default now because that
   is what goes into the utmp/wtmp and logs.  If the hostname != ip address,
   then it uses the IP address for logging/utmp/wtmp purposes.  There isn't
   much point logging ficticious hostnames.
3: rshd -a is now accepted (but ignored) for compatability.  If you really
   want to make life miserable for people with bad reverse DNS, use tcpd in
   paranoid mode (which is questionable anyway, given DNS ttl tweaking).

25 years agoUpdate to note which specific brand of IDE drive does this.
jkh [Wed, 16 Dec 1998 07:14:01 +0000 (07:14 +0000)]
Update to note which specific brand of IDE drive does this.

25 years agoOld stuff laying around: Don't use getstr which can conflict with some
peter [Wed, 16 Dec 1998 06:06:06 +0000 (06:06 +0000)]
Old stuff laying around:  Don't use getstr which can conflict with some
curses/termcap/terminfo implementations and causes recursion.

25 years agoOld stuff laying around: Don't use a function called getstr(), that has
peter [Wed, 16 Dec 1998 06:04:29 +0000 (06:04 +0000)]
Old stuff laying around:  Don't use a function called getstr(), that has
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.

25 years agoOld stuff from a source tree: copy (verbatum) the code to expand the
peter [Wed, 16 Dec 1998 06:01:33 +0000 (06:01 +0000)]
Old stuff from a source tree:  copy (verbatum) the code to expand the
 %s/%m in the default /etc/gettytab.

25 years agoOld nit lying around in a source tree: Slightly optimize the number of
peter [Wed, 16 Dec 1998 05:50:25 +0000 (05:50 +0000)]
Old nit lying around in a source tree:  Slightly optimize the number of
uname/gname overrides and /sets.

25 years agoOld nit lying around: Don't override the gname when it's the same as the
peter [Wed, 16 Dec 1998 05:47:53 +0000 (05:47 +0000)]
Old nit lying around:  Don't override the gname when it's the same as the
previous /set.

25 years agoOld stuff laying around: Don't override /tmp to the same uid/gid as the
peter [Wed, 16 Dec 1998 05:45:58 +0000 (05:45 +0000)]
Old stuff laying around:  Don't override /tmp to the same uid/gid as the
previous /set defaults

25 years agoOld stuff lying around a source tree:
peter [Wed, 16 Dec 1998 05:34:49 +0000 (05:34 +0000)]
Old stuff lying around a source tree:
 Create/remove /etc/wall_cmos_clock without using system() and magic paths.

25 years agoCleaning out old stuff from one of my source trees:
peter [Wed, 16 Dec 1998 05:29:09 +0000 (05:29 +0000)]
Cleaning out old stuff from one of my source trees:
  use mkdtemp() rather than mktemp() and fix a trivial memory leak.

25 years ago Added /usr/share/examples/portal to mtree
dillon [Wed, 16 Dec 1998 05:01:44 +0000 (05:01 +0000)]
Added /usr/share/examples/portal to mtree

25 years agoAdd support for building on MIPS based systems.
imp [Wed, 16 Dec 1998 04:59:53 +0000 (04:59 +0000)]
Add support for building on MIPS based systems.

25 years agoFree memory from getmode.
imp [Wed, 16 Dec 1998 04:54:08 +0000 (04:54 +0000)]
Free memory from getmode.

Obtained from: OpenBSD

25 years agoFree memory from setmode.
imp [Wed, 16 Dec 1998 04:51:27 +0000 (04:51 +0000)]
Free memory from setmode.

Obtained from: OpenBSD

25 years agoReturn memory from setmode.
imp [Wed, 16 Dec 1998 04:50:46 +0000 (04:50 +0000)]
Return memory from setmode.

Obtained from: OpenBSD

25 years agoFix two possible non-exploitable buffer overflows.
imp [Wed, 16 Dec 1998 04:48:00 +0000 (04:48 +0000)]
Fix two possible non-exploitable buffer overflows.

Thanks to: A friend at Sun auditing dump/restore for Solaris.

25 years agoFree memory from setmode.
imp [Wed, 16 Dec 1998 04:45:35 +0000 (04:45 +0000)]
Free memory from setmode.

Obtained from: OpenBSD

25 years agoUse getcwd in stead of using getwd so that we try harder to avoid
imp [Wed, 16 Dec 1998 04:44:32 +0000 (04:44 +0000)]
Use getcwd in stead of using getwd so that we try harder to avoid
overflowing a buffer.

Obtained from: Either OpenBSD or a discussion in bugtraq.

25 years agoFree memory obtained from setmode.
imp [Wed, 16 Dec 1998 04:42:33 +0000 (04:42 +0000)]
Free memory obtained from setmode.

Obtained from: OpenBSD

25 years agoAdd reminder to return memory allocated by this call.
imp [Wed, 16 Dec 1998 04:39:23 +0000 (04:39 +0000)]
Add reminder to return memory allocated by this call.

Obtained from: OpenBSD

25 years agoThe perlinterp option builds and works, but I'm not so sure how it'll go
peter [Wed, 16 Dec 1998 04:02:56 +0000 (04:02 +0000)]
The perlinterp option builds and works, but I'm not so sure how it'll go
in a release or buildworld environment, so I'll leave it disabled.

25 years agoMake this work with the perl5 in the source tree - the API has "evolved"
peter [Wed, 16 Dec 1998 04:00:25 +0000 (04:00 +0000)]
Make this work with the perl5 in the source tree - the API has "evolved"
and some code glitches had to be fixed.

25 years agoDisable build/install of boot.help until we sort out how to construct it
msmith [Wed, 16 Dec 1998 02:27:15 +0000 (02:27 +0000)]
Disable build/install of boot.help until we sort out how to construct it
in the makeworld environment.

25 years agovxalloc() can return NULL. Deal with it.
eivind [Wed, 16 Dec 1998 00:38:57 +0000 (00:38 +0000)]
vxalloc() can return NULL.  Deal with it.

25 years agoFix possible NULL-pointer deref in error case (same as DEVFS).
eivind [Wed, 16 Dec 1998 00:10:51 +0000 (00:10 +0000)]
Fix possible NULL-pointer deref in error case (same as DEVFS).

25 years agoAvoid NULL-pointer dereference on error condition.
eivind [Tue, 15 Dec 1998 23:46:59 +0000 (23:46 +0000)]
Avoid NULL-pointer dereference on error condition.

25 years ago Remove signal mask prior to calling exec
dillon [Tue, 15 Dec 1998 23:12:33 +0000 (23:12 +0000)]
Remove signal mask prior to calling exec

25 years agoFix a rather bad latency problem (uncovered by the recent timer commit).
brian [Tue, 15 Dec 1998 19:12:24 +0000 (19:12 +0000)]
Fix a rather bad latency problem (uncovered by the recent timer commit).
Problem reported by: Christopher Hall <hsw@acm.org>

25 years ago Add portal example
dillon [Tue, 15 Dec 1998 19:05:35 +0000 (19:05 +0000)]
Add portal example

PR: misc/8796

25 years agoAdd pt_tcplisten.c functionality, fix a few minor bugs
dillon [Tue, 15 Dec 1998 18:59:07 +0000 (18:59 +0000)]
Add pt_tcplisten.c functionality, fix a few minor bugs

PR:             kern/8793, misc/8796, kern/8797, kern/8798, kern/8050, kern/6758
Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>

25 years agoWrap two macros into do { ... } while (0), and fix the way they're used
des [Tue, 15 Dec 1998 17:38:33 +0000 (17:38 +0000)]
Wrap two macros into do { ... } while (0), and fix the way they're used
in the kernel.

Reviewed by: bde

25 years agoAdd some emacs code to make cc-mode almost compatible to style(9).
cracauer [Tue, 15 Dec 1998 16:51:49 +0000 (16:51 +0000)]
Add some emacs code to make cc-mode almost compatible to style(9).
Sort entries in toplevel README.

25 years agoCompile threaded proframs with -D_THREAD_SAFE, not -D_THREADSAFE
cracauer [Tue, 15 Dec 1998 16:43:14 +0000 (16:43 +0000)]
Compile threaded proframs with -D_THREAD_SAFE, not -D_THREADSAFE

25 years agoOops, I forgot to commit two diffs to fe driver.
kato [Tue, 15 Dec 1998 15:56:37 +0000 (15:56 +0000)]
Oops, I forgot to commit two diffs to fe driver.

25 years agoPC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,
kato [Tue, 15 Dec 1998 15:51:37 +0000 (15:51 +0000)]
PC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,
as well as several functional additions.

(1) dot3 MIB support.
(2) if_media selection method support.
(3) bridge support.
(4) new boards support. Supported boards are as follows.
    [PC/AT]
     * Fujitsu FMV-180 series
     * Allied-Telesis RE2000 series
     * Allied-Telesyn AT1700 series
     * Gateway Communications G/Ether series
     * UB networks Access/PC ISA series
     * TDK/LANX LAC-AX series
     * ICL EtherTeam16i series
     * RATOC REX-5586/5587
    [PC-98]
     * Allied-Telesis RE1000 series
     * Allied-Telesis RE1000Plus/ME1500 series
     * Contec C-NET(9N)E series
     * Contec C-NET(98)P2 series
     * UB networks Access/PC N98C+ series
     * TDK/LANX LAC-98 series(not tested)

Submitted by: seki@sysrap.cs.fujitsu.co.jp (Masahiro Sekiguchi) and
              chi@bd.mbn.or.jp (Chiharu Shibata)

25 years agoReformat help to improve subtopic display appearance, other minor
msmith [Tue, 15 Dec 1998 14:32:17 +0000 (14:32 +0000)]
Reformat help to improve subtopic display appearance, other minor
cleaning.  The 'help' command in the loader should now be usable and
hopefully informative.

25 years agoBuild the composite help file from the generic and architecture-specific
msmith [Tue, 15 Dec 1998 14:21:30 +0000 (14:21 +0000)]
Build the composite help file from the generic and architecture-specific
help files, sorting topics and subtopics to allow maximum flexibility.