summaryrefslogtreecommitdiffstats
path: root/sbin/init
Commit message (Collapse)AuthorAgeFilesLines
* Sort sections.ru2005-01-181-17/+17
|
* Make WARNS=6 happy with our init(8):delphij2005-01-112-25/+40
| | | | | | | | | - Use more ``const''s where suitable. - Define strk() as a static function in global scope. This avoids the "nested extern declaration" warnings. - Use static initialization of strings, rather than referring string constants through char *. - Bump WARNS from 0 to 6.
* NOSHARED -> NO_SHAREDru2004-12-211-1/+1
|
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+2
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* Turns out that revision 1.52 was a bad idea. It broke the longimp2004-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | standing ability to list a non-existant device in /etc/ttys to keep it from dying. This is a documented feature of init(8): The init utility can also be used to keep arbitrary daemons running, automatically restarting them if they die. In this case, the first field in the ttys(5) file must not reference the path to a configured device node and will be passed to the daemon as the final argument on its com- mand line. This is similar to the facility offered in the AT&T System V UNIX /etc/inittab. So rather than fix the man page to 'break' this feature, back out the change. At the time this change was made, people felt that the spamage from getty was annoying on headless consoles. Andrew Gallatin noted: > Most of my machines are headless without video cards and use a serial > console. With devfs this means that /dev/ttyv[1-N] do not exist and > getty bitches like this: > > Sep 26 11:00:11 monet getty[543]: open /dev/ttyv1: No such file or directory and we went off and applied this hack rather than fixing getty to sleep forever when it gets an unknown device, as was Andrew's other suggestion. Since it breaks things, I'm off to do that instead.
* Add references to pf(4) and pfctl(8) at the description ofkeramida2004-07-221-2/+7
| | | | | | | securelevel = 3. PR: docs/69417 Submitted by: Janos Mohacsi (mohacsi(at)niif(dot)hu)
* Mechanically kill hard sentence breaks.ru2004-07-021-4/+7
|
* Assorted markup, grammar, and spelling fixes.ru2004-05-171-1/+1
|
* Remove advertising clause from University of California Regent's license,markm2004-04-093-12/+1
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Fixed misspellings of 0 as NULL.bde2004-03-111-2/+2
|
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Mention that securelevel 1 also blocks access to /dev/io if itmux2004-02-201-2/+3
| | | | exists (not all platforms have it).
* Fix the case where one goes from zero to more than zero items enabledimp2003-12-051-3/+0
| | | | | | | | | | | in /etc/ttys. Before this fix, once the count of active services reaches 0, one could never restart any more without a reboot. Steve Passe did the leg work on this patch. After he found the fix, we discovered that an identical fix had been made to NetBSD. Approved by: re@ <scottl> Approval tool: peril sensitive sunglasses
* Make init statically linked by default. It's not worth the pain of havinggordon2003-11-191-0/+2
| | | | | | a dynamically linked init as recently seen by ia64 woes. Approved by: re (jhb)
* - Add some information about how init, securelevel, and jailskensmith2003-11-111-1/+17
| | | | | | | | interact with each other. - Minor markup fix (.Dq -> .Va for a variable) Reviewed by: rwatson Approved by: blackend (mentor)
* Add section number to .Xrcharnier2003-06-081-1/+1
|
* There are 5 securelevels, not 4.keramida2003-03-261-1/+1
| | | | | PR: docs/50049 Submitted by: Colin Percival <cperciva@sfu.ca>
* mdoc(7) police: markup laundry.ru2003-02-231-2/+4
|
* Back out the previous commit, since there could be dire consequences ifgreen2002-12-171-4/+0
| | | | /etc/rc were accidentally executed (as requested by other committeers).
* /home/green/tmp/cvsSFosXggreen2002-12-171-0/+4
|
* Give up on a tty if opening it's special file returns ENOENT like we do forjhb2002-09-271-1/+1
| | | | | | ENXIO. Glanced at by: imp, gallatin
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-3/+3
|
* can not -> cannot.ru2002-08-131-1/+1
|
* I should have committed this ages ago...mux2002-08-031-3/+15
| | | | | | Convert init(8) to use nmount() instead of mount() when it has to mount devfs. This doesn't happen normally, since the kernel is supposed to mount devfs itself.
* The .Nm utilitycharnier2002-07-061-16/+22
|
* o remove __Pimp2002-03-201-160/+64
| | | | | o Use ansi function definitions o unifdef -D__STDC__
* Remove 'register' keyword.obrien2002-03-201-18/+18
| | | | | | 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?)
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Allow reboot during runcom.des2001-10-151-0/+3
| | | | | | PR: bin/28116 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> MFC in: 1 week
* Silence non-constant format string warnings by marking functionskris2001-08-191-9/+9
| | | | | | | as __printflike()/__printf0like(), adding const, or adding missing "%s" format strings, as appropriate. MFC after: 2 weeks
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-2/+2
| | | | with a trailing zero-width space: `e.g.\&'.
* mdoc(7) police:ru2001-08-071-1/+1
| | | | | | | 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.
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-261-1/+1
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Remove whitespace at EOL.dd2001-07-151-11/+11
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix typo which could lead to memory leak.mikeh2001-06-201-1/+1
| | | | | PR: misc/28283 MFC after: 2 weeks
* Use new backup feature of install(1).ru2001-05-281-7/+1
|
* Back out most of revision 1.28: lists of diagnostics must use -diag,dd2001-04-131-4/+3
| | | | | | | 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
* Make the list in the DIAGNOSTICS section "-tag" instead of "-diag":dd2001-04-101-2/+2
| | | | | | | the former makes it more obvious as to there the error message starts and the explanation begins. PR: 26431
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+0
|
* Fix typo present since 1997: single used mode -> single user mode.asmodai2001-03-031-1/+1
|
* Fix a cosmetic problem with some very defensive programming: The devfsphk2001-02-081-1/+17
| | | | mount would show up as "/dev/", loose that trailing slash.
* Further tidy up the sbin/init and release builds.peter2001-01-011-28/+2
|
* This is not necessarily the correct fix, but at least sbin/init compilesphk2001-01-011-8/+11
| | | | in a sterile environment like "make release"
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* Explicitly document the fact that securelevel > 0 means that kernel modulesben2000-12-071-1/+5
| | | | | | | may not be (un)loaded. PR: 23350 Submitted by: Gordon Tetlow <gordont@bluemtn.net>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Improve the clarification of the handling of the securelevel.sheldonh2000-09-131-6/+2
| | | | Submitted by: bde
OpenPOWER on IntegriCloud