Commit Graph

7146 Commits

Author SHA1 Message Date
Warner Losh
b294c6a39a Clarify the sizeof(var) rule. This is the result of the consensus in
arch@ between myself, bde and markm.  I kept the parts that all of us
agreed to, and omitted some more extensive text that I'd originally
wanted.
2002-07-25 00:30:24 +00:00
Marc Fonvieille
d4b7dd491c Remove the word IPSec to respect RFCs (for example
http://www.ietf.org/rfc/rfc2401.txt), IPsec is the right word and
already in the dictionary.

PR:		in part docs/38668
Reviewed by:	murray
MFC after:	10 days
2002-07-24 10:24:52 +00:00
Tim J. Robbins
8030ad187e Mention the new bind(1) sh builtin. 2002-07-23 14:38:07 +00:00
Robert Watson
060c42c3d2 Mention SAVENAME and SAVESTART in the namei(9) operation flag description
since apparently people were missing that you aren't supposed to access
the name buffer following namei() unless you specify one of these flags.

Pointed out by:	green
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-07-23 13:16:36 +00:00
Robert Watson
fd3083e0f8 Update ucred.9 to talk a bit more about correct use of credentials,
including documenting that ucreds must not be pulled out of thin air,
when to use td_cred vs. p_ucred, how to avoid race conditions in
credential updates, and why to use p_ucred when targetting a thread
or process in an access control operation involving two processes.

Reviewed by:	julian, jhb (earlier revision)
2002-07-23 13:09:24 +00:00
Juli Mallett
698f822d6d Turn on emacs line editing mode by default, as this is what most shells do
these days, and the average user expects ^A and arrow keys to work, however
if they know nothing of editing modes, they will think sh(1) just sucks.  It
is likely that because of defaults on most systems and with most shells that
anyone who actually wants vi(1) editing mode will have 'set -o vi'.  This
won't affect existing accounts, this way, of course.  Only accounts with
.shrc from new etc/skel will be affected.  This is much better than making
the change in sh(1).
2002-07-23 12:28:16 +00:00
Ruslan Ermilov
397304fe4f Moved `clean:' below, just before the inclusion of bsd.obj.mk,
so that CLEANFILES from bsd.man.mk and bsd.dep.mk are honored.
2002-07-21 21:22:45 +00:00
Jens Schweikhardt
9660d3718b Typo: s/If the this option/If this option/
MFC after:	1 week
2002-07-20 09:25:55 +00:00
Ruslan Ermilov
5113446a35 Only define SHLIB_LINK if SHLIB_NAME matches the *.so.* pattern.
(Useful for RELENG_4's lib/libpam/modules.)
2002-07-19 18:40:13 +00:00
Ruslan Ermilov
aed191e514 Don't install any old cruft present in the tree, including
editor backups, .orig or .rej files, etc.  Make transition
from SHARED=symlinks to SHARED=copies and vice versa work.

Submitted by:	des, ru
2002-07-19 07:51:58 +00:00
Ruslan Ermilov
42c0ad02c2 Correction to the previous revision: define SHLIB_LINK if SHLIB_NAME
is defined (whether or not LIB is defined).
2002-07-18 17:44:20 +00:00
Ruslan Ermilov
d29831440a To force install(1) to always compare files before installing, one
now needs to set COPY=-C as -C is no longer compatible with the -d
option.  It is also likely to be renamed to INSTALL_COPY soon.
Update documentation to reflect this change.

PR:		bin/40724
2002-07-18 12:54:55 +00:00
Ruslan Ermilov
0b87f79976 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
Ruslan Ermilov
8cda97bd32 Sort FILES. 2002-07-17 16:35:00 +00:00
Sheldon Hearn
5098ee792a One external utility was ommitted in the previous delta:
alias
2002-07-17 15:34:25 +00:00
Sheldon Hearn
8b98c6bf7c The following builtins are now available as external commands as well:
bg
        cd
        command
        fc
        fg
        getopts
        jobs
        read
        umask
        unalias
        wait
2002-07-17 07:12:37 +00:00
Tom Rhodes
f7560bd3a7 Fix grammar 'the administrator'
PR:		39093
Submitted by:	Mike Makonnen <makonnen@packbell.net>
2002-07-15 16:23:56 +00:00
Giorgos Keramidas
b3e9028c87 Document savecore_flags.
PR:		docs/35967
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-07-15 02:21:44 +00:00
Philippe Charnier
8d74f63d1e The .Nm utility 2002-07-14 14:58:11 +00:00
Andrey A. Chernov
bb4265e4a1 Fix pl_PL collating table
PR:		39408
Submitted by:	Michal Pasternak <doc@pasternak.w.lub.pl>
2002-07-14 13:17:12 +00:00
Ruslan Ermilov
8f463ff4c5 Moved the `distribute' target from bsd.obj.mk to bsd.subdir.mk,
to make it call `install' in the bsd.subdir.mk-driven makefiles
too.  (share/examples/Makefile,v 1.29 changed the bsd.prog.mk
to bsd.subdir.mk and many stuff was lost during "make release".
I then merged this change in rev. 1.28.2.2 to work around the
namespace pollution (FILES) in this makefile.)

There was an added complexity here.  Both the `distribute' and
`install' targets are recursive (they propagate to SUBDIRs).
So `distribute' first calls `install' in the ${.CURDIR}, then
calls `distribute' in each SUBDIR, etc.  The problem is that
`install' (being also recursive) causes the stuff from SUBDIR
to be installed twice, first time thru `install' in ${.CURDIR}
triggered by `distribute', second time by `distribute' run in
the SUBDIR.  This problem is not new, but it became apparent
only after I moved the `distribute' target from bsd.obj.mk to
bsd.subdir.mk.  My first attempt testing the fix failed due to
this, because the whole world was distributed twice, causing
all the imaginable mess (kerberos5 stuff was installed into both
"base" and "krb5" dists, there was /sbin/init.bak, etc.)
I say the problem is not new because bsd.prog.mk and bsd.lib.mk
makefiles with SUBDIR (even without this fix) had this problem
for years.  Try e.g. running ``make distribute DISTDIR=/foo''
from usr.bin/bzip2 or from lib/libcom_err (without the fix) and
watch the output.

So the solution was to make `install' behave non-recursive when
executed by `distribute'.  My first attempt in passing SUBDIR=
to the `install' in the `distribute' body failed because of the
way how src/Makefile and src/Makefile.inc1 communicate with each
other.  SUBDIR='s assignment precedence on the "make install
SUBDIR=" command line is lowered after src/Makefile wrapper calls
"make ... -f ${.CURDIR}/Makefile.inc1 install" because SUBDIR=
is moved into environment, and Makefile.inc1's assignments now
take higher precedence.  This may be fixed someday when we merge
Makefile with Makefile.inc1.  For now, this is implemented as a
NO_SUBDIR knob.

Spotted by:	Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
Prodded by:	des
MFC after:	3 days
2002-07-12 15:09:35 +00:00
Ruslan Ermilov
9e82e81b91 Connect device.hints.5 to the build. 2002-07-12 14:16:46 +00:00
Ruslan Ermilov
3fad0a60f0 Sort MAN. 2002-07-12 14:08:40 +00:00
Ruslan Ermilov
1c4347288f Fixed path to /boot/device.hints. 2002-07-12 13:44:37 +00:00
Bruce Evans
35f2bab629 Fixed misspelling of "hint." as "hints." in rp's hints. 2002-07-11 20:47:56 +00:00
Bruce Evans
6c0b854cf9 Improved wording in the descriptions of hints. In particular, don't start
a new paragraph for describing the hints associated with each card type.

Reviewed by:	ru
2002-07-11 20:24:58 +00:00
Ruslan Ermilov
11f0b352e0 Update the SUBDIR hacks to work with the current bsd.subdir.mk. 2002-07-11 13:38:05 +00:00
Maxim Sobolev
8c6d67ef99 Add PCI ID and configuration hint for Netmos Nm9845 PCI 6-ports serial
card.

Submitted by:	Oleg Antoshin <oleh@at2000.kiev.ua>
MFC after:	3 days
2002-07-10 17:26:11 +00:00
Maxim Konovalov
25a6539985 Fix a typo.
MFC after:	3 days
2002-07-10 09:06:42 +00:00
Marc Fonvieille
4e7c3744b8 Typo fix: s/THAI/TAHI
PR:		docs/40371
Submitted by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
Approved by:	keramida
MFC after:	7 days
2002-07-09 20:37:18 +00:00
Sheldon Hearn
9945b966f5 Regen:
* Hart:		rev 313 of pcidevs.txt (2002-07-05)
* Boemler:	vendors.txt (2002-06-24)
2002-07-09 11:50:14 +00:00
Warner Losh
03fd39aa3d Preliminary NEWCARD docs. 2002-07-09 05:08:49 +00:00
Warner Losh
ea9db5976b Update dates. 2002-07-09 04:46:30 +00:00
Warner Losh
f26fae01e8 Document what the pcic driver in newcard will support. 2002-07-09 04:43:30 +00:00
Warner Losh
65fbd12756 Finish the repo copy of pcic.4 -> oldcard.4. oldcard.4 will document
the legacy pccard mode stuff called 'oldcard.'  pcic.4 will be
hijacked for newcard purposes.
2002-07-09 03:50:29 +00:00
Marc Fonvieille
39a0c7c577 Grammar fix
PR:	docs/40210
Submitted by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
Reviewed by:	keramida
Approved by:	orion
MFC after:	7 days
2002-07-08 20:57:19 +00:00
Julian Elischer
a4fd02efc7 link in the man page for thread_exit
Also change some line breaks.
2002-07-08 17:52:00 +00:00
Julian Elischer
eecc312518 Add a man page. Style comments welcome. I have a bunch-o-new-pages
to add so I might as we find out what I did wrong now :-)
2002-07-08 07:51:20 +00:00
Julian Elischer
b388e223f2 Slight changes to reflect some of the changes in -current.
mi_switch(9) is still wildly innacurate. I suggest that every kernel
developer takes 20 minutes a day for the next few days and updates one or
two of his favourite chapter 9 man pages as they are now WAY out of date
in general. I will add a couple of KSE related pages soon.
2002-07-08 07:34:46 +00:00
David E. O'Brien
bf4ca1009b Be more strict with WARNS now -- the GCC 3.1 turmoil is behind us. 2002-07-07 18:47:52 +00:00
Doug Barton
471c787259 Make it official. The old BIND Operator's Guide has no information
relevant to operation of a modern name server.
2002-07-07 08:29:00 +00:00
Mark Peek
c4e0f575d3 Synchronize path with dot.cshrc by adding /usr/local/sbin.
PR:             26720
Submitted by:   Rob Simmons <rsimmons@wumpus.wlcg.com>
MFC after:	1 week
2002-07-07 00:00:54 +00:00
Chris Costello
2131a0f65d sec-doc.7 has been repo-copied to sdoc.7 to be consistent with sprog.7.
Sponsored by:	DARPA, NAI Labs
2002-07-06 20:30:29 +00:00
Ruslan Ermilov
e8d5345d28 Part 1/2 of kerberos5/doc/ "make release" breakage fix:
Finish the fix of rev. 1.28 changes in rev. 1.47 (removed
gross dir file bootstrap rule again).
2002-07-06 14:58:20 +00:00
Takanori Watanabe
f0da5f560d Document BIOS bytecode overriding.
Pointed out by: Alex Zepeda <zipzippy@sonic.net>
Reviewed by:	David Wolfskill <david@catwhisker.org>
2002-07-05 15:36:03 +00:00
Ruslan Ermilov
4d7d5e7c11 Make it possible (again) to build and install shared library only.
One needs to define SHLIB_NAME for this to work.

Prodded by:	mi
2002-07-03 16:22:43 +00:00
Ruslan Ermilov
6e02167b57 Moved checkdpadd target to where it logically belongs. 2002-07-03 12:44:06 +00:00
Ruslan Ermilov
badb7c1c6b Try really hard to fix parallel installs. Add a bunch of .ORDER
directives to ensure that all realinstall sub-tasks are executed
after beforeinstall, similarly ensure that all afterinstall sub-
tasks are executed after realinstall.  Demonstration:

all: task1 task2
.ORDER: task1 task2

task2: task2_subtask
.ORDER: task1 task2_subtask

task1 task2 task2_subtask:
	@sleep `jot -r 1 0 1.0`
	@echo ${.TARGET}

Without the second .ORDER directive, task2_subtask can be run in
parallel with task1.

Spotted by:	Andrea Campi <andrea@webcom.it>
2002-07-03 12:28:03 +00:00
Tom Rhodes
54739799f2 GXP ATA drives also supports TQ 2002-07-02 20:23:43 +00:00
Johan Karlsson
e88001443e 's/rather then/rather than/'
PR:           38096
Submitted by: Chris Pepper <pepper@rockefeller.edu>

While I'm here correct some typos pointed out by ispell.

Approved by:  sheldonh (mentor)
MFC after:    1 week
2002-07-02 14:33:52 +00:00