<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sbin/init, branch release/8.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-06-15T19:24:47Z</updated>
<entry>
<title>Remove redundant code from runshutdown() now tcsetsid(3) works reliably.</title>
<updated>2009-06-15T19:24:47Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-06-15T19:24:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=43273e33a38d313f43b4c39526f773c828d82b8b'/>
<id>urn:sha1:43273e33a38d313f43b4c39526f773c828d82b8b</id>
<content type='text'>
We can now just call setctty() without any problems. This means the
shell running the shutdown script is now the session leader, just like
on startup.
</content>
</entry>
<entry>
<title>Fix the staircase issue properly this time.</title>
<updated>2009-06-14T17:00:35Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-06-14T17:00:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4ae35b5d2ad8492bff7e5ee9f940d647e6ce3cbf'/>
<id>urn:sha1:4ae35b5d2ad8492bff7e5ee9f940d647e6ce3cbf</id>
<content type='text'>
Even though I thought this bug was somewhere in the TTY layer, it turns
out init(8) doesn't make sure /dev/console is opened initially properly.
I've added revoke() to two pieces of code:

- death(): Apart from killing the gettys on shutdown, this doesn't
  guarantee the TTY to be closed immediately.
- runshutdown(): Just like setctty(), we should revoke /dev/console.
  Applications like syslogd may have file descriptors to the console.
</content>
</entry>
<entry>
<title>Static-ify procedures in init(8).</title>
<updated>2008-09-27T00:09:10Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2008-09-27T00:09:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=45cfb1dc538113eab50616b88da908b1bb728561'/>
<id>urn:sha1:45cfb1dc538113eab50616b88da908b1bb728561</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Addition style(9) change.</title>
<updated>2007-11-20T21:25:58Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2007-11-20T21:25:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bb2dbe1b93139a5eb5320da71002b4422b0ec3dc'/>
<id>urn:sha1:bb2dbe1b93139a5eb5320da71002b4422b0ec3dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>style(9)</title>
<updated>2007-11-20T19:50:45Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2007-11-20T19:50:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=091abe405c53e360cc6e0798ca325a70e7248f18'/>
<id>urn:sha1:091abe405c53e360cc6e0798ca325a70e7248f18</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-test2/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-test2/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-test2/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-test2/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-test2/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>
</feed>
