]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoThis commit was generated by cvs2svn to compensate for changes in r83098,
mp [Wed, 5 Sep 2001 17:49:32 +0000 (17:49 +0000)]
This commit was generated by cvs2svn to compensate for changes in r83098,
which included commits to RCS files with non-trunk default branches.

22 years agoImport tcsh-6.11
mp [Wed, 5 Sep 2001 17:49:32 +0000 (17:49 +0000)]
Import tcsh-6.11

22 years agoatol -> strtoll, for file offset
ache [Wed, 5 Sep 2001 17:05:31 +0000 (17:05 +0000)]
atol -> strtoll, for file offset

22 years agoRemove superfluous statement.
jlemon [Wed, 5 Sep 2001 17:05:19 +0000 (17:05 +0000)]
Remove superfluous statement.

22 years agoMention the Sparc64 port under development.
bmah [Wed, 5 Sep 2001 17:04:36 +0000 (17:04 +0000)]
Mention the Sparc64 port under development.

Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru>

22 years agoTry to determine the OS version and architecture for what is being built
obrien [Wed, 5 Sep 2001 16:54:20 +0000 (16:54 +0000)]
Try to determine the OS version and architecture for what is being built
vs.  the building machine.

PR: 14040

22 years agoadd a method for recording of specific channels for devices with more than
cg [Wed, 5 Sep 2001 16:28:41 +0000 (16:28 +0000)]
add a method for recording of specific channels for devices with more than
one hardware record channel.  new devices, /dev/dsprX.Y where X is unit
number and Y is channel index.

22 years agostyle(9) the structure definitions.
obrien [Wed, 5 Sep 2001 16:20:30 +0000 (16:20 +0000)]
style(9) the structure definitions.

22 years agoAdd the am-utils homepage to SEE ALSO
obrien [Wed, 5 Sep 2001 16:14:07 +0000 (16:14 +0000)]
Add the am-utils homepage to SEE ALSO

Submitted by: ru

22 years agoRemove "more" from the list, the port has not been committed yet.
luigi [Wed, 5 Sep 2001 16:06:40 +0000 (16:06 +0000)]
Remove "more" from the list, the port has not been committed yet.
Remove "mount_nfs" to reduce image size.

22 years agoAdd lnc driver, so one can test picobsd images with vmware
luigi [Wed, 5 Sep 2001 16:05:05 +0000 (16:05 +0000)]
Add lnc driver, so one can test picobsd images with vmware

22 years ago(Forced commit.)
ru [Wed, 5 Sep 2001 15:43:41 +0000 (15:43 +0000)]
(Forced commit.)

The previous change also removed the DIALUP misfeature.

22 years agoSECURITY.
ru [Wed, 5 Sep 2001 15:37:01 +0000 (15:37 +0000)]
SECURITY.

Notify operators using wall(1)'s -g option.
Drop ``setgid tty'' privilege.

Obtained from: OpenBSD
MFC after: 1 month

22 years agoMake ``wall -g'' really DTRT.
ru [Wed, 5 Sep 2001 15:31:07 +0000 (15:31 +0000)]
Make ``wall -g'' really DTRT.

Reviewed by: imp, markm

22 years agodon't try to dump nonexistent data when recording
cg [Wed, 5 Sep 2001 14:49:44 +0000 (14:49 +0000)]
don't try to dump nonexistent data when recording

22 years agoThere is a better way to suppress groff(1) output.
ru [Wed, 5 Sep 2001 14:29:28 +0000 (14:29 +0000)]
There is a better way to suppress groff(1) output.

Submitted by: okazaki

22 years agomdoc(7) police: markup and minor content fixes.
ru [Wed, 5 Sep 2001 14:09:08 +0000 (14:09 +0000)]
mdoc(7) police: markup and minor content fixes.

o Removed whitespace at EOL
o Removed hard sentence breaks
o Added cap_size() to the NAME section
o Normalized .Nd descriptions
o Fixed the abuses of .Nm and .Va
o Fixed some DESCRIPTION texts
o Fixed the RETURN VALUES and ERRORS texts to look more traditional

Reviewed by: tmm

22 years agoMerge linker set relocations with the rest.
dfr [Wed, 5 Sep 2001 13:36:41 +0000 (13:36 +0000)]
Merge linker set relocations with the rest.

22 years agocan not -> cannot
dd [Wed, 5 Sep 2001 13:33:55 +0000 (13:33 +0000)]
can not -> cannot

22 years agoUse fseeko() instead of fseek() (u->offset is already an off_t), and mark
des [Wed, 5 Sep 2001 12:22:28 +0000 (12:22 +0000)]
Use fseeko() instead of fseek() (u->offset is already an off_t), and mark
some function arguments as unused.

22 years agoImplement the `manlint' target, for minimal validity checking of
ru [Wed, 5 Sep 2001 11:24:34 +0000 (11:24 +0000)]
Implement the `manlint' target, for minimal validity checking of
the manual pages.  Mostly useful with mdoc(7) formatted manuals.

Requested by: murray

22 years agomdoc(7) police: markup nits.
ru [Wed, 5 Sep 2001 11:09:36 +0000 (11:09 +0000)]
mdoc(7) police: markup nits.

22 years ago4000 -> 5800 ports. We really need to add some smarts to the
murray [Wed, 5 Sep 2001 09:45:35 +0000 (09:45 +0000)]
4000 -> 5800 ports.  We really need to add some smarts to the
ports/INDEX creation script to update #defines in header files and
entities in the doc/ tree.

22 years agoThe defaults for bsize and fsize were interchanged.
ru [Wed, 5 Sep 2001 08:51:21 +0000 (08:51 +0000)]
The defaults for bsize and fsize were interchanged.

PR: docs/30330

22 years agoAllow network device name to be given on the command line in the
murray [Wed, 5 Sep 2001 08:10:04 +0000 (08:10 +0000)]
Allow network device name to be given on the command line in the
interactive case.  This already works for non-interactive installs,
but at least one user thinks it would be useful and it certainly seems
more correct to allow it here as well.

So, this will now work :

# sysinstall netDev=fxp0 tcpMenuSelect

PR: bin/30229
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>

22 years agoAdd Hungarian FTP mirror.
murray [Wed, 5 Sep 2001 07:41:01 +0000 (07:41 +0000)]
Add Hungarian FTP mirror.

PR: misc/21536
Submitted by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>

22 years agoAdd Czech keyboard definition to sysinstall.
murray [Wed, 5 Sep 2001 07:12:19 +0000 (07:12 +0000)]
Add Czech keyboard definition to sysinstall.

PR: bin/17430
Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>

22 years agoAdd a missing "option".
bmah [Wed, 5 Sep 2001 06:15:49 +0000 (06:15 +0000)]
Add a missing "option".

22 years agoClarify/cleanup pcic(4) release note.
bmah [Wed, 5 Sep 2001 06:10:19 +0000 (06:10 +0000)]
Clarify/cleanup pcic(4) release note.

Submitted by: msmith

22 years agoIt is the last-second trivial changes that kill me every time.
peter [Wed, 5 Sep 2001 05:35:42 +0000 (05:35 +0000)]
It is the last-second trivial changes that kill me every time.
Fix nested comment. :-(

Submitted by: obrien

22 years agoCorrect a last minute sizeof() bogon in my previous commit.
kris [Wed, 5 Sep 2001 05:20:31 +0000 (05:20 +0000)]
Correct a last minute sizeof() bogon in my previous commit.

22 years agostyle(9) the structure definitions.
obrien [Wed, 5 Sep 2001 05:18:35 +0000 (05:18 +0000)]
style(9) the structure definitions.

22 years agoAdd sysutils/portupgrade to CD-ROM #1. (+1.5MB)
knu [Wed, 5 Sep 2001 05:01:42 +0000 (05:01 +0000)]
Add sysutils/portupgrade to CD-ROM #1. (+1.5MB)

22 years agoRework the ISA PnP driver pnp and the PnP resource parser to fix
yokota [Wed, 5 Sep 2001 03:54:33 +0000 (03:54 +0000)]
Rework the ISA PnP driver pnp and the PnP resource parser to fix
the following bugs.

- When constructing a resource configuration, respect the order
  in which resource descriptors are read, in order to establish
  the correct mapping between the descriptors and configuration
  registers.
  "Plug and Play ISA Specification, Version 1.0a", Sec 4.6.1, May 5,
  1994.  "Clarifications to the Plug and Play ISA Specification,
  Version 1.0a", Sec 6.2.1, Dec. 10, 1994.

- Do not ignore null (empty) descriptors; they are valid descriptors
  acting as filler.
  "Clarifications to the Plug and Play ISA Specification, Version 1.0a",
  Sec 6.2.1.

- Correctly set up logical device configuration registers for null
  resources.
  "Clarifications to the Plug and Play ISA Specification, Version 1.0a"

- Handle null resources properly in the resource allocator for the
  ISA bus.

22 years agoAdd Thomas Moestl and Chris Faulhaber to the author list for POSIX.1e
rwatson [Wed, 5 Sep 2001 03:36:00 +0000 (03:36 +0000)]
Add Thomas Moestl and Chris Faulhaber to the author list for POSIX.1e
support.

Obtained from: TrustedBSD Project

22 years agoAttempt to refine the __IDSTRING() macros so that they dont collide with
peter [Wed, 5 Sep 2001 02:50:32 +0000 (02:50 +0000)]
Attempt to refine the __IDSTRING() macros so that they dont collide with
each other.  This will allow multiple __RCSID() entries in the same file
and even __RCSID() in headers.  **HOWEVER**, the usefulness of this in
headers is somewhat marginal in non-ELF since they would go into the
data section where they cannot be easily compressed or stripped.
It (id's in headers) is also not useful in the non-GCC case since it is
hard to generate unique variable names.  I have an idea on that though.

Now for mcs: http://mirrors.ccs.neu.edu/cgi-bin/unixhelp/man-cgi?mcs+1

22 years agoIntroduce the concept of previously mounted media to sysinstall.
murray [Wed, 5 Sep 2001 02:30:50 +0000 (02:30 +0000)]
Introduce the concept of previously mounted media to sysinstall.
This will now allow sysinstall to work properly if a FreeBSD CD/DVD is
already mounted as /cdrom, instead of just crapping out when it tries
to mount as /dist and gets EBUSY.

PR: conf/28081
Tested by: jhb

22 years agostyle(9) the structure definitions.
obrien [Wed, 5 Sep 2001 01:36:46 +0000 (01:36 +0000)]
style(9) the structure definitions.

22 years agoFix the definition generation code from rev 1.15 that generates non-style(9)
obrien [Wed, 5 Sep 2001 01:27:53 +0000 (01:27 +0000)]
Fix the definition generation code from rev 1.15 that generates non-style(9)
compliant structure definitions.

22 years agostyle(9) the structure definitions.
obrien [Wed, 5 Sep 2001 01:22:14 +0000 (01:22 +0000)]
style(9) the structure definitions.

22 years agoStyle(9)
obrien [Wed, 5 Sep 2001 01:06:28 +0000 (01:06 +0000)]
Style(9)

22 years agoAdd cloning support for the tap(4) device similar to that in the tun(4)
brooks [Wed, 5 Sep 2001 01:06:21 +0000 (01:06 +0000)]
Add cloning support for the tap(4) device similar to that in the tun(4)
device.

Submitted by:   Maksim Yevmenkin <myevmenk@digisle.net>

22 years agoAllow users to enable usbd and set flags from sysinstall. This is
murray [Wed, 5 Sep 2001 00:58:28 +0000 (00:58 +0000)]
Allow users to enable usbd and set flags from sysinstall.  This is
useful for post install configuration or other cases that might not be
handled by usb.c. (usb.c already sets usbd_enable iff sysinstall
detects usb during install).

PR: bin/18946
Submitted by: Peter van Heusden <pvh@egenetics.com>
Reviewed by: jhb

22 years agoCorrect (English language) style. No change in (C language) style.
grog [Wed, 5 Sep 2001 00:46:51 +0000 (00:46 +0000)]
Correct (English language) style.  No change in (C language) style.

22 years agoUpdate the inetd configuration prompt for clarity.
murray [Wed, 5 Sep 2001 00:45:13 +0000 (00:45 +0000)]
Update the inetd configuration prompt for clarity.

Submitted by: chern
Committed from: "Make sysinstall suck less party", D1031 WRS campus, Alameda

22 years agoRevisions 1.117 and 1.118 of tcpip.c fixed the logic dealing with DHCP
murray [Tue, 4 Sep 2001 23:56:30 +0000 (23:56 +0000)]
Revisions 1.117 and 1.118 of tcpip.c fixed the logic dealing with DHCP
and RTSOL in sysinstall.  If the respective TRY_FOO variable is set to
"YES" then it will be tried without prompting the user.

However, if the TRY_FOO variable is set to "NO" then the user will not
be prompted for a choice.  This is the correct behavior, since we want
people to be able to script sysinstall in either case.

However, the default TRY_FOO variable has been "NO" since 1999.  This
is incorrect, and when the logic was corrected in tcpip.c this has the
effect of never giving the user a choice to use DHCP or IPv6.  The
value should be undefined until it is set by a script or by the user.

Submitted by: Randy Pratt, Chern Lee, many others.

22 years agoImplement .previous (swap section back to the last section)
peter [Tue, 4 Sep 2001 23:04:48 +0000 (23:04 +0000)]
Implement .previous (swap section back to the last section)
This enables:
.data
.asciz "foo"
.previous
.. just like on current binutils

22 years ago- Add some diagnostic echos of status of each stage.
jhb [Tue, 4 Sep 2001 22:54:13 +0000 (22:54 +0000)]
- Add some diagnostic echos of status of each stage.

22 years agoAdd 3rd spanish mirror
jkh [Tue, 4 Sep 2001 22:08:33 +0000 (22:08 +0000)]
Add 3rd spanish mirror

Submitted by:   "Jose M. Alcaide" <jose@we.lc.ehu.es>

22 years agoFix a diagnostic
brian [Tue, 4 Sep 2001 22:07:56 +0000 (22:07 +0000)]
Fix a diagnostic

22 years agoRegenerate.
wpaul [Tue, 4 Sep 2001 22:00:49 +0000 (22:00 +0000)]
Regenerate.

22 years agoAdd support for the BCM5401 and BCM5411 10/100/1000Mbps copper gigE PHYs.
wpaul [Tue, 4 Sep 2001 22:00:33 +0000 (22:00 +0000)]
Add support for the BCM5401 and BCM5411 10/100/1000Mbps copper gigE PHYs.
This basically updates the brgphy driver to support 10/100 modes in
addition to 1000Mbps modes.

22 years agoI don't know what I was thinking- if I have two separate busses on on
mjacob [Tue, 4 Sep 2001 21:53:12 +0000 (21:53 +0000)]
I don't know what I was thinking- if I have two separate busses on on
SIM (as is true for the 1280 and the 12160), then I have to have separate
flags && status for *both* busses. *Whap*.

Implement condition variables for coordination with some target mode
events. It's nice to use these and not panic in obscure little places
in the kernel like 'propagate_priority' just because we went to sleep
holding a mutex, or some other absurd thing.

Remove some bogus ISP_UNLOCK calls. *Whap*.

No longer require that somebody do a lun enable on the wildcard device
to enable target mode. They are, in fact, orthogonal. A wildcard open
is a statement that somebody upstream is willing to accept commands which
are otherwise unrouteable. Now, for QLogic regular SCSI target mode, this
won't matter for a damn because we'll never see ATIOs for luns we haven't
enabled (are listening for, if you will). But for SCCLUN fibre channel
SCSI, we get all kinds of ATIOs. We can either reflect them back here
with minimal info (which is isp_target.c:isp_endcmd() is for), or the
wildcard device (nominally targbh) can handle them.

Do further checking against firmware attributes to see whether we can,
in fact, support target mode in Fibre Channel. For now, require SCCLUN
f/w to supoprt FC target mode.

This is an awful lot of change, but target mode *still* isn't quite right.

MFC after: 4 weeks

22 years agoNote for ATIOs returned because of BDRs or Bus Resets for which bus this
mjacob [Tue, 4 Sep 2001 21:48:02 +0000 (21:48 +0000)]
Note for ATIOs returned because of BDRs or Bus Resets for which bus this
applies to.  Do more bus # foo things.

Acknowledge Immediate Notifies right away prior to throwing events upstream
(where they're currently being ignored, *groan*)

Capture ASYNC_LIP_F8 as with ASYNC_LIP_OCCURRED. Don't percolate them
upstream as if they were BUS RESETS- they're not.

22 years agoIf we're on an interrupt stack, mark things so that we don't try
mjacob [Tue, 4 Sep 2001 21:45:57 +0000 (21:45 +0000)]
If we're on an interrupt stack, mark things so that we don't try
and cv_wait for mailbox commands to complete if we start them from
here.

Fix residuals for target mode such that we only check the residual and
set it in the CTIO if this is the last CTIO (when we're sending status).

MFC after: 4 weeks

22 years agoI don't know what I was thinking- if I have two separate busses on on
mjacob [Tue, 4 Sep 2001 21:33:06 +0000 (21:33 +0000)]
I don't know what I was thinking- if I have two separate busses on on
SIM (as is true for the 1280 and the 12160), then I have to have separate
flags && status for *both* busses. *Whap*.

Implement condition variables for coordination with some target mode
events. It's nice to use these and not panic in obscure little places
in the kernel like 'propagate_priority' just because we went to sleep
holding a mutex, or some other absurd thing.

MFC after: 4 weeks

22 years agoPortability fix: use unsigned cast to guaranteed positive part of expression
ache [Tue, 4 Sep 2001 21:28:01 +0000 (21:28 +0000)]
Portability fix: use unsigned cast to guaranteed positive part of expression
in case {L}LONG_MAX > abs({L}LONG_MIN).  Non-functional change - we don't
have any such platforms.

22 years agoBinary upgrades for -CURRENT preserve nsswitch.conf, not host.conf.
bmah [Tue, 4 Sep 2001 21:12:42 +0000 (21:12 +0000)]
Binary upgrades for -CURRENT preserve nsswitch.conf, not host.conf.

22 years agosysinstall's binary upgrade option used to display the contents of
bmah [Tue, 4 Sep 2001 21:06:48 +0000 (21:06 +0000)]
sysinstall's binary upgrade option used to display the contents of
UPGRADE.TXT along with a YesNo dialog requesting confirmation of
the upgrade.  During the transition to RELNOTESng, UPGRADE.TXT got
folded into a file that eventually renders as INSTALL.TXT, which
makes sysinstall complain about a non-existent file.  As a
solution/workaround, point the user at INSTALL.TXT, and then request
confirmation.

Noticed by: rpratt (on 4.4-RC3)
Approved by: jkh

22 years agoNew release note: SA-01:59.
bmah [Tue, 4 Sep 2001 20:38:31 +0000 (20:38 +0000)]
New release note:  SA-01:59.

22 years agoOops. Fix document build-breaking SGML bogon.
bmah [Tue, 4 Sep 2001 20:37:34 +0000 (20:37 +0000)]
Oops.  Fix document build-breaking SGML bogon.

22 years agoSince we now install sysinstall in /usr/sbin, encourage the user to
rwatson [Tue, 4 Sep 2001 20:22:41 +0000 (20:22 +0000)]
Since we now install sysinstall in /usr/sbin, encourage the user to
run that version, rather than the copy in /stand.

22 years agoSpell SSHd as sshd to improve readability and consistency.
rwatson [Tue, 4 Sep 2001 20:22:14 +0000 (20:22 +0000)]
Spell SSHd as sshd to improve readability and consistency.

22 years agoAdd an additional \n before the "cautionary note" on the topic of
rwatson [Tue, 4 Sep 2001 20:21:12 +0000 (20:21 +0000)]
Add an additional \n before the "cautionary note" on the topic of
admins needing to pay attention when configuring the system.  This
improves readability of this message.

22 years agoDon't name the main menu "/stand/sysinstall Main Manu" since it now
rwatson [Tue, 4 Sep 2001 20:14:59 +0000 (20:14 +0000)]
Don't name the main menu "/stand/sysinstall Main Manu" since it now
often lives in /usr/sbin.  Instead, just name it "sysinstall Main Menu".

22 years agoDon't report power interrupts.
imp [Tue, 4 Sep 2001 20:10:23 +0000 (20:10 +0000)]
Don't report power interrupts.

22 years agoMFS: put debug writes behind boot verbose.
imp [Tue, 4 Sep 2001 20:08:33 +0000 (20:08 +0000)]
MFS: put debug writes behind boot verbose.

22 years agoMFS: Sync boilerplate text with RELENG_4.
bmah [Tue, 4 Sep 2001 19:48:01 +0000 (19:48 +0000)]
MFS:  Sync boilerplate text with RELENG_4.

22 years agoFix SET_IID_VAL/SET_BUS_VAL macros to usable.
mjacob [Tue, 4 Sep 2001 19:42:13 +0000 (19:42 +0000)]
Fix SET_IID_VAL/SET_BUS_VAL macros to usable.

MFC after: 4 weeks

22 years agoMFS: Fix missing words, minor tweaks.
bmah [Tue, 4 Sep 2001 19:20:27 +0000 (19:20 +0000)]
MFS:  Fix missing words, minor tweaks.

22 years agoNew release note: pcic(4) interrupt routing.
bmah [Tue, 4 Sep 2001 19:17:55 +0000 (19:17 +0000)]
New release note:  pcic(4) interrupt routing.

Content provided by: imp

22 years agoFix a memory leak in __getcwd() that can occur after a filesystem
iedowse [Tue, 4 Sep 2001 19:03:47 +0000 (19:03 +0000)]
Fix a memory leak in __getcwd() that can occur after a filesystem
has been forcibly unmounted. If the filesystem root vnode is reached
and it has no associated mountpoint (vp->v_mount == NULL), __getcwd
would return without freeing 'buf'. Add the missing free() call.

PR: kern/30306
Submitted by: Mike Potanin <potanin@mccme.ru>
MFC after: 1 week

22 years agoRemove a trailing space at the end of a line.
mike [Tue, 4 Sep 2001 17:49:07 +0000 (17:49 +0000)]
Remove a trailing space at the end of a line.

Forgotten by: mike
Submitted by: ru

22 years agoMerge Japanese version of RELNOTESng:
hrs [Tue, 4 Sep 2001 17:48:07 +0000 (17:48 +0000)]
Merge Japanese version of RELNOTESng:

Makefile
errata/Makefile
errata/article.sgml
relnotes/Makefile
relnotes/Makefile.inc
relnotes/alpha/Makefile
relnotes/alpha/article.sgml
relnotes/common/artheader.sgml
relnotes/common/intro.sgml
relnotes/common/new.sgml
relnotes/common/relnotes.ent
relnotes/common/upgrading.sgml
relnotes/i386/Makefile
relnotes/i386/article.sgml
share/sgml/catalog
share/sgml/release.dsl

22 years agoMake the csc and function interrupts ISA on shutdown. This should
imp [Tue, 4 Sep 2001 17:46:31 +0000 (17:46 +0000)]
Make the csc and function interrupts ISA on shutdown.  This should
help with the hanging problem on reboot.  Note: we need to do the
other things as well.  Also, turn off the bits in the stat change
interrupt mask and the cardbus interrupt mask as well in an attempt to
shut off all interrupt sources.

22 years agoBecause www/netscape47-{communicator,navigator} are forbidden, replace
knu [Tue, 4 Sep 2001 17:41:52 +0000 (17:41 +0000)]
Because www/netscape47-{communicator,navigator} are forbidden, replace
them with www/linux-netscape47-{communicator,navigator}.

22 years agoRemove rcsids and unneded include
ache [Tue, 4 Sep 2001 17:41:20 +0000 (17:41 +0000)]
Remove rcsids and unneded include

22 years agoarchivers/bzip2 is no longer a VERY common build dependency.
knu [Tue, 4 Sep 2001 17:32:30 +0000 (17:32 +0000)]
archivers/bzip2 is no longer a VERY common build dependency.

(See the latest INDEX)

22 years agoo Remove examples from throughout the manual.
mike [Tue, 4 Sep 2001 17:30:39 +0000 (17:30 +0000)]
o Remove examples from throughout the manual.
o Create an EXAMPLES section.
o In some places change "ru" to "RU" to be consistent.

Reviewed by: ru

22 years ago'acc' is not initialized in one hypotetical case, fix it
ache [Tue, 4 Sep 2001 17:12:15 +0000 (17:12 +0000)]
'acc' is not initialized in one hypotetical case, fix it

22 years agoAdd dhclient.conf and hosts.allow to the list of files in /etc
bmah [Tue, 4 Sep 2001 17:11:19 +0000 (17:11 +0000)]
Add dhclient.conf and hosts.allow to the list of files in /etc
preserved by a binary upgrade.

22 years agoWARNS=2 fixes.
markm [Tue, 4 Sep 2001 17:10:57 +0000 (17:10 +0000)]
WARNS=2 fixes.

The remaining problem of converting highly incompatible pointer types
is done by "laundering" the value through a union.

This solves the problem (in my own mind) of how a "const char *" _ever_
actually gets a value in a WARNS=2 world.

22 years agoAdd support for Conexant LANfinity miniPCI controllers. People who have
wpaul [Tue, 4 Sep 2001 17:10:11 +0000 (17:10 +0000)]
Add support for Conexant LANfinity miniPCI controllers. People who have
laptops with this chip should test this and report back as I don't have
access to this hardware myself. People with -stable systems should try
the patch at:

http://www.freebsd.org/~wpaul/conexant.patch.gz

Submitted by: Phil Kernick <Phil@Kernick.org>

22 years ago1) repair the return value in the PAM_RETURN() macro (Side effects!!).
markm [Tue, 4 Sep 2001 17:05:08 +0000 (17:05 +0000)]
1) repair the return value in the PAM_RETURN() macro (Side effects!!).
2) canonicalise the options use in pam_options().

Submitted by: Gunnar Kreitz <gunnark@chello.se>
PR: 30250

22 years agoLocale *is* used in strto*l*(), at least for isspace(), so remove
ache [Tue, 4 Sep 2001 16:39:11 +0000 (16:39 +0000)]
Locale *is* used in strto*l*(), at least for isspace(), so remove
'locale not used' statement from comments and BUGS section of manpage.

strtol(): fix non-portable 'cutoff' calculation using the same method as
in strtoll().

Cleanup 'cutoff' calculation, remove unneded casts. Misc. cleanup to
make all functions looks the same.

Implement EINVAL reaction per POSIX, document it in manpage, corresponding
POSIX example quotes here:

------------------------------------------------
If the subject sequence is empty or does not have the expected form, no
conversion is performed; the value of str is stored in the object pointed
to by endptr, provided that endptr is not a null pointer.

If no conversion could be performed, 0 shall be returned and errno may be
set to [EINVAL].

[EINVAL] The value of base is not supported.

Since 0, {LONG_MIN} or {LLONG_MIN}, and {LONG_MAX} or {LLONG_MAX} are
returned on error and are also valid returns on success, an application
wishing to check for error situations should set errno to 0, then call
strtol( ) or strtoll ( ), then check errno.
-----------------------------------------------------

22 years agoDon't reinvent the wheel; use strptime(3).
ru [Tue, 4 Sep 2001 16:17:17 +0000 (16:17 +0000)]
Don't reinvent the wheel; use strptime(3).

MFC after: 2 weeks

22 years agoSECURITY.
ru [Tue, 4 Sep 2001 16:15:51 +0000 (16:15 +0000)]
SECURITY.

Fixed macros for temporarily relinquishing and restoring setuid/setgid
privileges so that they never change the real user and group IDs of
the calling process.

The setre[ug]id() calls are still used in the REDUCE_PERM macro (with
the r[ug]id arguments of -1) so that the call changes the saved user
and group IDs of the process to that specified.

Also, the panic() and perr() functions had insufficient privileges to
delete the problematic file under /var/at.

22 years agoThe implementation of -flags was broken and did not match the (poorly)
ru [Tue, 4 Sep 2001 16:09:01 +0000 (16:09 +0000)]
The implementation of -flags was broken and did not match the (poorly)
documented behavior.  Only a certain set of file flags were recognized,
and "no" flags did not match files that have corresponding flags bits
turned off.

Fix and extend the -flags functionality as follows:

: -flags [-|+]<flags>,<notflags>
:    The flags are specified using symbolic names (see chflags(1)).
:    Those with the "no" prefix (except "nodump") are said to be
:    <notflags>.  Flags in <flags> are checked to be set, and flags in
:    <notflags> are checked to be not set.  Note that this is different
:    from -perm, which only allows the user to specify mode bits that
:    are set.
:
:    If flags are preceded by a dash (``-''), this primary evaluates
:    to true if at least all of the bits in <flags> and none of the bits
:    in <notflags> are set in the file's flags bits.  If flags are pre-
:    ceded by a plus (``+''), this primary evaluates to true if any of
:    the bits in <flags> is set in the file's flags bits, or any of the
:    bits in <notflags> is not set in the file's flags bits.  Otherwise,
:    this primary evaluates to true if the bits in <flags> exactly match
:    the file's flags bits, and none of the <flags> bits match those of
:    <notflags>.

MFC after: 2 weeks

22 years agoReenable RTC interrupts after wakeup. Some laptops have a problem
iwasaki [Tue, 4 Sep 2001 16:02:06 +0000 (16:02 +0000)]
Reenable RTC interrupts after wakeup.  Some laptops have a problem
with system statistics monitoring tools (such as systat, vmstat...)
because of stopping RTC interrupts generation.
Restore all the timers (RTC and i8254) atomically.

Reviewed by: bde
MFC after: 1 week

22 years agoRemove long overdue obsolete file ide_pcireg.h
sos [Tue, 4 Sep 2001 15:52:00 +0000 (15:52 +0000)]
Remove long overdue obsolete file ide_pcireg.h

22 years agoThere is no option IDE_DELAY and havn't been for a long time..
sos [Tue, 4 Sep 2001 15:50:46 +0000 (15:50 +0000)]
There is no option IDE_DELAY and havn't been for a long time..

22 years agoAdd `-I.' option to CFLAGS so that we can compile asm code together
iwasaki [Tue, 4 Sep 2001 15:46:32 +0000 (15:46 +0000)]
Add `-I.' option to CFLAGS so that we can compile asm code together
with `-nostdinc' option.

22 years agoJust print a message in acpi_tz_monitor() only when new active state
iwasaki [Tue, 4 Sep 2001 15:40:12 +0000 (15:40 +0000)]
Just print a message in acpi_tz_monitor() only when new active state
is different from the previous active state.
This reduce tons of 'acpi_tz0: _AC0: temperature 64.0 >= setpoint 64.0'
messages.

Reviewed by: msmith

22 years agoFix sysctl comment field, s/the the/then the
alfred [Tue, 4 Sep 2001 15:25:23 +0000 (15:25 +0000)]
Fix sysctl comment field, s/the the/then the

Pointed out by: ru

22 years agoEnable bootforth.
dfr [Tue, 4 Sep 2001 14:48:59 +0000 (14:48 +0000)]
Enable bootforth.

22 years agomdoc(7) police: This still can be done with one-line display.
ru [Tue, 4 Sep 2001 14:10:41 +0000 (14:10 +0000)]
mdoc(7) police: This still can be done with one-line display.

22 years agomdoc(7) police:
ru [Tue, 4 Sep 2001 13:54:45 +0000 (13:54 +0000)]
mdoc(7) police:

1)  Removed the low-level (unneeded in this context) details on
    escape sequences that are already documented in screen(4).

2)  Removed whitespace at EOL.

3)  Removed the garbage from previous revision.

22 years agofix renamed options in some of the code that was #ifdef AFS
assar [Tue, 4 Sep 2001 13:27:04 +0000 (13:27 +0000)]
fix renamed options in some of the code that was #ifdef AFS
also print an error if krb5 ticket passing is disabled

Submitted by: Jonathan Chen <jon@spock.org>

22 years agoAvoid an alignment fault on 64bit architectures.
dfr [Tue, 4 Sep 2001 13:13:12 +0000 (13:13 +0000)]
Avoid an alignment fault on 64bit architectures.

Reviewed by: dcs

22 years agomdoc(7) police: s/vidmap/vidfont/, don't xref to itself.
ru [Tue, 4 Sep 2001 13:10:28 +0000 (13:10 +0000)]
mdoc(7) police: s/vidmap/vidfont/, don't xref to itself.