<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/init, branch releng/11.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-04-21T04:18:57Z</updated>
<entry>
<title>MFC r337534-r337535</title>
<updated>2019-04-21T04:18:57Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-04-21T04:18:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a575698538b65ed33229ae1558ae84c2d35d26a'/>
<id>urn:sha1:4a575698538b65ed33229ae1558ae84c2d35d26a</id>
<content type='text'>
r337534:
Refactor common code into execute_script().

r337535:
Use NULLs instead of casted zeroes, for consistency.
</content>
</entry>
<entry>
<title>MFC r337321, r337435, r337707, r337740, r337834, r337836, r337968</title>
<updated>2019-04-21T04:00:19Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-04-21T04:00:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d99a238fe34c617a93f77cfb0db2a92262cd194b'/>
<id>urn:sha1:d99a238fe34c617a93f77cfb0db2a92262cd194b</id>
<content type='text'>
r337321:
Make it possible for init to execute any executable, not just sh(1)
scripts. This means one should be able to eg rewrite their /etc/rc
in Python.

r337435:
Move description of init_shell, init_script, and init_chroot kenv
tunables from loader(8) to init(8), since it's init that actually
uses them.  Add .Xrs at their old place.

r337707:
Move around text in loader(8), in particular stuff related to ZFS,
to restore the usual section order.

r337740:
Add init_exec kenv(1) variable, to make init(8) execute a file
after opening the console, replacing init as PID 1.

From the user point of view, it makes it possible to run eg the
shell as PID 1, using 'set init_exec=/bin/sh' at the loader(8)
prompt.

r337834:
Add SECURITY section to loader(8).

r337836:
Improve formatting.

r337968:
Consistently use NULL to terminate the argv; no functional changes.

Relnotes:	yes	(init_exec kenv(1) variable)
</content>
</entry>
<entry>
<title>MFC r315733, r315737, r315740, r330054:</title>
<updated>2018-05-18T14:57:58Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2018-05-18T14:57:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d678f231487ad6555cc4f20e1cf202908cd1541'/>
<id>urn:sha1:6d678f231487ad6555cc4f20e1cf202908cd1541</id>
<content type='text'>
 r315733 (imp):
  Impelemnt ttys onifexists in init.

  Implement a new init(8) option in /etc/ttys. If this option is present
  on the entry in /etc/ttys, the entry will be active if and only if it
  exists.  If the name starts with a '/', it will be considered an
  absolute path. If not, it will be a path relative to /dev.

  This allows one to turn off video console getty that aren't present
  (while running a getty on them even when they aren't the system
  console). Likewise with serial ports.

  It differs from onifconsole in only requiring the device exist rather
  than it be listed as one of the system consoles.

 r315737 (ngie):
  Unbreak world by adding sys/stat.h for stat(2)

 r315740 (imp):
  Simplify the code a little.

 r330054 (trasz):
  Improve missing tty handling in init(8).  This removes a check that did
  nothing - it was checking for ENXIO, which, with devfs, is no longer
  returned - and was badly placed anyway, and replaces it with similar
  one that works, and is done just before starting getty, instead of being
  done when rereading ttys(5).

  From the practical point of view, this makes init(8) handle disappearing
  terminals (eg /dev/ttyU*) gracefully, without unneccessary getty restarts
  and resulting error messages.

Reported by:	Bart Ender, Andre Albsmeier
PR:		228315
Blocks:		11.2-BETA2
Approved by:	re (marius)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Revert r330897:</title>
<updated>2018-03-29T02:50:57Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-29T02:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ab2e064d7950be84256d671a7ae93f87cc6aa36'/>
<id>urn:sha1:4ab2e064d7950be84256d671a7ae93f87cc6aa36</id>
<content type='text'>
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.

Revert with prejudice.

This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.

Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.

Requested by: gjb (re)
</content>
</entry>
<entry>
<title>Partial merge of the SPDX changes</title>
<updated>2018-03-14T03:19:51Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-14T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be5d0b9566b13fdf8cabebb63334cbec12bfc409'/>
<id>urn:sha1:be5d0b9566b13fdf8cabebb63334cbec12bfc409</id>
<content type='text'>
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.

No objections from:	pfg
</content>
</entry>
<entry>
<title>MFC r320761:</title>
<updated>2017-08-02T05:30:41Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2017-08-02T05:30:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a7369cd8d8af83d6549f5b1d78bfd9bb54dcbc4'/>
<id>urn:sha1:0a7369cd8d8af83d6549f5b1d78bfd9bb54dcbc4</id>
<content type='text'>
 - Use strlcat() instead of strncat().
 - Use asprintf() and handle allocation errors.
</content>
</entry>
<entry>
<title>MFC r314655:</title>
<updated>2017-05-30T04:17:22Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-05-30T04:17:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5bf9f6567f7f64c1370209c30763524087caddd2'/>
<id>urn:sha1:5bf9f6567f7f64c1370209c30763524087caddd2</id>
<content type='text'>
bin: normalize paths using SRCTOP-relative paths or :H when possible

This simplifies make logic/output
</content>
</entry>
<entry>
<title>MFC r306808:</title>
<updated>2016-10-28T12:56:27Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-10-28T12:56:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4640ddfc8a9b9dba175126dbc3c5a617d98dd388'/>
<id>urn:sha1:4640ddfc8a9b9dba175126dbc3c5a617d98dd388</id>
<content type='text'>
Add verbosity around failed reboot(2) call.
</content>
</entry>
<entry>
<title>MFC r306807:</title>
<updated>2016-10-28T12:55:14Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-10-28T12:55:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c94c99eba876581a13ac65b12bbfa2207bc92688'/>
<id>urn:sha1:c94c99eba876581a13ac65b12bbfa2207bc92688</id>
<content type='text'>
When making a pause after detecting hard kill of the single-user
shell, ensure that we do sleep for at least the specified time, in
presence of signals.
</content>
</entry>
<entry>
<title>MFC r306605:</title>
<updated>2016-10-10T16:29:14Z</updated>
<author>
<name>Sevan Janiyan</name>
<email>sevan@FreeBSD.org</email>
</author>
<published>2016-10-10T16:29:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef402e76b7440bc1272dac35979a449dbf353149'/>
<id>urn:sha1:ef402e76b7440bc1272dac35979a449dbf353149</id>
<content type='text'>
init was there in UNIX from V1
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/init.s

PR:		212503
Approved by:	bcr (mentor)
Differential Revision:	https://reviews.freebsd.org/D8105
</content>
</entry>
</feed>
