]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoFix warnings from `-Wmissing-prototypes'. Staticize.
tg [Fri, 3 Aug 2001 10:47:56 +0000 (10:47 +0000)]
Fix warnings from `-Wmissing-prototypes'. Staticize.

23 years agoSort SRCS.
tg [Fri, 3 Aug 2001 10:47:13 +0000 (10:47 +0000)]
Sort SRCS.

23 years agoReverse the logic here again with regards to "trusted" ACPI timer
msmith [Fri, 3 Aug 2001 09:52:53 +0000 (09:52 +0000)]
Reverse the logic here again with regards to "trusted" ACPI timer
implementations.  More of them seem to be broken, so only "trust"
timers we know work.

23 years agoWarn when a CHAP81 SUCCESS packet is invalid due to an incorrect S= value.
brian [Fri, 3 Aug 2001 09:28:21 +0000 (09:28 +0000)]
Warn when a CHAP81 SUCCESS packet is invalid due to an incorrect S= value.

23 years agoShoud build resources in the _CRS buffer. Oops.
msmith [Fri, 3 Aug 2001 08:38:49 +0000 (08:38 +0000)]
Shoud build resources in the _CRS buffer.  Oops.

Submitted by: "neckpain@nettaxi.com" <neckpain@nettaxi.com>

23 years agoMove the resource pointer when we reallocate the buffer.
msmith [Fri, 3 Aug 2001 08:38:11 +0000 (08:38 +0000)]
Move the resource pointer when we reallocate the buffer.

Submitted by: "neckpain@nettaxi.com" <neckpain@nettaxi.com>

23 years agoRename mb_init() mbuf subsystem initialization routine to mbuf_init(), in
bmilekic [Fri, 3 Aug 2001 05:05:32 +0000 (05:05 +0000)]
Rename mb_init() mbuf subsystem initialization routine to mbuf_init(), in
order to avoid namespace collision with subr_mchain.c's mb_init(). This
wasn't "fatal" as the mbuf initialization routine mb_init() was local to
subr_mbuf.c which in turn didn't pull in subr_mchain.c's mb_init()
declaration, but it should deffinately be changed now before it creates
headache.

23 years agoRemove some code that appears to have endian problems with INVARIANTS.
jake [Fri, 3 Aug 2001 03:31:45 +0000 (03:31 +0000)]
Remove some code that appears to have endian problems with INVARIANTS.
This is #if BIG_ENDIAN, but is only necessary if malloc types are shorts,
not struct malloc_type * like they are now.

23 years agoMove some code related to managing pv entries from the pmap module to
jake [Fri, 3 Aug 2001 01:27:15 +0000 (01:27 +0000)]
Move some code related to managing pv entries from the pmap module to
the pv module.  It works now that vtophys for sttes works.

23 years agoFix a bug translating virtual translation table entry addresses to physical
jake [Fri, 3 Aug 2001 01:21:24 +0000 (01:21 +0000)]
Fix a bug translating virtual translation table entry addresses to physical
addresses.  It helps to use the physical address that the virtual address
actually maps to (doh!).  Comment out some code that crashes.

Found independently by: tmm

23 years agoDefine proc0paddr. Call init_param() as early as possible.
jake [Fri, 3 Aug 2001 01:11:49 +0000 (01:11 +0000)]
Define proc0paddr.  Call init_param() as early as possible.

23 years agoAdd a Makefile, ldscript, and config magic for sparc64. This is tailored
jake [Fri, 3 Aug 2001 01:09:10 +0000 (01:09 +0000)]
Add a Makefile, ldscript, and config magic for sparc64.  This is tailored
to build with a cross compiler alongside the standard compiler; it would be
more desirable to build in a chroot.

23 years agoAdd an Elfhashelt type for sparc64.
jake [Fri, 3 Aug 2001 01:00:41 +0000 (01:00 +0000)]
Add an Elfhashelt type for sparc64.

23 years agoReformat for 80 columns. Sorry, but I had to do it.
scottl [Fri, 3 Aug 2001 00:50:30 +0000 (00:50 +0000)]
Reformat for 80 columns.  Sorry, but I had to do it.

23 years agoFixes file descriptor leak in standalone mode.
jon [Fri, 3 Aug 2001 00:23:37 +0000 (00:23 +0000)]
Fixes file descriptor leak in standalone mode.
Prevents simultaneous calls to updatestat() as function is not reentrant.

PR: bin/24857
Submitted by: Martin Butkus <mb@bagheera.thgwf.de>
MFC after: 1 month

23 years agoFurther Makefile.* sync (from Makefile.ia64). The lint target has been
peter [Fri, 3 Aug 2001 00:07:54 +0000 (00:07 +0000)]
Further Makefile.* sync (from Makefile.ia64).  The lint target has been
commented out in the entire life of the 2.x+ branch and given the amount
of gcc-specific code we have and the warning checks that gcc does I'm not
sure that it is going to get us much for some time.

23 years agoMove MKMODULESENV+= *after* MKMODULESENV=
peter [Fri, 3 Aug 2001 00:01:13 +0000 (00:01 +0000)]
Move MKMODULESENV+= *after* MKMODULESENV=

23 years agoAdd a cosmetic comment.
peter [Thu, 2 Aug 2001 23:54:23 +0000 (23:54 +0000)]
Add a cosmetic comment.

23 years agoUse 'p' instead of the potentially more expensive 'curproc' inside of
jhb [Thu, 2 Aug 2001 22:15:31 +0000 (22:15 +0000)]
Use 'p' instead of the potentially more expensive 'curproc' inside of
mi_switch().

23 years agoSet up the via_chinfo structures properly so we write to the correct
greid [Thu, 2 Aug 2001 22:13:10 +0000 (22:13 +0000)]
Set up the via_chinfo structures properly so we write to the correct
registers later on; this fixes the VIA82C686 sound problems recently
reported by a number of people.

23 years agoFix a few bugs, some of which I introduced in recent commits:
iedowse [Thu, 2 Aug 2001 21:46:21 +0000 (21:46 +0000)]
Fix a few bugs, some of which I introduced in recent commits:
- clean_mtab():
    Actually use the strdup'd version of the host that we go to the
    trouble of creating.
- do_umntall/do_umount:
    Don't return success if clnt_create() fails.
    Don't access a client pointer after it has been destroyed.
    Remember to destroy the authentication information we created.

23 years agoIn getclnthandle(), if the address is found in the cache we need
iedowse [Thu, 2 Aug 2001 21:31:21 +0000 (21:31 +0000)]
In getclnthandle(), if the address is found in the cache we need
to strdup() the address string before returning it via *targaddr
because the caller will free the string.

Change the comment at the top of getclnthandle() to clarify that
the caller is responsible for freeing *targaddr.

Noticed by: sobomax

23 years agoMake the fmt arguments to make_dev and make_dev_alias const char *.
imp [Thu, 2 Aug 2001 20:35:35 +0000 (20:35 +0000)]
Make the fmt arguments to make_dev and make_dev_alias const char *.

Approved on IRC as long as it didn't cause a large number of warnings by: phk

MFC After: 700 hours

23 years agoThe wrong-last-byte bug on win98 chap responses is also in winME
brian [Thu, 2 Aug 2001 20:12:48 +0000 (20:12 +0000)]
The wrong-last-byte bug on win98 chap responses is also in winME

23 years agofix memory leak when error during opening of routing socket
jon [Thu, 2 Aug 2001 19:56:29 +0000 (19:56 +0000)]
fix memory leak when error during opening of routing socket

PR: kern/29336
Submitted by: Richard Andrades <richard@xebeo.com>
MFC after: 1 month

23 years agoWith the S/KEY removal, this is no longer buildable or necessary.
markm [Thu, 2 Aug 2001 19:04:20 +0000 (19:04 +0000)]
With the S/KEY removal, this is no longer buildable or necessary.

23 years agoDon't try to make pam_ssh module if NO_OPENSSH is set.
markm [Thu, 2 Aug 2001 19:01:02 +0000 (19:01 +0000)]
Don't try to make pam_ssh module if NO_OPENSSH is set.

23 years agoAdd opieaccess(5) functionality under the INSECURE_OPIE .ifdef.
markm [Thu, 2 Aug 2001 18:58:52 +0000 (18:58 +0000)]
Add opieaccess(5) functionality under the INSECURE_OPIE .ifdef.

Asked for by: ache

23 years agoexists(../../crypto) --> exists(${.CURDIR}/../../crypto)
sobomax [Thu, 2 Aug 2001 18:21:48 +0000 (18:21 +0000)]
exists(../../crypto) --> exists(${.CURDIR}/../../crypto)

MFC after: 1 month

23 years agofix for pkg_add to symlinked prefix directories that are more than 1 link deep.
jon [Thu, 2 Aug 2001 18:20:27 +0000 (18:20 +0000)]
fix for pkg_add to symlinked prefix directories that are more than 1 link deep.

PR: bin/28274
Submitted by: John Hein <jhein@timing.com>
MFC after: 1 month

23 years agoAllow configTtys() be called several times - set VAR_CONSTERM to "NO" after
ache [Thu, 2 Aug 2001 16:36:21 +0000 (16:36 +0000)]
Allow configTtys() be called several times - set VAR_CONSTERM to "NO" after
operation done.

23 years agoFix a cryptoless world by disconnecting libmp from the build when there is no
sobomax [Thu, 2 Aug 2001 15:47:03 +0000 (15:47 +0000)]
Fix a cryptoless world by disconnecting libmp from the build when there is no
crypto bits installed and/or NOCRYPTO/NO_OPENSSL is defined. This unfortunately
meants that usr.bin/chkey, usr.bin/newkey and usr.sbin/keyserv have also to
be disconnected.

IMO it is merely a workaround, the proper solution is to move libmp to
src/crypto where it belongs and use libgmp for the cryptoless builds instead.

Missed by: dd

23 years agoInclude opt_splash.h.
yokota [Thu, 2 Aug 2001 13:23:17 +0000 (13:23 +0000)]
Include opt_splash.h.

23 years agoUse #ifdef DEV_SPLASH (from opt_splash.h) rather than
yokota [Thu, 2 Aug 2001 13:22:33 +0000 (13:22 +0000)]
Use #ifdef DEV_SPLASH (from opt_splash.h) rather than
#if NSPLASH > 0 (from splash.h) to test the presence
of the splash driver.

23 years agoCosmetics: replace dozen instances of "(tmp = getenv(PKG_DBDIR) ? tmp : DEF_LOG_DIR)"
sobomax [Thu, 2 Aug 2001 13:13:06 +0000 (13:13 +0000)]
Cosmetics: replace dozen instances of "(tmp = getenv(PKG_DBDIR) ? tmp : DEF_LOG_DIR)"
with macro.

MFC after: 1 month

23 years agoCosmetics: kill blank lines at the end of file.
sobomax [Thu, 2 Aug 2001 13:08:43 +0000 (13:08 +0000)]
Cosmetics: kill blank lines at the end of file.

MFC after: 1 month

23 years agoRemove duplicate ufsd entry. This seems to go back to the Sun's version
dwmalone [Thu, 2 Aug 2001 12:55:37 +0000 (12:55 +0000)]
Remove duplicate ufsd entry. This seems to go back to the Sun's version
of the file.

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

23 years agoUsability tweak:
sobomax [Thu, 2 Aug 2001 12:38:29 +0000 (12:38 +0000)]
Usability tweak:

  Use '' quotes instead of `' to delimit names of files and packages in
  warning and error messages, because it is easier to cut-n-paste name in
  question that way (single click) without confusing the shell. And yes,
  I know that it is less eye-candy...

MFC after: 1 month

23 years agoDocument the deprecated `-w' option in the COMPATIBILITY section.
yar [Thu, 2 Aug 2001 12:38:23 +0000 (12:38 +0000)]
Document the deprecated `-w' option in the COMPATIBILITY section.

23 years agoWhen there is a file that can't be deleted due to checksum mismatch print name
sobomax [Thu, 2 Aug 2001 12:19:32 +0000 (12:19 +0000)]
When there is a file that can't be deleted due to checksum mismatch print name
of that file to stdout to simplify debugging. IMO it was a mistake to print
this warning only when `verbose' mode is on.

MFC after: 1 month

23 years agoWhen talking about new versions, use the word "updated" instead of
dd [Thu, 2 Aug 2001 12:16:17 +0000 (12:16 +0000)]
When talking about new versions, use the word "updated" instead of
"upgraded" for consistency.  Prior to this commit, 9 of the entires
used the latter, and 51 used the former.

23 years agoNote MFC or Binutils 2.11.2 (what we have is close enough to that
dd [Thu, 2 Aug 2001 12:08:10 +0000 (12:08 +0000)]
Note MFC or Binutils 2.11.2 (what we have is close enough to that
version that there's no need to talk about the snapshot business; all
it would do is serve to confuse).

23 years agoAdd FBIO_BLANK ioctl support. Return ENODEV for yet-to-be-
yokota [Thu, 2 Aug 2001 11:26:30 +0000 (11:26 +0000)]
Add FBIO_BLANK ioctl support.  Return ENODEV for yet-to-be-
supported ioctls for now.

23 years agoAdd some definitions. Their actual support will be added
yokota [Thu, 2 Aug 2001 11:17:38 +0000 (11:17 +0000)]
Add some definitions. Their actual support will be added
to video drivers later.

23 years agoWhen building a debugging kernel with modules, build modules with
sheldonh [Thu, 2 Aug 2001 10:56:59 +0000 (10:56 +0000)]
When building a debugging kernel with modules, build modules with
debugging support as well.

This relies on support added in rev 1.105 to kmod.mk.

Requested by: peter

23 years agoRepair the get/set UID() stuff so this works in both su(1) and login(1)
markm [Thu, 2 Aug 2001 10:35:41 +0000 (10:35 +0000)]
Repair the get/set UID() stuff so this works in both su(1) and login(1)
modes.

23 years ago- Deny detaching requests until device is still open, otherwise it is possible
sobomax [Thu, 2 Aug 2001 10:19:13 +0000 (10:19 +0000)]
- Deny detaching requests until device is still open, otherwise it is possible
  to hang or panic kernel by detaching disk from which fs is mounted;
- replace "md" with MD_NAME in yet another place.

Reviewed by: phk
Approved by: phk

23 years agoAdd a ``nat punch_fw'' command for punching FTP and IRC DCC holes through
brian [Thu, 2 Aug 2001 10:16:32 +0000 (10:16 +0000)]
Add a ``nat punch_fw'' command for punching FTP and IRC DCC holes through
the firewall.

23 years agoPack struct uniqtag declarations to stop our data field from being pushed
brian [Thu, 2 Aug 2001 09:28:31 +0000 (09:28 +0000)]
Pack struct uniqtag declarations to stop our data field from being pushed
4 bytes to the right on the alpha.

Tested by: Thomas Pornin <Thomas.Pornin@ens.fr>
MFC after: 1 week

23 years agoWhen building a debugging kernel with modules, build modules with
sheldonh [Thu, 2 Aug 2001 09:22:18 +0000 (09:22 +0000)]
When building a debugging kernel with modules, build modules with
debugging support as well.  Debugging module support is handled
identically to kernel debugging support, right down to poor
choice of make variable names.

23 years agoRefine cursor type/shape control escape sequences and
yokota [Thu, 2 Aug 2001 08:30:40 +0000 (08:30 +0000)]
Refine cursor type/shape control escape sequences and
ioctls. We can now add ve, vi and vs capabilities to
cons25 in termcap.

Discussed with and tested by: ache

23 years agoFixups for the initial allocation by dillon:
alfred [Thu, 2 Aug 2001 07:54:58 +0000 (07:54 +0000)]
Fixups for the initial allocation by dillon:
  1) allocate fewer buckets
  2) when failing to allocate swap zone, keep reducing the zone by
     a third rather than a half in order to reduce the chance of
     allocating way too little.

I also moved around some code for readability.

Suggested by: dillon
Reviewed by: dillon

23 years agoOnly try to allocated properly aligned I/O segments. This should stop
imp [Thu, 2 Aug 2001 07:06:32 +0000 (07:06 +0000)]
Only try to allocated properly aligned I/O segments.  This should stop
some of the config problems that we've been seeing (where wi0 tries to
allocate 0x138-0x198, for example).

Use err(1,"foo") rather than perror + exit while I'm here.

23 years agoFix thinko: FORCE_PKG_RESIDENT -> FORCE_PKG_REGISTER
greid [Thu, 2 Aug 2001 04:25:06 +0000 (04:25 +0000)]
Fix thinko: FORCE_PKG_RESIDENT -> FORCE_PKG_REGISTER

Submitted by: Raymond Kohler <ray.kohler@mail.com>

23 years agoAdd the ability to modify /etc/ttys before first reboot during the
rwatson [Thu, 2 Aug 2001 03:53:36 +0000 (03:53 +0000)]
Add the ability to modify /etc/ttys before first reboot during the
system installation process.  This allows users installing via serial
console to enable serial console login during the installation
process using an un-customized install.  The user is not prompted to
modify /etc/ttys during a normal install, but is offered the
opportunity during post-install configuration.

- Introduce configTTYs(), which describes the benefits of editing
  /etc/ttys, and asks for confirmation before spawning the editor.
- add configTTYs to the post-install configuration, as well as to
  the global configuration index.

23 years agoCompensate for default disabling of network services in inetd.conf(5)
rwatson [Thu, 2 Aug 2001 03:25:16 +0000 (03:25 +0000)]
Compensate for default disabling of network services in inetd.conf(5)
by providing the opportunity to edit inetd.conf during the system
installation process.  The following modifications were made:

(1) Expand the Anonymous FTP description dialog to indicate that inetd
    and ftpd must be enabled before it can be used.

(2) Introduce a new configInetd() pair of dialogs, the first describing
    inetd, giving a couple of examples of services that require it, and
    hinting at potential risk, then asking the user if they wish to
    enable it.  The second indicates that inetd.conf must be configured
    to enabled specific services, and asks if the user would like to
    load inetd.conf into the editor to modify it.  Add this
    configuration action to the index.

There are some further improvements that might be considered:

(1) Provide a more inetd.conf-specific configuration tool that speaks
    inetd.conf(5).  However, this is made difficult by the "yet another
    configuration format" nature of inetd.conf, as well as its use of
    commenting to disable services, rather than an in-syntax way to
    disable a service without commenting it out.  Submissions here
    would probably be welcome.

(2) There's some overlap between settings in the somewhat obtuse
    Security Profile mechanism and other settings, including the inetd
    setting, and NFS server configuration.  As features become
    individually tunable, they should probably be removed from the
    security profile mechanism.  Otherwise, somewhat counter-intuitively,
    sysinstall (in practice) queries multiple times whether inetd, nfsd,
    etc, should be enabled/disabled.  A possible future direction might
    be to drive profiles not by degree of paranoia, rather, the set
    of services desired.  Or simply to remove the Security Profile
    mechanism and resort to feature-driven configuration.

Reviewed by: imp, chris, jake, nate, -arch, -stable

23 years agoDefault to disabling all inetd.conf entries, in particular, telnetd
rwatson [Thu, 2 Aug 2001 02:19:56 +0000 (02:19 +0000)]
Default to disabling all inetd.conf entries, in particular, telnetd
and ftpd.  This more conservative default reduces the exposure of
freshly installed machines, which is especially valuable for machines
that receive minimal further configuration before being put into
production.  Generally speaking, SSH has superseded the use of both
telnet and ftp in many environments.  In light of recent remotely
exploitable security holes in both telnetd and ftpd, this choice
retains flexibility (both telnetd and ftpd daemons remain installed
and easily enableable) while protecting users who don't need the
additional risk.  This change brings our configuration into line with
the majority of other UNIX vendors, including OpenBSD and NetBSD.

To address the concerns of those requiring remote access via telnet
from first install, changes will shortly be committed to sysinstall
to provide the ability to edit inetd.conf during the installation
process, allowing telnetd and ftp to be re-enabled during the
installation process.

While I'm at it, slightly improve commenting for inetd.conf so that
it's more clear to users how to enable and disable services.
Further commenting to indicate the functions of various columns would
probably also be useful.

Reviewed by: imp, chris, jake, nate, -arch, -stable

23 years agoOops- don't set 'goal' twice when you mean to set 'nvrm' as well.
mjacob [Thu, 2 Aug 2001 00:34:56 +0000 (00:34 +0000)]
Oops- don't set 'goal' twice when you mean to set 'nvrm' as well.
This breaks bogus NVRAM boards.

MFC after: 1 day

23 years agoA good sysadmin always carries around a few feet of fiber. If he ever
kris [Wed, 1 Aug 2001 22:51:09 +0000 (22:51 +0000)]
A good sysadmin always carries around a few feet of fiber. If he ever
gets lost, he simply drops the fiber on the ground, waits ten minutes,
then asks the backhoe operator for directions.
                -- Bill Bradford <mrbill@mrbill.net>

Submitted by: Kris Kirby <kris@catonic.net>

23 years agoRevert part of previous- I misunderstood the use of 'ncpus'- I thought it'd
mjacob [Wed, 1 Aug 2001 20:35:42 +0000 (20:35 +0000)]
Revert part of previous- I misunderstood the use of 'ncpus'- I thought it'd
been hack to keep clocks from being reinitialized.

23 years agoTemporarily back out kern_sig.c rev 1.125 and kern_exit.c rev 1.131.
peter [Wed, 1 Aug 2001 20:35:24 +0000 (20:35 +0000)]
Temporarily back out kern_sig.c rev 1.125 and kern_exit.c rev 1.131.
This paniced my one of my machines one time too many :-( and there is
no sign of a solution in the pipeline.  The deltas are still easily
available in cvs.  The problem is that if the parent has been swapped
out, the child process cannot grope around in the parent's UPAGES to
see the sigact[] array or it will fault.  This probably is a showstopper
for this implementation anyway.

23 years agoFix grammar nit.
dd [Wed, 1 Aug 2001 20:16:12 +0000 (20:16 +0000)]
Fix grammar nit.

23 years agoScratch an itch of long standing by adding entries for the most
dougb [Wed, 1 Aug 2001 20:13:49 +0000 (20:13 +0000)]
Scratch an itch of long standing by adding entries for the most
commonly used x11 ports

23 years agoOops, note MFC of UFS_DIRHASH.
dd [Wed, 1 Aug 2001 20:08:37 +0000 (20:08 +0000)]
Oops, note MFC of UFS_DIRHASH.

23 years agoFix previous commit: actually move the UFS_DIRHAS stuff, not the
dd [Wed, 1 Aug 2001 20:07:51 +0000 (20:07 +0000)]
Fix previous commit: actually move the UFS_DIRHAS stuff, not the
ddb(4) stuff.  I have *no* idea how I managed to screw that up.

23 years agoMove the UFS_DIRHASH paragraph to 'filesystems' and note its MFC.
dd [Wed, 1 Aug 2001 20:05:36 +0000 (20:05 +0000)]
Move the UFS_DIRHASH paragraph to 'filesystems' and note its MFC.

23 years agoNote MFCs: WARNS, GCC_OPTIONS, and GNATS.
dd [Wed, 1 Aug 2001 20:04:19 +0000 (20:04 +0000)]
Note MFCs: WARNS, GCC_OPTIONS, and GNATS.

23 years agoI could have sworn I did this already, but obviously I didn't. So,
dougb [Wed, 1 Aug 2001 19:48:12 +0000 (19:48 +0000)]
I could have sworn I did this already, but obviously I didn't. So,
take another stab at updating the IANA web page.

23 years agoTI cardbus bridges, 12xx and newer, have an interesting register. It
imp [Wed, 1 Aug 2001 19:41:56 +0000 (19:41 +0000)]
TI cardbus bridges, 12xx and newer, have an interesting register.  It
is the diagnostics register at offset 0x93.  When bit 5 is set in this
register, bits 4-7 in ExCA register 0x5 being 0000 are required for
pci interrupt routing.  When it is clear, then bit 4 of ExCA register
0x3 is used to enable it.

The only other issue is that when you route interrupts this way, you
must read ExCA register 0x4 in order to clear the interrupt, else you
get an interrupt storm.

Deal with this requirement by setting things up.  It is believed that
this won't hurt other chipsets, but other chipsets may require their
own work arounds.

23 years agoDon't initialize a clock twice (it's not a function of number of
mjacob [Wed, 1 Aug 2001 19:40:11 +0000 (19:40 +0000)]
Don't initialize a clock twice (it's not a function of number of
cpus).

23 years agoCorrect the version number.
obrien [Wed, 1 Aug 2001 18:35:54 +0000 (18:35 +0000)]
Correct the version number.

23 years agoAdd "use Fcntl" to resolve O_RDWR|O_CREAT|O_EXCL macros used in
ghelmer [Wed, 1 Aug 2001 16:32:36 +0000 (16:32 +0000)]
Add "use Fcntl" to resolve O_RDWR|O_CREAT|O_EXCL macros used in
new sysopen call.

PR: 29366 (in part)

23 years agomdoc(7) police: remove hard sentence breaks.
dd [Wed, 1 Aug 2001 16:07:50 +0000 (16:07 +0000)]
mdoc(7) police: remove hard sentence breaks.

23 years agoInstall the new password file with pwd_mkdb, not the old one.
ghelmer [Wed, 1 Aug 2001 15:27:39 +0000 (15:27 +0000)]
Install the new password file with pwd_mkdb, not the old one.

PR: 29366 (in part)

23 years agoNew release notes: file(1) update.
dd [Wed, 1 Aug 2001 14:22:27 +0000 (14:22 +0000)]
New release notes: file(1) update.

Note MFCs: install(1) cleanup, bzip2 import, libpcap update.

23 years agoMFS: in HISTORY section, fix release number of first appearance
sheldonh [Wed, 1 Aug 2001 12:15:21 +0000 (12:15 +0000)]
MFS: in HISTORY section, fix release number of first appearance

23 years agoFix broken Fn calls; Fn doesn't take a manual page section as an
sheldonh [Wed, 1 Aug 2001 12:04:32 +0000 (12:04 +0000)]
Fix broken Fn calls; Fn doesn't take a manual page section as an
argument.

Terminate the last sentence with a period.

23 years agoDon't wait for a keypress in INT 16 function 01, just return the current
tg [Wed, 1 Aug 2001 11:47:06 +0000 (11:47 +0000)]
Don't wait for a keypress in INT 16 function 01, just return the current
state. This fixes Easytrax.

23 years agoFix a client-side memory leak in nfs_flush(). The code allocates
iedowse [Wed, 1 Aug 2001 10:25:13 +0000 (10:25 +0000)]
Fix a client-side memory leak in nfs_flush(). The code allocates
a temporary array to store struct buf pointers if the list doesn't
fit in a local array. Usually it frees the array when finished,
but if it jumps to the 'again' label and the new list does fit in
the local array then it can forget to free a previously malloc'd
M_TEMP memory.

Move the free() up a line so that it frees any previously allocated
memory whether or not it needs to malloc a new array.

Reviewed by: dillon

23 years agostyle(9)
obrien [Wed, 1 Aug 2001 07:05:51 +0000 (07:05 +0000)]
style(9)

23 years agoUpdate man page to actually match the source.
eric [Wed, 1 Aug 2001 06:23:00 +0000 (06:23 +0000)]
Update man page to actually match the source.

PR: 7456

23 years agoThis is actually making its enterance in FreeBSD 4.4.
obrien [Wed, 1 Aug 2001 05:53:12 +0000 (05:53 +0000)]
This is actually making its enterance in FreeBSD 4.4.

23 years agostyle(9)
obrien [Wed, 1 Aug 2001 05:12:39 +0000 (05:12 +0000)]
style(9)

23 years agoopen_device: Recognize ar device.
grog [Wed, 1 Aug 2001 04:35:28 +0000 (04:35 +0000)]
open_device: Recognize ar device.

Submitted by:  Valery Kotchiev <valery@rudiment.dk>

23 years agoIt appears we really shouldn't be following this example man page -- one
obrien [Wed, 1 Aug 2001 04:27:48 +0000 (04:27 +0000)]
It appears we really shouldn't be following this example man page -- one
should not use a `%' in examples.

I don't know if this is the consensus of doc@, or just a unilateral decision
of committer that corrected my following of this example.  Maybe a docs
person could review these files and see if they still show current guidelines.

23 years agoRevert change to always include _FFR_TLS_O_T as it requires FEATURE(access_db)
gshapiro [Wed, 1 Aug 2001 02:12:39 +0000 (02:12 +0000)]
Revert change to always include _FFR_TLS_O_T as it requires FEATURE(access_db)

Problem found by: nsayer

23 years agoRemove a misplaced space.
obrien [Wed, 1 Aug 2001 02:09:09 +0000 (02:09 +0000)]
Remove a misplaced space.

23 years agoNote the import of sendmail 8.11.5
gshapiro [Wed, 1 Aug 2001 01:40:56 +0000 (01:40 +0000)]
Note the import of sendmail 8.11.5

23 years agoUpdate FreeBSD import information
gshapiro [Wed, 1 Aug 2001 01:36:17 +0000 (01:36 +0000)]
Update FreeBSD import information

23 years agoResolve conflicts from import of sendmail 8.11.5
gshapiro [Wed, 1 Aug 2001 01:34:52 +0000 (01:34 +0000)]
Resolve conflicts from import of sendmail 8.11.5

23 years agoThis commit was generated by cvs2svn to compensate for changes in r80785,
gshapiro [Wed, 1 Aug 2001 01:33:27 +0000 (01:33 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80785,
which included commits to RCS files with non-trunk default branches.

23 years agoImport sendmail 8.11.5
gshapiro [Wed, 1 Aug 2001 01:33:27 +0000 (01:33 +0000)]
Import sendmail 8.11.5

23 years ago Move CPU_ABSENT() macro to smp.h, where it belongs anyway. It will be
bmilekic [Wed, 1 Aug 2001 00:54:00 +0000 (00:54 +0000)]
  Move CPU_ABSENT() macro to smp.h, where it belongs anyway. It will be
defined to 0 in the non-SMP case, which very much makes sense as it
permits its usage in per-CPU initialization loops (for an example, check
out subr_mbuf.c).
  Further, on a UP system, make mb_alloc always use the first per-CPU
container, regardless of cpuid (i.e. remove reliability on cpuid in the
UP case).

Requested by: alfred

23 years agoUpdate our bpf.h with tcpdump.org's new DLT_ types.
fenner [Tue, 31 Jul 2001 23:27:06 +0000 (23:27 +0000)]
Update our bpf.h with tcpdump.org's new DLT_ types.
Use our bpf.h instead of tcpdump.org's to build libpcap.

23 years agoApply the cluebat to myself and undo the await() -> mawait() rename. The
jhb [Tue, 31 Jul 2001 22:06:56 +0000 (22:06 +0000)]
Apply the cluebat to myself and undo the await() -> mawait() rename.  The
asleep() and await() functions split the functionality of msleep() up into
two halves.  Only the asleep() half (which is what puts the process on the
sleep queue) actually needs the lock usually passed to msleep() held to
prevent lost wakeups.  await() does not need the lock held, so the lock
can be released prior to calling await() and does not need to be passed in
to the await() function.  Typical usage of these functions would be as
follows:

        mtx_lock(&foo_mtx);
        ... do stuff ...
        asleep(&foo_cond, PRIxx, "foowt", hz);
        ...
        mtx_unlock&foo_mtx);
        ...
        await(-1, -1);

Inspired by: dillon on the couch at Usenix

23 years agoDon't include a NUL at the end of our CHAP SUCCESS packet.
brian [Tue, 31 Jul 2001 21:36:00 +0000 (21:36 +0000)]
Don't include a NUL at the end of our CHAP SUCCESS packet.

When encryption (MPPE) is enabled, WindowsME and Windows98 both
fail because of the extra byte, suggesting that they autheticated
successfully in their log and then dropping the connection, telling
the user that the peer doesn't support compatible encryption
options.

MFC after: 1 week

23 years agoReword for consistency.
eric [Tue, 31 Jul 2001 21:30:57 +0000 (21:30 +0000)]
Reword for consistency.

23 years agoAdd a safety belt to mawait() for the (cold || panicstr) case identical to
jhb [Tue, 31 Jul 2001 20:57:57 +0000 (20:57 +0000)]
Add a safety belt to mawait() for the (cold || panicstr) case identical to
the one in msleep() such that we return immediately rather than blocking.

Submitted by: peter
Prodded by: sheldonh

23 years agoAdd in a hack to support IBM "El Torito" CD-ROM booting BIOS's which expect
jhb [Tue, 31 Jul 2001 19:50:09 +0000 (19:50 +0000)]
Add in a hack to support IBM "El Torito" CD-ROM booting BIOS's which expect
the first sector of the emulated floppy to contain a valid MS-DOS BPB that
it can modify.  Since boot1 is the first sector of boot.flp, this resulted
in the BIOS overwriting part of boot1: specifically the function used to
read in sectors from the disk.

Submitted by: Mark Peek <mark@whistle.com>
Submitted by: Doug Ambrisko <ambrisko@ambrisko.com>
PR: i386/26382
Obtained from: NetBSD, OpenBSD (the example BPB)
MFC after: 1 month

23 years ago164LX can have SRM or AlphaBIOS in flash.
wilko [Tue, 31 Jul 2001 18:43:40 +0000 (18:43 +0000)]
164LX can have SRM or AlphaBIOS in flash.