Commit Graph

1036 Commits

Author SHA1 Message Date
julian
95c4ece894 ping called printf() from a signal handler..
this is a NO-NO

re-arange to just set a "please die immediatly" flag in the signal handler
and handle this in the normal thread.

also handle ping -f better on slow links by backing off a bit when
we get a ENOBUFFS from the sendto().
1997-07-09 19:40:43 +00:00
ache
043d604a07 Move logwtmp(shutdown) call before any real action in death(). 1997-07-08 11:51:11 +00:00
ache
baa3a4dbcc 1. Replace malloc+bzero by calloc
2. Revoke internal active session list only now, not whole /etc/ttys
1997-07-05 19:36:55 +00:00
ache
0165b2e9da Add -D_NEW_VFSCONF to eliminate compilation warning 1997-07-05 19:34:51 +00:00
bde
70c3990a35 Document recent changes (config files and -D...) and not so recent changes
(bios drive number...).

Submitted by:	mostly by yokota
1997-07-05 02:02:02 +00:00
ache
d4280e0ef8 death: revoke all lines listed in /etc/ttys instead of sending HUP
to all processes
1997-07-04 22:09:07 +00:00
max
85002b50ef Add Xref to nologin(5). 1997-07-04 06:31:52 +00:00
jdp
0dc7249409 Die and stay dead. Ya got it?! 1997-07-04 01:30:09 +00:00
ache
b44556e359 Include <libutil.h> instead of private declarations 1997-07-03 11:37:43 +00:00
ache
49221f7583 Remove unneded cast in login_getclassbyname which cause warning 1997-07-02 13:53:31 +00:00
bde
5e424abcd2 This commit was generated by cvs2svn to compensate for changes in r27163,
which included commits to RCS files with non-trunk default branches.
1997-07-02 00:25:26 +00:00
bde
1c936ab215 Import Lite2's src/sbin, except for XNSrouted and routed. All relevant
files in src/sbin are off the vendor branch, so this doesn't change the
active versions.
1997-07-02 00:25:26 +00:00
bde
4e789e88d8 Import Lite2's src/sbin, except for XNSrouted and routed. All relevant
files in src/sbin are off the vendor branch, so this doesn't change the
active versions.
1997-07-02 00:25:26 +00:00
charnier
46627309b6 Remove lines inside #ifdef 0/#endif. 1997-06-30 11:10:18 +00:00
bde
cac50f2497 Configure static linkage in the normal way (default to -static using
NOSHARED?= yes).
1997-06-29 21:40:54 +00:00
bde
d7b4f23ff2 Print fs_maxfilesize. 1997-06-29 20:59:03 +00:00
bde
cad5beb3c8 Prepare to remove the declaration of sys_siglist from <unistd.h>.
It should only be declared in <signal.h> if at all.  Modload used
to depend on getting it from <unistd.h> because it only included
<sys/signal.h>.
1997-06-29 20:38:38 +00:00
pst
489b7a4fe8 Attempt to open the device for reading before actually adding the device
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
1997-06-28 08:18:29 +00:00
jhay
0814c237ff Display tickadj in struct clockinfo. 1997-06-24 18:23:32 +00:00
brian
dc42cd84a9 Suggest using /etc/services entry rather than a
number in the "ipfw add divert" example.
1997-06-24 10:49:44 +00:00
tegge
ad743ec5a7 Allow use of the name "swap" instead of an actual swap device.
This makes configuration of mfs /tmp on diskless clients more intuitive
for people like me, that have used this feature on NetBSD and SunOS.
Using the -T option and /dev/null, while already supported,
is neither intuitive nor documented in the handbook.
Obtained from: NetBSD
1997-06-23 22:44:51 +00:00
julian
b2627a7a7f Allow ipfw to look up service names from /etc/services (or NIS if turned on)
note.. this would be dangerous if your ipfw was blocking NIS access :)

Submitted by: archie@whistle.com (Archie Cobbs)
1997-06-23 22:32:13 +00:00
steve
7a5541cde7 Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
jkh
f4c30626de sysconfig -> rc.conf 1997-06-22 14:40:27 +00:00
brian
4fa0e5a551 This commit was generated by cvs2svn to compensate for changes in r26781,
which included commits to RCS files with non-trunk default branches.
1997-06-22 04:19:08 +00:00
brian
59a701d2eb Bring natd into main source tree now that the
pppd/natd combination works ok.

Submitted by:	Ari Suutari <ari.suutari@ps.carel.fi>
1997-06-22 04:19:08 +00:00
charnier
8e9b467863 Sync usage string according to man page. 1997-06-19 14:44:24 +00:00
charnier
c50254e7ea Cosmetic in usage string. 1997-06-19 14:42:10 +00:00
charnier
359e756ecf Use warn(3). 1997-06-19 14:40:41 +00:00
charnier
0c0624c76d Use err(3). Add missing prototypes. Cosmetic in usage string. 1997-06-19 14:38:53 +00:00
charnier
7f9d40cba7 Use err(3). Add usage(). 1997-06-19 14:33:42 +00:00
charnier
eb50166664 Use err(3). 1997-06-19 14:28:32 +00:00
charnier
6708198883 Various typos in man page. Cosmetic in usage string. Use err(3) instead
of fprintf. Remove unused variables.
1997-06-18 06:37:23 +00:00
charnier
8b228a9975 Sync man page and usage string. Remove unused -p option from getopt call. 1997-06-18 06:34:28 +00:00
charnier
b430896bf1 Sync man page and usage string. 1997-06-18 06:33:11 +00:00
charnier
a7ec830880 Sync beetween man page and usage string. 1997-06-18 06:30:34 +00:00
charnier
2f83b582ea Fprintf -> warn. 1997-06-18 06:28:46 +00:00
bde
f96e3b64ac Merge from Lite2.
- use new getvfsbyname() interface.
- new -A option, like -a except only mounted file systems are unmounted.

All non-cosmetic FreeBSD changes in umount.c, except ignoring of
realpath() failures, went away because they are done better in Lite2.
realpath() failures must be ignored so that non-pathnames like
"<above>:/foo" and "host:/bar" get as far as mount(2).

Reviewed by:	dfr
1997-06-16 11:20:05 +00:00
max
ba3c9ef967 Typo fix.
PR:		3868
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-06-16 06:54:30 +00:00
charnier
e4cd6f51ca Use err(3) instead of local copy. 1997-06-16 06:43:13 +00:00
charnier
03fe5003eb Use err(3) instead of local err() (a errx() like function). 1997-06-16 06:38:14 +00:00
charnier
ad63a4c160 Use err(3). 1997-06-16 06:35:23 +00:00
ache
1b5fc58b0b Remove srandomdev fallback 1997-06-14 00:17:53 +00:00
max
aed020b3a1 Typo fix.
PR:		3854
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-06-13 20:58:09 +00:00
charnier
6e0b43d464 Remove __progname. Cosmetic in usage string. 1997-06-13 06:27:12 +00:00
charnier
98daca0d1c Use err(3). 1997-06-13 06:24:42 +00:00
charnier
5cfc21982c Add Id. Staticize usage function. Typo in usage string. 1997-06-11 07:18:18 +00:00
charnier
128554a0bd Remove __progname. Make -f a no-op flag as stated in the man page. Remove
unused variables.
1997-06-11 07:13:30 +00:00
charnier
d048b9413f Add Id. Cosmetic in usage string. 1997-06-10 11:14:04 +00:00
charnier
31625b3c6b Add Id. Use err(3). Costmetic in usage string. 1997-06-10 11:08:53 +00:00