<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sbin/init, branch release/7.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=release%2F7.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=release%2F7.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2008-03-16T07:52:22Z</updated>
<entry>
<title>MFC: revs 1.64-65: style(9)</title>
<updated>2008-03-16T07:52:22Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2008-03-16T07:52:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8b0c6fd0536764e679292f1ef24fc2dffd959005'/>
<id>urn:sha1:8b0c6fd0536764e679292f1ef24fc2dffd959005</id>
<content type='text'>
</content>
</entry>
<entry>
<title>I understood the MLINK part incorrectly, it should be the other way around</title>
<updated>2007-06-01T21:48:07Z</updated>
<author>
<name>Remko Lodder</name>
<email>remko@FreeBSD.org</email>
</author>
<published>2007-06-01T21:48:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=fcd7ed0e3a91782d7aa85b40c518a670556e11a2'/>
<id>urn:sha1:fcd7ed0e3a91782d7aa85b40c518a670556e11a2</id>
<content type='text'>
also remove the init mlink to securelevel.

Discussed with and sharing pointyhat with:	brueffer
</content>
</entry>
<entry>
<title>Patches to allow one to allow one to specify a directory to chroot to.</title>
<updated>2007-02-04T06:33:13Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2007-02-04T06:33:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=1a7bec91fb6983eee09a4d20a1dad728b64bd183'/>
<id>urn:sha1:1a7bec91fb6983eee09a4d20a1dad728b64bd183</id>
<content type='text'>
This includes support for running a script to setup that directory.
The kenv variables init_chroot and init_script control this behavior,
and are documented in loader(8) that's about to be committed (along
with the other variables like init_path...).

Submitted by: Oliver Fromme
Reviewed by: myself, jhb (earlier versions)
</content>
</entry>
<entry>
<title>Fix typo: effected -&gt; affected</title>
<updated>2007-01-02T09:12:37Z</updated>
<author>
<name>Ralf S. Engelschall</name>
<email>rse@FreeBSD.org</email>
</author>
<published>2007-01-02T09:12:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7090a0c6be95985c2df84909f44edcb6984aa710'/>
<id>urn:sha1:7090a0c6be95985c2df84909f44edcb6984aa710</id>
<content type='text'>
Submitted by: Gordon Stratton &lt;tsr2600 (at) gmail (dot) com&gt;
</content>
</entry>
<entry>
<title>Reparent the process that executes the window= command from the ttys</title>
<updated>2006-06-08T14:04:36Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2006-06-08T14:04:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=5010c3b657c9497ce3e948324b487f1933bcf6eb'/>
<id>urn:sha1:5010c3b657c9497ce3e948324b487f1933bcf6eb</id>
<content type='text'>
to the init. This prevents zombies from being accumulated.

PR:		bin/64198
Tested by:	Eugene Grosbein &lt;eugen at www svzserv kemerovo su&gt;
Approved by:	kan (mentor)
MFC after:	1 month
</content>
</entry>
<entry>
<title>use standard mode instead of 500 for /sbin/init.</title>
<updated>2006-02-28T08:02:28Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2006-02-28T08:02:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=cea897b2bf64c88f6b488f8d5e3feb6cf9ae0339'/>
<id>urn:sha1:cea897b2bf64c88f6b488f8d5e3feb6cf9ae0339</id>
<content type='text'>
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).
</content>
</entry>
<entry>
<title>-mdoc sweep.</title>
<updated>2005-11-18T10:36:29Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-11-18T10:36:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4e9e907d636ef7f776d89d98bd778f740ee69cdd'/>
<id>urn:sha1:4e9e907d636ef7f776d89d98bd778f740ee69cdd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix system shutdown timeout handling by again supporting longer running</title>
<updated>2005-09-15T13:16:07Z</updated>
<author>
<name>Ralf S. Engelschall</name>
<email>rse@FreeBSD.org</email>
</author>
<published>2005-09-15T13:16:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=724447ac41a82a6c5a459edbf947c6489200897a'/>
<id>urn:sha1:724447ac41a82a6c5a459edbf947c6489200897a</id>
<content type='text'>
shutdown procedures (which have a duration of more than 120 seconds).

We have two user-space affecting shutdown timeouts: a "soft" one in
/etc/rc.shutdown and a "hard" one in init(8). The first one can be
configured via /etc/rc.conf variable "rcshutdown_timeout" and defaults
to 30 seconds. The second one was originally (in 1998) intended to be
configured via sysctl(8) variable "kern.shutdown_timeout" and defaults
to 120 seconds.

Unfortunately, the "kern.shutdown_timeout" was declared "unused" in 1999
(as it obviously is actually not used within the kernel itself) and
hence was intentionally but misleadingly removed in revision 1.107 from
init_main.c. Kernel sysctl(8) variables are certainly a wrong way to
control user-space processes in general, but in this particular case the
sysctl(8) variable should have remained as it supports init(8), which
isn't passed command line flags (which in turn could have been set via
/etc/rc.conf), etc.

As there is already a similar "kern.init_path" sysctl(8) variable which
directly affects init(8), resurrect the init(8) shutdown timeout under
sysctl(8) variable "kern.init_shutdown_timeout". But this time document
it as being intentionally unused within the kernel and used by init(8).
Also document it in the manpages init(8) and rc.conf(5).

Reviewed by: phk
MFC after: 2 weeks
</content>
</entry>
<entry>
<title>Moved descriptions of securelevels from init(7) to security(7).</title>
<updated>2005-09-03T17:16:00Z</updated>
<author>
<name>Gary W. Swearingen</name>
<email>garys@FreeBSD.org</email>
</author>
<published>2005-09-03T17:16:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e17c0e3256538c4ceddf4cd8c2a0a1940f89024f'/>
<id>urn:sha1:e17c0e3256538c4ceddf4cd8c2a0a1940f89024f</id>
<content type='text'>
Files used both "securelevel" and either "secure level" or
"security level"; all are now "security level".

PR:             docs/84266
Submitted by:   garys
Approved by:    keramida
MFC after:      3 days
</content>
</entry>
<entry>
<title>Sort sections.</title>
<updated>2005-01-18T10:09:38Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2005-01-18T10:09:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=6087df9e8b0853475378c8ffa0d7f60590343e34'/>
<id>urn:sha1:6087df9e8b0853475378c8ffa0d7f60590343e34</id>
<content type='text'>
</content>
</entry>
</feed>
