]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoFix devfs_access() bug on directories.
Poul-Henning Kamp [Mon, 21 Aug 2000 14:45:19 +0000 (14:45 +0000)]
Fix devfs_access() bug on directories.

Remove unused #includes.

Bug spotted by: markm

24 years agoMake this work with current makefiles again.
Poul-Henning Kamp [Mon, 21 Aug 2000 14:42:48 +0000 (14:42 +0000)]
Make this work with current makefiles again.

24 years agoOnly whack pseudo-terminals into shape if they exist. They might
Sheldon Hearn [Mon, 21 Aug 2000 14:37:52 +0000 (14:37 +0000)]
Only whack pseudo-terminals into shape if they exist.  They might
not yet exist in the DEVFS case.

24 years agoAfter some discussion with markm, back out most of rev 1.221,
Sheldon Hearn [Mon, 21 Aug 2000 14:33:20 +0000 (14:33 +0000)]
After some discussion with markm, back out most of rev 1.221,
which really wasn't such a hot idea in retrospect.

If the random device isn't available, it probably isn't wanted.
If it's wanted, it should be enabled in loader.conf.

24 years agoFix typos.
Maxim Sobolev [Mon, 21 Aug 2000 14:08:43 +0000 (14:08 +0000)]
Fix typos.

Approved by: phk

24 years agoFix a bug upon initialization. (_INDX_ADDR -> _INDX_DATA)
Seigo Tanimura [Mon, 21 Aug 2000 13:18:56 +0000 (13:18 +0000)]
Fix a bug upon initialization. (_INDX_ADDR -> _INDX_DATA)

24 years agoSynchronize the poll() prototype with the one provided in the
Sheldon Hearn [Mon, 21 Aug 2000 12:25:09 +0000 (12:25 +0000)]
Synchronize the poll() prototype with the one provided in the
poll(2) manual page.

PR: 20677
Submitted by: "Ralf S. Engelschall" <rse@engelschall.com>

24 years agoFix a bug introduced by my own previous commit (addition of the current
Maxim Sobolev [Mon, 21 Aug 2000 10:21:28 +0000 (10:21 +0000)]
Fix a bug introduced by my own previous commit (addition of the current
line/column display).

I overlooked that ee(1) doesn't maintain proper line numbering when
adding/removing lines, so after those operations linenumber displayed may not
match the reality. Also use proper variable for current column diaplay, because
the one used previously reflects the offset of current char, which doesn't
equial screen position when tabs present.

Reviewed by: bp

24 years agoFix up the command in the destination buffer, not the source.
Nick Hibma [Mon, 21 Aug 2000 09:39:07 +0000 (09:39 +0000)]
Fix up the command in the destination buffer, not the source.

This makes the conversion from Test-Unit-Ready to Start-Stop-Unit in the case
of SCSI (Iomega Zip drive) actually work.

24 years agoAdd dummy opt_devfs.h file.
Poul-Henning Kamp [Mon, 21 Aug 2000 07:45:37 +0000 (07:45 +0000)]
Add dummy opt_devfs.h file.

24 years agoGrok 125 replies to passive RETR. This fixes an interoperability bug with
Dag-Erling Smørgrav [Mon, 21 Aug 2000 07:18:31 +0000 (07:18 +0000)]
Grok 125 replies to passive RETR.  This fixes an interoperability bug with
Microsoft FTP Service.

Reported by: asmodai, eivind

24 years agoMove $PERL/IO/Socket to the right place.
Mark Murray [Mon, 21 Aug 2000 06:30:45 +0000 (06:30 +0000)]
Move $PERL/IO/Socket to the right place.

Reported by: ache

24 years agorework feeder sytem to allow feeders in klds
Cameron Grant [Sun, 20 Aug 2000 22:18:56 +0000 (22:18 +0000)]
rework feeder sytem to allow feeders in klds

modify driver capability reporting format to list every audio format
seperately- required for above and because we could not previously indicate
that mono was unsupported.

there should be no functional impact.

24 years ago Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)
Poul-Henning Kamp [Sun, 20 Aug 2000 21:34:39 +0000 (21:34 +0000)]
  Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)

  Remove old DEVFS support fields from dev_t.

  Make uid, gid & mode members of dev_t and set them in make_dev().

  Use correct uid, gid & mode in make_dev in disk minilayer.

  Add support for registering alias names for a dev_t using the
  new function make_dev_alias().  These will show up as symlinks
  in DEVFS.

  Use makedev() rather than make_dev() for MFSs magic devices to prevent
  DEVFS from noticing this abuse.

  Add a field for DEVFS inode number in dev_t.

  Add new DEVFS in fs/devfs.

  Add devfs cloning to:
        disk minilayer (ie: ad(4), sd(4), cd(4) etc etc)
        md(4), tun(4), bpf(4), fd(4)

  If DEVFS add -d flag to /sbin/inits args to make it mount devfs.

  Add commented out DEVFS to GENERIC

24 years agoAdd UNIX domain socket feature to pccardd. This makes pccard
Hajimu UMEMOTO [Sun, 20 Aug 2000 16:16:57 +0000 (16:16 +0000)]
Add UNIX domain socket feature to pccardd.  This makes pccard
related PAO3/ports such as gxcardmon work.

Reviewed by: imp
Obtained from: PAO3

24 years agoUnbreak LINT.
Nick Hibma [Sun, 20 Aug 2000 15:30:15 +0000 (15:30 +0000)]
Unbreak LINT.

24 years agoFix typo in last commit.
Poul-Henning Kamp [Sun, 20 Aug 2000 11:46:39 +0000 (11:46 +0000)]
Fix typo in last commit.

24 years agoAdd missing perl directories.
Mark Murray [Sun, 20 Aug 2000 10:06:24 +0000 (10:06 +0000)]
Add missing perl directories.

24 years agoFixes and cleanups to the perl build; don't error out when NOCLEAN is
Mark Murray [Sun, 20 Aug 2000 10:03:26 +0000 (10:03 +0000)]
Fixes and cleanups to the perl build; don't error out when NOCLEAN is
set and directories are being (re)made; build the procname ($0) stuff,
don't install miniperl.
(Miniperl needs a revisit).

24 years agoResolve conflicts.
Mark Murray [Sun, 20 Aug 2000 09:51:08 +0000 (09:51 +0000)]
Resolve conflicts.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r64866,
Mark Murray [Sun, 20 Aug 2000 08:43:07 +0000 (08:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r64866,
which included commits to RCS files with non-trunk default branches.

24 years agoVendor supplied patches to fix procname ($0)
Mark Murray [Sun, 20 Aug 2000 08:43:07 +0000 (08:43 +0000)]
Vendor supplied patches to fix procname ($0)

24 years agoCentralize the canonical vop_access user/group/other check in vaccess().
Poul-Henning Kamp [Sun, 20 Aug 2000 08:36:26 +0000 (08:36 +0000)]
Centralize the canonical vop_access user/group/other check in vaccess().

Discussed with: bde

24 years agoA slight restyling of the previous fix and make the way the
David Malone [Sun, 20 Aug 2000 00:02:48 +0000 (00:02 +0000)]
A slight restyling of the previous fix and make the way the
reference count is initialised to zero to be more kosher.

Reviewed by: Bosko Milekic <bmilekic@technokratis.com>
Spotted by: jdp and Jake Burkholder <jburkhol@home.com> respectively

24 years agoFix logic error which caused a page fault in kernel mode immediately
John Polstra [Sat, 19 Aug 2000 23:50:41 +0000 (23:50 +0000)]
Fix logic error which caused a page fault in kernel mode immediately
on boot up.

Submitted by: Bosko Milekic <bmilekic@technokratis.com>

24 years agoFixed a missing splx() in if_addmulti(). Was broken in rev.1.28.
Bruce Evans [Sat, 19 Aug 2000 22:10:10 +0000 (22:10 +0000)]
Fixed a missing splx() in if_addmulti().  Was broken in rev.1.28.

24 years agoDon't build pccard for now until I can resolve the linker interaction
Warner Losh [Sat, 19 Aug 2000 19:26:03 +0000 (19:26 +0000)]
Don't build pccard for now until I can resolve the linker interaction
issue that I'm seeing.

24 years agoWork around a possible kernel linker bug. It appears that the data
Warner Losh [Sat, 19 Aug 2000 19:25:23 +0000 (19:25 +0000)]
Work around a possible kernel linker bug.  It appears that the data
elements defined by foo_if.c aren't sharable amoung modules (I'm
working on a bug report for it now), or else I don't understand
something.  It showed up as kobj functions not being called.

In any event, link in the pcic and pccard parts of the modules to work
around the problem for now.

24 years agoo Move to using PCCARD_SOFTC(dev)
Warner Losh [Sat, 19 Aug 2000 19:22:04 +0000 (19:22 +0000)]
o Move to using PCCARD_SOFTC(dev)
o fill in the size of the actual softc, rather than 1 in data structure
o minor debugging improvements.

24 years agoo move to using PCIC_SOFTC(dev) to get the softc
Warner Losh [Sat, 19 Aug 2000 19:20:25 +0000 (19:20 +0000)]
o move to using PCIC_SOFTC(dev) to get the softc
o move pcic_deactivate into pcic_detach
o Better debug messages

24 years agoRemove obsolete entry about wdc hangs
Jordan K. Hubbard [Sat, 19 Aug 2000 18:54:37 +0000 (18:54 +0000)]
Remove obsolete entry about wdc hangs

24 years agofix SNDCTL_DSP_GETODELAY
Cameron Grant [Sat, 19 Aug 2000 18:29:46 +0000 (18:29 +0000)]
fix SNDCTL_DSP_GETODELAY

PR: kern/20340
Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp>

24 years agodon't complain about bad irqs if using a shared irq
Cameron Grant [Sat, 19 Aug 2000 18:22:20 +0000 (18:22 +0000)]
don't complain about bad irqs if using a shared irq

24 years agoRecognize ESS 1888 in Dell Latitude XPi
Cameron Grant [Sat, 19 Aug 2000 18:17:15 +0000 (18:17 +0000)]
Recognize ESS 1888 in Dell Latitude XPi

PR: kern/18714
Submitted by: Sean O'Connell <sean@stat.Duke.EDU>

24 years agoFix the arguments to [(1) (AKA test(1)). If the string being tested
Mark Murray [Sat, 19 Aug 2000 12:28:23 +0000 (12:28 +0000)]
Fix the arguments to [(1) (AKA test(1)). If the string being tested
by -n is nonexistant, then the following -d was misinterpreted with
a strange error. By putting double quotes (") around the argument,
we can be sure there is _something_ there that we can check a zero
length against.

24 years agoSilence -Wall; main()'s second argument was "unsigned char **",
Mark Murray [Sat, 19 Aug 2000 11:45:18 +0000 (11:45 +0000)]
Silence -Wall; main()'s second argument was "unsigned char **",
and this had filtered down into too many other places.

24 years agoDisabled serial console.
Yoshihiro Takahashi [Sat, 19 Aug 2000 10:19:43 +0000 (10:19 +0000)]
Disabled serial console.

24 years agoReplace the mbuf external reference counting code with something
David Malone [Sat, 19 Aug 2000 08:32:59 +0000 (08:32 +0000)]
Replace the mbuf external reference counting code with something
that should be better.

The old code counted references to mbuf clusters by using the offset
of the cluster from the start of memory allocated for mbufs and
clusters as an index into an array of chars, which did the reference
counting. If the external storage was not a cluster then reference
counting had to be done by the code using that external storage.

NetBSD's system of linked lists of mbufs was cosidered, but Alfred
felt it would have locking issues when the kernel was made more
SMP friendly.

The system implimented uses a pool of unions to track external
storage. The union contains an int for counting the references and
a pointer for forming a free list. The reference counts are
incremented and decremented atomically and so should be SMP friendly.
This system can track reference counts for any sort of external
storage.

Access to the reference counting stuff is now through macros defined
in mbuf.h, so it should be easier to make changes to the system in
the future.

The possibility of storing the reference count in one of the
referencing mbufs was considered, but was rejected 'cos it would
often leave extra mbufs allocated. Storing the reference count in
the cluster was also considered, but because the external storage
may not be a cluster this isn't an option.

The size of the pool of reference counters is available in the
stats provided by "netstat -m".

PR: 19866
Submitted by: Bosko Milekic <bmilekic@dsuper.net>
Reviewed by: alfred (glanced at by others on -net)

24 years agoCall bus_generic_detach on pcic before deleting the children. This
Warner Losh [Sat, 19 Aug 2000 05:01:07 +0000 (05:01 +0000)]
Call bus_generic_detach on pcic before deleting the children.  This
has the side effect of detaching the children before I delete them.
When I put the last commits in a loop for loop it died after 5 or so
iterations.  After this change, I lasted 50 before I stopped the test.

24 years agoRemove pcic_isa_identify. I don't think it is needed.
Warner Losh [Sat, 19 Aug 2000 04:47:09 +0000 (04:47 +0000)]
Remove pcic_isa_identify.  I don't think it is needed.
Add pcic_detach which removes all of the pcic's children.

This lets me load/unload pcic multiple times w/o having multiple
instances of each slot attached to pcic.

24 years agoIncrease the default NAPIC from 1 to 2 as a bandaid until we allocate
Mike Smith [Fri, 18 Aug 2000 20:09:15 +0000 (20:09 +0000)]
Increase the default NAPIC from 1 to 2 as a bandaid until we allocate
these dynamically (ie. typically you shouldn't have to set NAPIC at all)

24 years agoRemove gratuitous free() call when we use special .SHELL target.
Ruslan Ermilov [Fri, 18 Aug 2000 10:41:37 +0000 (10:41 +0000)]
Remove gratuitous free() call when we use special .SHELL target.

24 years agoRemove an unwanted space from the "Shutting down daemon processes"
Sheldon Hearn [Fri, 18 Aug 2000 10:34:11 +0000 (10:34 +0000)]
Remove an unwanted space from the "Shutting down daemon processes"
message.

PR: 20692
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

24 years agoIntroduce vop_stdinactive() and make it the default if no vop_inactive
Poul-Henning Kamp [Fri, 18 Aug 2000 10:01:02 +0000 (10:01 +0000)]
Introduce vop_stdinactive() and make it the default if no vop_inactive
is declared.

Sort and prune a few vop_op[].

24 years agoFix bug in rev 1.54; the terminating `;;' for the ibcs2_enable=YES
Sheldon Hearn [Fri, 18 Aug 2000 09:43:18 +0000 (09:43 +0000)]
Fix bug in rev 1.54; the terminating `;;' for the ibcs2_enable=YES
case got lost.

24 years agoDocument ibcs2_loaders and provide a default for it in
Sheldon Hearn [Fri, 18 Aug 2000 09:37:50 +0000 (09:37 +0000)]
Document ibcs2_loaders and provide a default for it in
etc/defaults/rc.conf .

24 years agoMerged from sys/i386/i386/machdep.c revision 1.402.
KATO Takenori [Fri, 18 Aug 2000 09:22:01 +0000 (09:22 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.402.

24 years ago(forced commit)
Sheldon Hearn [Fri, 18 Aug 2000 08:53:26 +0000 (08:53 +0000)]
(forced commit)

The previous change should have been attributed to:

PR: 20692
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

24 years agoThe output of this script got a little broken in rev 1.225, with
Sheldon Hearn [Fri, 18 Aug 2000 08:11:23 +0000 (08:11 +0000)]
The output of this script got a little broken in rev 1.225, with
the output for the linux_enable and svr4_enable stuff "floating
in the middle of nowhere".

Give them their own section, called "additional ABI support".

24 years agoDon't rely on a shell scripts to do the simple job of loading
Sheldon Hearn [Fri, 18 Aug 2000 08:07:02 +0000 (08:07 +0000)]
Don't rely on a shell scripts to do the simple job of loading
kernel modules for ibcs2_enable and svr4_enable.

Don't rely on a shell script to do the neglibly less simple
job of loading a kernel module and running one command for
linux_enable.

These shell scripts are going away.

24 years agoThe slip driver used to allocate a mbuf cluster without attaching
David Malone [Fri, 18 Aug 2000 08:02:31 +0000 (08:02 +0000)]
The slip driver used to allocate a mbuf cluster without attaching
it to a mbuf. This patch makes it attach it to mbuf.  This patch
is in preperation for Bosko Milekic's mbuf external reference
counting patches.

PR: 19866 (first stage)
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by: alfred

24 years agoFix the urio and ugen devices (I meant unit2minor, not minor2unit)
Brian Somers [Fri, 18 Aug 2000 07:01:19 +0000 (07:01 +0000)]
Fix the urio and ugen devices (I meant unit2minor, not minor2unit)

Problem pointed out by: markm

24 years agoAdd a PPP_NOSUID hook
Brian Somers [Fri, 18 Aug 2000 00:09:46 +0000 (00:09 +0000)]
Add a PPP_NOSUID hook

24 years agoMake -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUID
Brian Somers [Fri, 18 Aug 2000 00:01:44 +0000 (00:01 +0000)]
Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUID
capabilities.

24 years agoWarn that the ``alias'' command is depricated.
Brian Somers [Fri, 18 Aug 2000 00:01:30 +0000 (00:01 +0000)]
Warn that the ``alias'' command is depricated.
We still process it for now though.

24 years ago(forced commit: previous commit message was truncated)
Archie Cobbs [Thu, 17 Aug 2000 23:51:47 +0000 (23:51 +0000)]
(forced commit: previous commit message was truncated)

Fix two bugs:

- The ftpPassive() function seemed to think that the PASV command
  is a toggle. This is not true (however, the ftp(1) "pass" command
  is indeed a toggle). So no need to emit a "PASV" command each time
  this function is called; that's handled by ftp_file_op().

- check_passive() is supposed to check if FTP_PASSIVE_MODE is defined,
  and if so, override ftpPassive(). However, it was overriding
  ftpPassive() even if FTP_PASSIVE_MODE was not defined, rendering
  calls to the ftpPassive() function completely ineffectual.

Also, clarify the relationship between ftpPassive() and the
FTP_PASSIVE_MODE environment variable in the man page.

24 years agoFix two bugs:
Archie Cobbs [Thu, 17 Aug 2000 23:46:13 +0000 (23:46 +0000)]
Fix two bugs:
- The ftpPassive()

24 years agoAllow people to set the default boot slice with boot0cfg.
David Malone [Thu, 17 Aug 2000 18:42:13 +0000 (18:42 +0000)]
Allow people to set the default boot slice with boot0cfg.

PR: 18923
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by: jhb
Approved by: rnordier

24 years agoRemove the warning about recording on the Solo. The workarounds appear
Nick Sayer [Thu, 17 Aug 2000 18:30:59 +0000 (18:30 +0000)]
Remove the warning about recording on the Solo. The workarounds appear
to clear up the hwptr problems.

24 years agoRemove extraneous arguments to the Os (operating system) and Nm
Sheldon Hearn [Thu, 17 Aug 2000 16:57:31 +0000 (16:57 +0000)]
Remove extraneous arguments to the Os (operating system) and Nm
(name) macros.

Do not terminate the cross-reference list in the SEE ALSO section
with a period.

24 years agoImplement the GDB counterpart to use hardware watchpoints in connection
Joerg Wunsch [Thu, 17 Aug 2000 16:27:26 +0000 (16:27 +0000)]
Implement the GDB counterpart to use hardware watchpoints in connection
with Brian's kernel support for i386 debug registers.  This makes
watchpoints actually usable for real-life problems.  Note: you can
only set watchpoints on 1-, 2- or 4-byte locations, gdb automatically
falls back to [sloooow] software watchpoints when attempting to use
them on variables which don't fit into this category.  To circumvent
this, one can use the following hack:

watch *(int *)0x<some address>

David O'Brien is IMHO considering to get this fully integrated into the
official GDB, but as long as we've got the i386/* files sitting around
in our private FreeBSD tree here, the feature can now be tested more
extensively, so i'm committing this for the time being.

This work has been done in order to debug a tix toolkit problem, thus
it has been sponsored by teh Deutsche Post AG.

Reviewed by: bsd (not the operating system, but Brian :-)

24 years agoFix style bugs and poor wording introduced in rev 1.12.
Sheldon Hearn [Thu, 17 Aug 2000 16:09:27 +0000 (16:09 +0000)]
Fix style bugs and poor wording introduced in rev 1.12.

Submitted by: bde

24 years agoFix style bugs and inconsistencies introduced in rev 1.16.
Sheldon Hearn [Thu, 17 Aug 2000 16:08:06 +0000 (16:08 +0000)]
Fix style bugs and inconsistencies introduced in rev 1.16.

Submitted by: bde

24 years agoThe previous delta was wrong; an empty MAKEOBJDIRPREFIX should
Sheldon Hearn [Thu, 17 Aug 2000 14:41:48 +0000 (14:41 +0000)]
The previous delta was wrong; an empty MAKEOBJDIRPREFIX should
cause the working directory to be used.  Make it so.

When we're more convinced that it'll work, we might try this
to avoid a shell invocation:

.if defined(MAKEOBJDIRPREFIX) && !empty(MAKEOBJDIRPREFIX) &&
    exists(${CANONICALOBJDIR}/)

Reported by: bde

24 years agoUse an MRU of 1504 with 1500 byte MRRUs
Brian Somers [Thu, 17 Aug 2000 14:40:42 +0000 (14:40 +0000)]
Use an MRU of 1504 with 1500 byte MRRUs

24 years agoMake this file look prettier
Brian Somers [Thu, 17 Aug 2000 14:39:24 +0000 (14:39 +0000)]
Make this file look prettier
Bump the MRU by 4 bytes to make room for the MP header
Down the autoload threshold to a practical value
Don't specify the ISDN bandwidth as 65536 (ahem!)
Don't specifiy a carrier period (the default of 6 seconds is fine)

24 years agoDon't let an illegal value for dr7 get set, which can lead to an
Brian S. Dean [Thu, 17 Aug 2000 14:35:23 +0000 (14:35 +0000)]
Don't let an illegal value for dr7 get set, which can lead to an
unexpected TRCTRAP.

Reported by: John W. De Boskey <jwd@FreeBSD.org>

24 years agoIf we're in MP mode with a single open link, MP link level compression
Brian Somers [Thu, 17 Aug 2000 14:14:54 +0000 (14:14 +0000)]
If we're in MP mode with a single open link, MP link level compression
isn't open and the links MRU >= our MRRU, send outbound traffic as
PROTO_IP rather than PROTO_MP.  This shaves some bytes off the front
of each packet 'till the second link is brought up.

Idea obtained from: Cisco

24 years agoDon't set an arbitrary limit on username lengths; use MAXLOGNAME
Sheldon Hearn [Thu, 17 Aug 2000 12:31:17 +0000 (12:31 +0000)]
Don't set an arbitrary limit on username lengths; use MAXLOGNAME
instead.

PR: 20675
Submitted by: Vladimir B Grebenschikov <vova@express.ru>

24 years ago- Fixed the conversion to bus_space interface.
Yoshihiro Takahashi [Thu, 17 Aug 2000 12:15:45 +0000 (12:15 +0000)]
- Fixed the conversion to bus_space interface.
- Added PC-98 Cbus devices support.
  The original patch is submitted by chi@bd.mbn.or.jp (Chiharu Shibata)
- Removed old ed driver.

24 years agoAllow a /etc/finger.conf file that contains finger aliases
Brian Somers [Thu, 17 Aug 2000 10:59:17 +0000 (10:59 +0000)]
Allow a /etc/finger.conf file that contains finger aliases
This allows people who's email address differs from their account name
to be fingerable.

Submitted by: Mark Knight <markk@knigma.org>

24 years agoClear extraneous arguments to the name (Nm) macro.
Sheldon Hearn [Thu, 17 Aug 2000 08:17:16 +0000 (08:17 +0000)]
Clear extraneous arguments to the name (Nm) macro.
Mark PRISON_ROOT and EPERM as defined values (Dv).

24 years agoRevert gratuitous whitespace changes from revisions 1.111 and 1.112.
John Baldwin [Thu, 17 Aug 2000 07:51:48 +0000 (07:51 +0000)]
Revert gratuitous whitespace changes from revisions 1.111 and 1.112.

24 years agoMention that basic network options now include firewall/security options as
John Baldwin [Thu, 17 Aug 2000 06:04:13 +0000 (06:04 +0000)]
Mention that basic network options now include firewall/security options as
well.

24 years agoAdd support for loading this as a module (before there were some
Warner Losh [Thu, 17 Aug 2000 05:52:18 +0000 (05:52 +0000)]
Add support for loading this as a module (before there were some
problems).  Also pick an irq if one isn't specified.  Ditto for
memory.

Add additional printfs in the error paths.  These will disappear in time.

There are still some panics, but this is a good checkpoint.

24 years agoAdd in a hack that installs 'src/sys/${MACHINE_ARCH}/GENERIC.hints' as
John Baldwin [Thu, 17 Aug 2000 05:43:41 +0000 (05:43 +0000)]
Add in a hack that installs 'src/sys/${MACHINE_ARCH}/GENERIC.hints' as
/boot/device.hints in the bin dist during releases so that current snapshots
have a chance of booting up ok after installing.  The real fix for this
problem is to rewrite userconfig in Forth, stick it in the loader, axe
userconfig from the kernel, and extract the hints from the booted kernel in
sysinstall similar to the way we generate /boot/kernel.conf right now.  For
now, however, this will have to do.

24 years agoFix style bugs (including ones introduced from OpenBSD).
Brian Feldman [Wed, 16 Aug 2000 23:37:16 +0000 (23:37 +0000)]
Fix style bugs (including ones introduced from OpenBSD).

24 years agoAllow use of the ${MAKE_SHELL} variable to specify alternate shells for
Brian Feldman [Wed, 16 Aug 2000 23:31:43 +0000 (23:31 +0000)]
Allow use of the ${MAKE_SHELL} variable to specify alternate shells for
make(1) to use.  Setting it to "sh" and "ksh" are the only values which
work right ATM; I wouldn't expect "csh" to get you far ;)

24 years agoFix a couple cases where p_trespass wasn't transitioned into place.
Brian Feldman [Wed, 16 Aug 2000 23:28:54 +0000 (23:28 +0000)]
Fix a couple cases where p_trespass wasn't transitioned into place.

Make RTP_SET (rtprio) only accessible to real root, not root in jails.

24 years agoFix a whitespace bogon.
John Baldwin [Wed, 16 Aug 2000 23:08:28 +0000 (23:08 +0000)]
Fix a whitespace bogon.

24 years agoPrepare for a cleanup of pmap module API pollution introduced by the
Tor Egge [Wed, 16 Aug 2000 21:24:44 +0000 (21:24 +0000)]
Prepare for a cleanup of pmap module API pollution introduced by the
suggested fix in PR 12378.

Keep track of all existing pmaps independent of existing processes.

This allows for a process to temporarily connect to a different address
space without the risk of missing an update of the original address space if
the kernel grows.

pmap_pinit2() is no longer needed on the i386 platform but is left as a
stub until the alpha pmap code is updated.

PR: 12378

24 years agoMention more functions in the headers so whatis(1) can find them, and
Mark Murray [Wed, 16 Aug 2000 19:53:38 +0000 (19:53 +0000)]
Mention more functions in the headers so whatis(1) can find them, and
create links to functions so added found.

24 years agoGrammar police; make the English style more consistent throughout,
Mark Murray [Wed, 16 Aug 2000 19:52:03 +0000 (19:52 +0000)]
Grammar police; make the English style more consistent throughout,
and give suser_xxx some more airtime.

24 years agoAdd in the linux, tcl83, and tk83 ports categories.
John Baldwin [Wed, 16 Aug 2000 18:44:40 +0000 (18:44 +0000)]
Add in the linux, tcl83, and tk83 ports categories.

PR: bin/20328
Submitted by: obrien

24 years agoAdd new 'ruby' ports category.
John Baldwin [Wed, 16 Aug 2000 17:44:35 +0000 (17:44 +0000)]
Add new 'ruby' ports category.

PR: conf/20629
Submitted by: asami

24 years agoAdd unit2minor() and use it where appropriate so that we handle
Brian Somers [Wed, 16 Aug 2000 16:42:50 +0000 (16:42 +0000)]
Add unit2minor() and use it where appropriate so that we handle
units > 255 properly.

Fix usio while I'm there

24 years agoRemove unnecessary extern definition of strrchr. It is defined in
Warner Losh [Wed, 16 Aug 2000 16:39:42 +0000 (16:39 +0000)]
Remove unnecessary extern definition of strrchr.  It is defined in
string.h, which already was included.

24 years agoAdd cross reference to the ast device.
Warner Losh [Wed, 16 Aug 2000 16:38:47 +0000 (16:38 +0000)]
Add cross reference to the ast device.
Remove reference to the now defunct wt device.

24 years agooptreset is declared in unistd.h, so we don't need to declare it here again.
Warner Losh [Wed, 16 Aug 2000 15:36:14 +0000 (15:36 +0000)]
optreset is declared in unistd.h, so we don't need to declare it here again.

Reviews by: ken

24 years agoDo not allow the cleandir target to blow away the entire source
Sheldon Hearn [Wed, 16 Aug 2000 14:58:42 +0000 (14:58 +0000)]
Do not allow the cleandir target to blow away the entire source
directory when MAKEOBJDIRPREFIX is defined but empty.

Reported by: Vernon Schryver <vjs@calcite.rhyolite.com>

24 years agobackout previous change for now
Darren Reed [Wed, 16 Aug 2000 13:59:50 +0000 (13:59 +0000)]
backout previous change for now

24 years agoadd extern for inetsw
Darren Reed [Wed, 16 Aug 2000 13:54:56 +0000 (13:54 +0000)]
add extern for inetsw

24 years agoISDN B channels have a bandwidth of 64000, not 65536
Brian Somers [Wed, 16 Aug 2000 13:54:04 +0000 (13:54 +0000)]
ISDN B channels have a bandwidth of 64000, not 65536

Pointed out by: Christian Weisgerber <naddy@mips.inka.de>

24 years agoDisable part of my 8-bits fixes from December 1999.
Martin Cracauer [Wed, 16 Aug 2000 12:23:57 +0000 (12:23 +0000)]
Disable part of my 8-bits fixes from December 1999.

Serious fix still needed, see discussion on -current
(Subject: /bin/sh dumps core with here-document of 8bit text)

Problem in this code originally spotted by
Jun Kuriyama <kuriyama@FreeBSD.org>

24 years agoFix type builtin for absolute paths and relative paths with directory
Martin Cracauer [Wed, 16 Aug 2000 12:08:02 +0000 (12:08 +0000)]
Fix type builtin for absolute paths and relative paths with directory
names in them.

Also use a colon in the answer of `type` everytime the questioned item
is not usable.

PR: bin/20567

24 years agoIf the -p option is used, use setproctitle() to hide it's argument
Brian Somers [Wed, 16 Aug 2000 12:01:17 +0000 (12:01 +0000)]
If the -p option is used, use setproctitle() to hide it's argument
(a password) asap.

24 years agoFrom submitter:
Martin Cracauer [Wed, 16 Aug 2000 10:39:43 +0000 (10:39 +0000)]
From submitter:
growstackblock() sometimes relocates a stack_block considered empty
without properly relocating stack marks referencing that block.
The first call to popstackmark() with the unrelocated stack mark
as argument then causes sh to abort.

Relocating the relevant stack marks seems to solve this problem.

The patch changes the semantics of popstackmark() somewhat.  It can
only be called once after a call to setstackmark(), thus cmdloop() in
main.c needs an extra call to setstackmark().

PR: bin/19983
Submitted by: Tor.Egge@fast.no
Reviewed by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>

24 years agoadd missing splx(), when outgoing interface queue is full on tunnelled
Jun-ichiro itojun Hagino [Wed, 16 Aug 2000 09:56:45 +0000 (09:56 +0000)]
add missing splx(), when outgoing interface queue is full on tunnelled
IPsec packet output.  KAME PR 280.

24 years agoDecrease the size of mfsroot.flp for PC-98 to 1.2MB.
Yoshihiro Takahashi [Wed, 16 Aug 2000 09:30:47 +0000 (09:30 +0000)]
Decrease the size of mfsroot.flp for PC-98 to 1.2MB.

24 years agoFix `control socket: Protocol not supported' failure in
Ruslan Ermilov [Wed, 16 Aug 2000 09:12:33 +0000 (09:12 +0000)]
Fix `control socket: Protocol not supported' failure in
standalone -D mode when neither -4 nor -6 is specified.