| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
ENXIO.
Glanced at by: imp, gallatin
|
|
|
|
|
|
| |
Convert init(8) to use nmount() instead of mount() when
it has to mount devfs. This doesn't happen normally,
since the kernel is supposed to mount devfs itself.
|
|
|
|
|
| |
o Use ansi function definitions
o unifdef -D__STDC__
|
|
|
|
|
|
| |
It does not help modern compilers, and some may take some hit from it.
(I also found several functions that listed *every* of its 10 local vars with
"register" -- just how many free registers do people think machines have?)
|
|
|
|
|
|
| |
PR: bin/28116
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
MFC in: 1 week
|
|
|
|
|
|
|
| |
as __printflike()/__printf0like(), adding const, or adding missing "%s"
format strings, as appropriate.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
|
|
|
|
|
| |
PR: misc/28283
MFC after: 2 weeks
|
| |
|
|
|
|
| |
mount would show up as "/dev/", loose that trailing slash.
|
|
|
|
| |
Use _PATH_* where where possible.
|
| |
|
| |
|
|
|
|
| |
These commits were inspired by a similar commit to netbsd.
|
| |
|
|
|
|
|
|
|
|
|
| |
rundown script 'reboot' or 'single'. ISO support (which never
worked) has been removed from mount_nfs. mount_nfs and umount
now use mounttab, which allows umntall to work properly. The
rc scripts now call umntall as appropriate.
Submitted by: Martin Blapp <mb@imp.ch>
|
|
|
|
|
|
|
| |
init(8) cannot decrease securelevel. The manual page explains this
and single_user() doesn't try to downgrade kernel to insecure mode.
Reviewed by: bde (manual page)
|
| |
|
|
|
|
|
| |
PR: 12769
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
|
|
|
|
|
|
| |
While I'm here, fix some typos in the manpage.
Requested by: des
|
|
|
|
|
|
|
|
|
| |
or halt and turn the power off if sent SIGUSR2.
PR: 5451
Submitted by: Leif Neland <leifn@image.dk>
Reworked by: ru
Reviewed by: -hackers
|
|
|
|
|
|
| |
PR: 7320
Reviewed by: phk
Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
|
| |
|
| |
|
|
|
|
|
|
| |
is not valid - it says that "sh" is the default, but you can't
actually type "sh" at this prompt - it has to be /bin/sh or some other
full pathname.
|
|
|
|
| |
return success if it doesn't to prevent any unwanted error msgs.
|
|
|
|
| |
but can waste time if many descriptors are available
|
|
|
|
|
|
| |
1) revoke -> HUP
2) controlling terminal already present
3) add missing setprocresources call
|
|
|
|
|
| |
Add sample /etc/rc.shutdown (which is just a shell for now).
Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
|
| |
|
|
|
|
| |
2. Revoke internal active session list only now, not whole /etc/ttys
|
|
|
|
| |
to all processes
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
to the session list. If the device comes back as unconfigured, just
ignore that line in /etc/ttys. If someone HUP's init, we'll try again.
This change stops getty's from hanging on vty and sio ports that don't
exist, either due to LKM drivers not being loaded, or probes failing.
Reviewed by: bde
|
| |
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
| |
root user to change the securelevel. Pointed out by Thomas H. Ptacek
<tqbf@enteract.com>.
|
| |
|
|
|
|
|
|
|
|
| |
/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.
|
| |
|
|
|
|
|
| |
otherwise it's not possible to get into single-user mode, if root
does not have password and console insecure.
|
| |
|
|
|
|
| |
times per second.
|
|
|
|
| |
Pointed by: Mike Pritchard <mpp@mpp.minn.net>
|
| |
|
|
|
|
| |
Submitted by: jmz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
date: 1994/03/06 08:55:02; author: ache; state: Exp; lines: +4 -1
Stop count getty spacing problem, if we issue kill -1 1
----------------------------
revision 1.5
date: 1994/03/04 17:51:39; author: ache; state: Exp; lines: +9 -2
I got a lot of
"getty repeating too quickly on port %s, sleeping"
from init.bsdi, it means that getty start and exit in five seconds.
This is common situation for poor quality Russian phone lines:
modem got CONNECT message and after retries got NO CARRIER.
So I introduce spacing count, it means that this warning and
sleep occurse only after GETTY_NSPACE times of sequental attempts.
----------------------------
revision 1.4
date: 1994/02/28 21:53:52; author: ache; state: Exp; lines: +71 -10
I found (and fix) ugly bugs in init.bsdi (this bugs not present
in old init)
1) Init don't setup TERM environment variable for default terminal
type from /etc/ttys before calling getty/window.
2) When "kill -1 1" issued, init don't restart getty when
/etc/ttys parameters was changed (it only kill "off" end empty entries).
3) Small memory leak if "window" /etc/ttys parameter specified and
"kill -1 1" issued.
Obtained from: FreeBSD 1.x
|
|
|
|
|
| |
changed to Reboot.
Submitted by: jkh
|
|
|
|
|
| |
halt before) if init is sent an interrupt signal. This is necessary
for <CTL><ALT><DEL> to do the right thing if enabled.
|