Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set the default manual section for sbin/ to 8. | ru | 2001-03-20 | 1 | -1/+0 |
| | |||||
* | Fix typo present since 1997: single used mode -> single user mode. | asmodai | 2001-03-03 | 1 | -1/+1 |
| | |||||
* | Fix a cosmetic problem with some very defensive programming: The devfs | phk | 2001-02-08 | 1 | -1/+17 |
| | | | | mount would show up as "/dev/", loose that trailing slash. | ||||
* | Further tidy up the sbin/init and release builds. | peter | 2001-01-01 | 1 | -28/+2 |
| | |||||
* | This is not necessarily the correct fix, but at least sbin/init compiles | phk | 2001-01-01 | 1 | -8/+11 |
| | | | | in a sterile environment like "make release" | ||||
* | Prepare for mdoc(7)NG. | ru | 2000-12-19 | 1 | -1/+1 |
| | |||||
* | Add `_PATH_DEVZERO'. | obrien | 2000-12-09 | 1 | -1/+2 |
| | | | | Use _PATH_* where where possible. | ||||
* | Explicitly document the fact that securelevel > 0 means that kernel modules | ben | 2000-12-07 | 1 | -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. | ru | 2000-11-20 | 1 | -2/+2 |
| | |||||
* | Improve the clarification of the handling of the securelevel. | sheldonh | 2000-09-13 | 1 | -6/+2 |
| | | | | Submitted by: bde | ||||
* | Clarify the handling of the securelevel. | sheldonh | 2000-09-12 | 1 | -8/+13 |
| | | | | PR: 20974 | ||||
* | Mount DEVFS with no options. | phk | 2000-08-26 | 1 | -1/+1 |
| | |||||
* | Add MLINK init.8 --> securelevel.8 | alex | 2000-06-09 | 1 | -0/+1 |
| | | | | | | Requested by: Brett Glass <brett@lariat.org> PR: 13792 Submitted by: nik | ||||
* | Remove unused include. | asmodai | 2000-05-01 | 1 | -1/+0 |
| | |||||
* | Add include of errno.h where needed, remove extern int errno where not. | imp | 2000-04-14 | 1 | -2/+0 |
| | | | | These commits were inspired by a similar commit to netbsd. | ||||
* | Remove single-space hard sentence breaks. These degrade the quality | sheldonh | 2000-03-01 | 1 | -1/+2 |
| | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. | ||||
* | Change DISTRIBUTION to match new world order. | markm | 2000-02-29 | 1 | -1/+1 |
| | |||||
* | detect deleted tty lines in /etc/ttys. | alfred | 2000-02-19 | 1 | -1/+25 |
| | |||||
* | Document that securelevel >= 2 clamps time changes to at most one second. | nik | 1999-12-16 | 1 | -0/+4 |
| | | | | | PR: docs/14449 Submitted by: James FitzGibbon <james@targetnet.com> | ||||
* | Correct the ttys.5 and init.8 manpages with respect to the incorrect | sheldonh | 1999-12-06 | 1 | -7/+20 |
| | | | | | | | | | 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> | ||||
* | Finish up umntall support. init now passed an argument to the | dillon | 1999-11-22 | 1 | -3/+8 |
| | | | | | | | | | 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> | ||||
* | FreeBSD kernel doesn't allow any process to decrease securelevel. So, | kato | 1999-09-06 | 2 | -8/+1 |
| | | | | | | | 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) | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 3 | -3/+3 |
| | |||||
* | Backup existing init(8) as /sbin/init.bak. | ru | 1999-08-05 | 1 | -3/+9 |
| | | | | | PR: 12976 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> | ||||
* | Fix a non-critical memory leak. | ru | 1999-07-23 | 1 | -4/+6 |
| | | | | | PR: 12769 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> | ||||
* | "Cannot" is one word. "Can not" has a different meaning if taken | mph | 1999-07-05 | 1 | -3/+3 |
| | | | | literally. | ||||
* | Turn System V command line syntax ``on'' by default. | ru | 1999-07-01 | 2 | -12/+4 |
| | | | | | Requested by: peter Reviewed by: des, billf | ||||
* | Bring in System V run-level patches (turned off by default). | ru | 1999-06-18 | 3 | -23/+97 |
| | | | | | | While I'm here, fix some typos in the manpage. Requested by: des | ||||
* | Init(8) will halt the system if sent USR1 signal, | ru | 1999-06-16 | 2 | -8/+23 |
| | | | | | | | | | 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 | ||||
* | Mention securelevel 3 as affecting ipfw and dummynet. Generalize comment | ghelmer | 1998-12-16 | 1 | -2/+11 |
| | | | | | about fdisk and securelevel 2. PR: docs/7785 | ||||
* | Memory management error in init. | phk | 1998-07-22 | 1 | -2/+5 |
| | | | | | | PR: 7320 Reviewed by: phk Submitted by: Anders Thulin <Anders.X.Thulin@telia.se> | ||||
* | Correct .Nm use. Add rcsid. Use min for minutes instead of mn. | charnier | 1998-07-06 | 2 | -36/+38 |
| | |||||
* | Fixes per PR 2850: | jkoshy | 1998-06-19 | 1 | -5/+18 |
| | | | | | | | | | | | (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 | ||||
* | Don't assume sigset_t and int are equivalent. | jraynard | 1998-03-02 | 1 | -2/+2 |
| | |||||
* | Removed definition of _NEW_VFSCONF. The new vfsconf interface is now | bde | 1998-01-20 | 1 | -2/+2 |
| | | | | the default. | ||||
* | This has always bugged me. At single user, the implied example it gives | peter | 1997-10-10 | 1 | -2/+2 |
| | | | | | | is not valid - it says that "sh" is the default, but you can't actually type "sh" at this prompt - it has to be /bin/sh or some other full pathname. | ||||
* | ".if exists(${CURDIR}/../../secure)" rather than testing relative to the | davidn | 1997-08-18 | 1 | -2/+2 |
| | | | | object directory. | ||||
* | Test that rc.shutdown exists before attempting to run it - silently | davidn | 1997-08-18 | 1 | -1/+13 |
| | | | | return success if it doesn't to prevent any unwanted error msgs. | ||||
* | runshutdown(): get rid of getdtablesize loop, it gains nothing now | ache | 1997-08-06 | 1 | -4/+1 |
| | | | | but can waste time if many descriptors are available | ||||
* | rc.shutdown fixes: | ache | 1997-08-06 | 1 | -12/+12 |
| | | | | | | 1) revoke -> HUP 2) controlling terminal already present 3) add missing setprocresources call | ||||
* | Add /etc/rc.shutdown capability to init. | davidn | 1997-08-02 | 3 | -18/+171 |
| | | | | | Add sample /etc/rc.shutdown (which is just a shell for now). Submitted by: Ollivier Robert <roberto@keltia.freenix.fr> | ||||
* | Move logwtmp(shutdown) call before any real action in death(). | ache | 1997-07-08 | 1 | -4/+4 |
| | |||||
* | 1. Replace malloc+bzero by calloc | ache | 1997-07-05 | 1 | -28/+5 |
| | | | | 2. Revoke internal active session list only now, not whole /etc/ttys | ||||
* | Add -D_NEW_VFSCONF to eliminate compilation warning | ache | 1997-07-05 | 1 | -2/+2 |
| | |||||
* | death: revoke all lines listed in /etc/ttys instead of sending HUP | ache | 1997-07-04 | 1 | -3/+27 |
| | | | | to all processes | ||||
* | Include <libutil.h> instead of private declarations | ache | 1997-07-03 | 1 | -8/+2 |
| | |||||
* | Remove unneded cast in login_getclassbyname which cause warning | ache | 1997-07-02 | 1 | -2/+2 |
| | |||||
* | Attempt to open the device for reading before actually adding the device | pst | 1997-06-28 | 1 | -1/+14 |
| | | | | | | | | | to the session list. If the device comes back as unconfigured, just ignore that line in /etc/ttys. If someone HUP's init, we'll try again. This change stops getty's from hanging on vty and sio ports that don't exist, either due to LKM drivers not being loaded, or probes failing. Reviewed by: bde | ||||
* | Use err(3). | charnier | 1997-06-13 | 1 | -8/+7 |
| | |||||
* | Be more specific as to which flags may not be turned off when the | mpp | 1997-04-01 | 1 | -2/+3 |
| | | | | | | system is running in secure mode. Obtained from: NetBSD PR# 3299 |