freebsd-dev/sbin/init
Edward Tomasz Napierala 377b6d1e7c When rerooting, take the init(8) path from argv[0] instead of fetching
it via kern.proc.pathname sysctl(2).  In some cases - booting from NFS
or rerooting after replacing the init binary with a new one - the sysctl
would fail.  In other cases - after upgrading, which moves the old init
to /sbin/init.bak - it would return /sbin/init.bak, which is the actual
path of the running init, instead of /sbin/init.

Reported by:	Melissa Jenkins <melissa-freebsd at littlebluecar.co.uk>, jilles@
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
2016-05-11 10:03:13 +00:00
..
init.8 Add missing SIGUSR1 description. 2015-07-24 18:14:57 +00:00
init.c When rerooting, take the init(8) path from argv[0] instead of fetching 2016-05-11 10:03:13 +00:00
Makefile Explicitly add more files to the 'runtime' package. 2016-02-09 20:19:31 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
NOTES
pathnames.h Userspace part of reroot support. This makes it possible to change 2015-11-08 17:33:48 +00:00