#
293744 |
|
12-Jan-2016 |
trasz |
MFC r290548:
Userspace part of reroot support. This makes it possible to change the root filesystem without full reboot, using "reboot -r". This can be used to to eg. boot from a temporary md_image preloaded by loader(8), setup an iSCSI session, and continue booting from rootfs mounted over iSCSI.
Relnotes: yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3693
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
202194 |
|
13-Jan-2010 |
ed |
Migrate init(8) towards utmpx.
According to a comment, we cannot safely remove utmpx entries here anymore. This is because the libc routines may block on file locking. In an ideal world login(1) should just remove the entries, which is why I'm disabling this code for now. If it turns out we get lots of stale entries here, we should figure out a way to deal with that.
|
#
200161 |
|
05-Dec-2009 |
ed |
Let init(8) and reboot(8) use utmpx to log wtmp entries.
logwtmp() gets called with the raw strings that are written to disk. For regular user entries, this isn't too bad, but when booting/shutting down, the contents get rather cryptic.
Just call the standardized pututxline().
|
#
198236 |
|
19-Oct-2009 |
ru |
Switch the default WARNS level for sbin/ to 6.
Submitted by: Ulrich Spörlein
|
#
170195 |
|
01-Jun-2007 |
remko |
I understood the MLINK part incorrectly, it should be the other way around also remove the init mlink to securelevel.
Discussed with and sharing pointyhat with: brueffer
|
#
156105 |
|
28-Feb-2006 |
luigi |
use standard mode instead of 500 for /sbin/init.
As discussed on -current, there is no sensitive info in /sbin/init to prevent reading it from non-privileged users, nor any reason to remove the 'x' bit as the first thing the program does is check the uid and exit if it is not run by root.
Instead (and this is why i make the change), mode 500 prevents operation when exporting the partition without -maproot=0 to diskless clients.
All previuos releases are affected by the same problem, so a merge to RELENG_6 at least would be appropriate (after proper re@ approval of course).
|
#
140070 |
|
11-Jan-2005 |
delphij |
Make WARNS=6 happy with our init(8): - 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.
|
#
139112 |
|
21-Dec-2004 |
ru |
NOSHARED -> NO_SHARED
|
#
137164 |
|
03-Nov-2004 |
ru |
Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar 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
|
#
126178 |
|
23-Feb-2004 |
johan |
style.Makefile(5): Use WARNS?= instead of WARNS=.
|
#
122903 |
|
19-Nov-2003 |
gordon |
Make init statically linked by default. It's not worth the pain of having a dynamically linked init as recently seen by ia64 woes.
Approved by: re (jhb)
|
#
87325 |
|
04-Dec-2001 |
obrien |
Default to WARNS=2. Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
#
77348 |
|
28-May-2001 |
ru |
Use new backup feature of install(1).
|
#
74815 |
|
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
#
74531 |
|
20-Mar-2001 |
ru |
Set the default manual section for sbin/ to 8.
|
#
70565 |
|
01-Jan-2001 |
peter |
Further tidy up the sbin/init and release builds.
|
#
70562 |
|
01-Jan-2001 |
phk |
This is not necessarily the correct fix, but at least sbin/init compiles in a sterile environment like "make release"
|
#
61447 |
|
09-Jun-2000 |
alex |
Add MLINK init.8 --> securelevel.8
Requested by: Brett Glass <brett@lariat.org> PR: 13792 Submitted by: nik
|
#
57623 |
|
29-Feb-2000 |
markm |
Change DISTRIBUTION to match new world order.
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
49432 |
|
05-Aug-1999 |
ru |
Backup existing init(8) as /sbin/init.bak.
PR: 12976 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
|
#
48395 |
|
01-Jul-1999 |
ru |
Turn System V command line syntax ``on'' by default.
Requested by: peter Reviewed by: des, billf
|
#
47998 |
|
18-Jun-1999 |
ru |
Bring in System V run-level patches (turned off by default). While I'm here, fix some typos in the manpage.
Requested by: des
|
#
32645 |
|
20-Jan-1998 |
bde |
Removed definition of _NEW_VFSCONF. The new vfsconf interface is now the default.
|
#
28351 |
|
18-Aug-1997 |
davidn |
".if exists(${CURDIR}/../../secure)" rather than testing relative to the object directory.
|
#
27211 |
|
05-Jul-1997 |
ache |
Add -D_NEW_VFSCONF to eliminate compilation warning
|
#
22990 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
22546 |
|
10-Feb-1997 |
markm |
Part two of a "fix-and-move". There were some macros declared in ../sbin's Makefile that were a) broken and b) bogusly placed. This brings the repeared macros in.
Pointed-out-by: BDE
|
#
21865 |
|
19-Jan-1997 |
davidn |
Impose login_cap resource limits on processes started by init. /etc/rc started with "daemon" settings. "window=" started with "default" settings gettys started with "default" settings. This should open the way to junk kernel options MAX_{OPEN,CHILD} and the corresponding sysctl vars.
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
18050 |
|
05-Sep-1996 |
bde |
Fixed DPADD.
|
#
15613 |
|
04-May-1996 |
markm |
Better method of choosing libdescrypt/libscrypt.
|
#
14076 |
|
13-Feb-1996 |
joerg |
The DES-based init(8) belongs to the "des" distribution.
|
#
11148 |
|
03-Oct-1995 |
bde |
Fix $Id$.
|
#
11112 |
|
01-Oct-1995 |
markm |
Make this make work the same way as passwd and xntpd. Here it will allow secure/sbin/init to be cleaned out, and sbin/Makefile to be tidied up.
|
#
2072 |
|
15-Aug-1994 |
wollman |
`init' needs crypt() for insecure consoles.
|
#
1855 |
|
05-Aug-1994 |
wollman |
Convert to our man installation style. Also fixed long-standing bug in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
|
#
1559 |
|
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1558, which included commits to RCS files with non-trunk default branches.
|
#
1558 |
|
26-May-1994 |
rgrimes |
BSD 4.4 Lite sbin Sources
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
|