Commit Graph

1111 Commits

Author SHA1 Message Date
bde
f552c8432d Don't install mount_msdos setuid root. Lite2's mount(2) handles
permissions centrally and a setuid root mount utility just breaks
its security.  There was no new breakage in practice because
mfdosfs_mount() still checks the ruid.
1997-10-21 07:26:50 +00:00
charnier
f6e0080970 Use err(3). Change err(-1,... to err(1,... 1997-10-20 12:53:54 +00:00
joerg
67a3078615 Introduce a -N option that disables the use of reserved ports, now
that -P is on by default.  Remove do-nothing code in the -P case (but
leave the option itself for backward compatibility).

PR:	bin/4500
1997-10-19 16:40:01 +00:00
jmg
c8ed73c6ed activate the programs that will be used to manipulate kld modules
fix a few problems with missing headers, warn called with an exit
value, and undeclared getopt vars

these programs now compile -Wall clean (and yes, I know I should use
more than just -Wall) :)
1997-10-19 11:15:45 +00:00
joerg
af3e361f52 Fix the man page description about what will go into an incremental
backup.

PR:		docs/4785
Submitted by:	Matthew Dillon
1997-10-19 09:43:08 +00:00
brian
9060a3d152 Add -redirect_port and -redirect_address to the
synopsis.
1997-10-18 16:31:28 +00:00
peter
edb69950d9 Make the supported media info output the default.
The -m switch is now accepted for backwards compatability.

Suggested by: davidg
1997-10-16 03:55:29 +00:00
max
f43d3f41ca Remove Xref to format(8) which does not exist. 1997-10-15 17:33:47 +00:00
joerg
ab87658176 Do not account the tape change time for ETA estimations.
PR:		bin/4369
Submitted by:	blank@fox.uni-trier.de (Sascha Blank)
1997-10-12 14:09:13 +00:00
joerg
9baa9978d9 The unit for the B option is 1 KB, not `dump records'.
PR:		docs/4223
1997-10-12 13:10:26 +00:00
joerg
29a65de606 Enable spppcontrol. 1997-10-11 11:34:00 +00:00
joerg
85c5be47db This commit was generated by cvs2svn to compensate for changes in r30302,
which included commits to RCS files with non-trunk default branches.
1997-10-11 11:30:30 +00:00
joerg
f865af2794 The spppcontrol(8) utility that is required to set or display things
like PAP and CHAP secrets with sppp(4).  This is the first utility
using the new SIOC[SG]IFGENERIC ioctls (and the reason for inventing
them in the first place).
1997-10-11 11:30:30 +00:00
peter
3fef32ccfc This has always bugged me. At single user, the implied example it gives
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.
1997-10-10 12:14:48 +00:00
charnier
9456fa3abc Use err(3). Change firewall to firewall_enable in man page according to
/etc/rc.conf.
1997-10-02 11:43:33 +00:00
wosch
b215fc2e1e Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
markm
2e4f0fbf0c Changes for the new KTH KerberosIV 1997-09-28 08:43:40 +00:00
markm
0ccd485f6f Changes for the new KTH KerberosIV. 1997-09-28 08:42:27 +00:00
kato
5ebced44ad Add noclusterr and noclusterw options. The noclusterr and noclusterw
disable clustered read and write, respectively.

Reviewed by:	bde
1997-09-27 13:44:17 +00:00
peter
f1c3b7cd44 Spell out a few things for the media options. 1997-09-27 02:55:39 +00:00
phk
00996947ff Fix bad assumptions about types.
PR:		1649
Reviewed by:	phk
Submitted by:	Jason Thorpe <thorpej@nas.nasa.gov>
1997-09-18 18:19:45 +00:00
phk
7d1a30911b Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
charnier
1050957269 Typo. 1997-09-18 06:54:03 +00:00
peter
848a4c94ef Some tweaks to get this to cope with ELF where the address space starts
higher up in memory (0x0800000 upwards) rather than near zero (0x1000
for our qmagic a.out format).  The method that mount_mfs uses to allocate
the memory within data size rlimits for the ram disk is entirely too much
of a kludge for my liking.  I mean, if it's run as root, surely it makes
sense to just raise the resource limits to infinity or something, and if
it's a non-root user mount (do these work? with mfs?) it could just fail
if it's outside limits.
1997-09-13 11:41:50 +00:00
jlemon
71f1b79fcd If a host in an export line in /etc/exports (or within a netgroup on
an export line) is unresolvable, make a note of it via syslog and skip
that individual host instead of skipping the entire line.

PR:	1981, 815
Perused by:	joerg
1997-09-12 16:25:24 +00:00
danny
d6194012da Fix typo in comment. 1997-09-12 10:52:49 +00:00
peter
7aab247321 Mention the IPFIREWALL_DEFAULT_TO_ACCEPT option and it's effect on
rule 65535
1997-09-10 04:02:37 +00:00
peter
7851208848 Fix typo (65434 -> 65534) 1997-09-10 03:52:50 +00:00
jmg
3999af2724 tell dset how to save the pnp info in the kernel... 1997-09-09 12:51:02 +00:00
brian
2c126ac098 Ingored incoming packets are now dropped when
deny_incoming option is set to yes.
Submitted by:	Ari Suutari <ari@suutari.iki.fi>
1997-09-06 11:14:03 +00:00
eivind
a9b20aa908 Fix my e-mail address. Old work addres is no good. 1997-08-31 16:38:33 +00:00
jmg
fe87b6f70d fix a few spelling changes
Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
kato
59ed83fa92 Added hw.machine_arch. 1997-08-30 02:28:00 +00:00
guido
0f5b2573a9 Plug info agthering attack as pointed out on Bugtraq recently.
Obtained from: OpenBSD
1997-08-29 19:22:28 +00:00
imp
65aa95ca34 .Xr vnconfig 8. This was suggested by Dworkin Muller <dworkin@village.org>
when he tried to figure out how to swap to a file and had to ask me for
help.
1997-08-26 00:32:06 +00:00
bde
64fd307748 Fixed an example. 1997-08-25 21:17:38 +00:00
bde
40e48e86d2 Removed duplicate MOPT_FORCE and sorted the first one. Rev.1.5 and
Lite2 messed up the ordering differently.
1997-08-25 21:14:22 +00:00
bde
0a7b6a0524 Moved getmntops() stuff back to mntopt.h so that it is visible in other
mount utilities.
1997-08-25 21:02:21 +00:00
bde
2053f70186 Backed out previous commit - don't clobber the (normally equivalent)
default for NOSHARED.
1997-08-25 20:38:35 +00:00
bde
917cd0c960 Support all mount flags that are supported in the kernel. 1997-08-25 20:23:16 +00:00
jmg
192b05e9eb add Id line (so that the commit on RELENG_2_2 will have it too) 1997-08-25 12:50:01 +00:00
steve
f3cf3fb7cf Forgot to cvs add this new file. 1997-08-24 21:28:38 +00:00
steve
eb27f35d49 Try to avoid mounting filesystems multiple times. Also while
I'm here do some -Wall cleaning.

PR:		kern/1839
Reviewed and corrected by:	joerg
1997-08-24 21:02:51 +00:00
joerg
ebf829e785 Mention the various reasons for messages of the form:
xxxxx filesystem is not available

Inspired by:  PR 3311, and a following discussion with Mikhail
1997-08-24 17:51:12 +00:00
joerg
7b83426ef5 Make it explicit that arguments to -c are in hex, while other numbers are
in usual "C" notation.

Also fixed the examples section.

PR:		3313
1997-08-24 08:50:25 +00:00
steve
d01206bb03 Always include the section name in the .Xr macro and cleanup
.Nm macro usage.

PR:		docs/3940
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-24 02:27:08 +00:00
steve
8a92f5f418 Remove the reference to the nonexistant dump(5) manpage.
PR:		docs/3704
1997-08-23 21:52:47 +00:00
steve
f8d175ab30 Protect against target containing a '%' which might be misinterpreted
by err(3).

PR:		bin/3864
1997-08-23 21:25:24 +00:00
joerg
0e5549e4fe Make the daemon process a true daemon by calling setsid().
PR:		bin/3202
Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-08-23 14:10:34 +00:00
jmg
b78387c1f2 another -I/sys to -I${.CURDIR}/../../sys 1997-08-22 14:04:09 +00:00