charnier
a2accd01f0
The .Nm utility
2002-07-06 19:34:18 +00:00
imp
90c76cbe1e
o remove __P
...
o Use ansi function definitions
o unifdef -D__STDC__
2002-03-20 22:53:13 +00:00
obrien
73c6870b18
Remove 'register' keyword.
...
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
"register" -- just how many free registers do people think machines have?)
2002-03-20 17:55:10 +00:00
obrien
9baf2f1b03
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
des
a93e80dada
Allow reboot during runcom.
...
PR: bin/28116
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
MFC in: 1 week
2001-10-15 20:34:43 +00:00
kris
5e75b336b9
Silence non-constant format string warnings by marking functions
...
as __printflike()/__printf0like(), adding const, or adding missing "%s"
format strings, as appropriate.
MFC after: 2 weeks
2001-08-19 08:19:37 +00:00
ru
80f060f0cf
mdoc(7) police: protect trailing full stops of abbreviations
...
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
ru
4345758876
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
sheldonh
9bfb9eedcd
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
...
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
dd
a145482cf6
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
ru
7cef49ff86
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 11:04:34 +00:00
mikeh
d795e6a826
Fix typo which could lead to memory leak.
...
PR: misc/28283
MFC after: 2 weeks
2001-06-20 01:56:09 +00:00
ru
fd136031ce
Use new backup feature of install(1).
2001-05-28 16:58:35 +00:00
dd
fb1146362f
Back out most of revision 1.28: lists of diagnostics must use -diag,
...
not -tag. Instead, put a period after the error messages to aide
those using dumb terminals not capable of properly displaying markup.
Requested by: ru
2001-04-13 06:54:05 +00:00
dd
cb8bda79d6
Make the list in the DIAGNOSTICS section "-tag" instead of "-diag":
...
the former makes it more obvious as to there the error message starts
and the explanation begins.
PR: 26431
2001-04-10 01:03:29 +00:00
ru
86642a4ab4
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
asmodai
5f89669270
Fix typo present since 1997: single used mode -> single user mode.
2001-03-03 08:12:58 +00:00
phk
f8ce1eae95
Fix a cosmetic problem with some very defensive programming: The devfs
...
mount would show up as "/dev/", loose that trailing slash.
2001-02-08 22:07:08 +00:00
peter
c44da00be1
Further tidy up the sbin/init and release builds.
2001-01-01 21:39:00 +00:00
phk
e52f3fe9ba
This is not necessarily the correct fix, but at least sbin/init compiles
...
in a sterile environment like "make release"
2001-01-01 19:46:43 +00:00
ru
979699b8a9
Prepare for mdoc(7)NG.
2000-12-19 15:36:48 +00:00
obrien
c2ee1dcc02
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
ben
287d08d04f
Explicitly document the fact that securelevel > 0 means that kernel modules
...
may not be (un)loaded.
PR: 23350
Submitted by: Gordon Tetlow <gordont@bluemtn.net>
2000-12-07 21:09:22 +00:00
ru
ea31070695
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
sheldonh
93a57684b2
Improve the clarification of the handling of the securelevel.
...
Submitted by: bde
2000-09-13 08:39:41 +00:00
sheldonh
cfc3af2b90
Clarify the handling of the securelevel.
...
PR: 20974
2000-09-12 12:30:13 +00:00
phk
fd7a4d0371
Mount DEVFS with no options.
2000-08-26 11:53:53 +00:00
alex
2958091f3f
Add MLINK init.8 --> securelevel.8
...
Requested by: Brett Glass <brett@lariat.org>
PR: 13792
Submitted by: nik
2000-06-09 09:40:34 +00:00
asmodai
3022b1ea3d
Remove unused include.
2000-05-01 20:20:05 +00:00
imp
7fec3d2787
Add include of errno.h where needed, remove extern int errno where not.
...
These commits were inspired by a similar commit to netbsd.
2000-04-14 06:15:01 +00:00
sheldonh
ff1f324516
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
markm
639eb378dc
Change DISTRIBUTION to match new world order.
2000-02-29 11:40:57 +00:00
alfred
a34d288bc9
detect deleted tty lines in /etc/ttys.
2000-02-19 20:28:45 +00:00
nik
23f67763ad
Document that securelevel >= 2 clamps time changes to at most one second.
...
PR: docs/14449
Submitted by: James FitzGibbon <james@targetnet.com>
1999-12-16 02:15:53 +00:00
sheldonh
e8d92f3cff
Correct the ttys.5 and init.8 manpages with respect to the incorrect
...
assumption that only getty processes can be managed. Describe the
SysV-like ability to keep arbitrary long-running processes alive
using a non-device first field in /etc/ttys.
PR: 12767
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-12-06 09:07:14 +00:00
dillon
e8e6885c6b
Finish up umntall support. init now passed an argument to the
...
rundown script 'reboot' or 'single'. ISO support (which never
worked) has been removed from mount_nfs. mount_nfs and umount
now use mounttab, which allows umntall to work properly. The
rc scripts now call umntall as appropriate.
Submitted by: Martin Blapp <mb@imp.ch>
1999-11-22 04:23:11 +00:00
kato
6ed01edd23
FreeBSD kernel doesn't allow any process to decrease securelevel. So,
...
init(8) cannot decrease securelevel. The manual page explains this
and single_user() doesn't try to downgrade kernel to insecure mode.
Reviewed by: bde (manual page)
1999-09-06 08:41:32 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
ru
14b85267a6
Backup existing init(8) as /sbin/init.bak.
...
PR: 12976
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-08-05 09:13:57 +00:00
ru
78cfb5805b
Fix a non-critical memory leak.
...
PR: 12769
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-07-23 08:28:46 +00:00
mph
8a83bdfe59
"Cannot" is one word. "Can not" has a different meaning if taken
...
literally.
1999-07-05 18:12:13 +00:00
ru
5824f4faaa
Turn System V command line syntax ``on'' by default.
...
Requested by: peter
Reviewed by: des, billf
1999-07-01 13:33:56 +00:00
ru
412b642b28
Bring in System V run-level patches (turned off by default).
...
While I'm here, fix some typos in the manpage.
Requested by: des
1999-06-18 09:08:09 +00:00
ru
f97d9ce3bb
Init(8) will halt the system if sent USR1 signal,
...
or halt and turn the power off if sent SIGUSR2.
PR: 5451
Submitted by: Leif Neland <leifn@image.dk>
Reworked by: ru
Reviewed by: -hackers
1999-06-16 20:01:19 +00:00
ghelmer
fe04bf9dba
Mention securelevel 3 as affecting ipfw and dummynet. Generalize comment
...
about fdisk and securelevel 2.
PR: docs/7785
1998-12-16 16:50:12 +00:00
phk
7ebd4f74fb
Memory management error in init.
...
PR: 7320
Reviewed by: phk
Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
1998-07-22 05:45:11 +00:00
charnier
fff847fc47
Correct .Nm use. Add rcsid. Use min for minutes instead of mn.
1998-07-06 06:56:08 +00:00
jkoshy
20df804cb4
Fixes per PR 2850:
...
(a) Note that the default securelevel value is -1, in -current and -stable.
(b) Mention kernel sysctl variable that controls securelevel.
(c) Add warning the `fsck' will fail if securelevel >= 2.
(d) Suggest end of /etc/rc as the right place to raise securelevel.
and one spelling fix.
PR: 2850
1998-06-19 08:34:52 +00:00
jraynard
149cf90af1
Don't assume sigset_t and int are equivalent.
1998-03-02 23:19:29 +00:00