Commit Graph

1100 Commits

Author SHA1 Message Date
David E. O'Brien e83b2033a7 Fix syntax error for the mount_mfs example.
Also update to a more realistic example.
1997-11-24 03:28:54 +00:00
John Polstra 14b94d0464 Add missing argument detected by "-Wformat". 1997-11-18 03:37:45 +00:00
John Polstra a960972dd0 Fix missing arguments detected by "-Wformat". 1997-11-18 03:22:08 +00:00
John Polstra 3e83b874e1 Fix two missing arguments detected by "-Wformat". 1997-11-18 03:14:53 +00:00
Brian Somers 5ae6fac1d7 Use htonl() rather than htons(). 1997-11-13 11:43:02 +00:00
Julian Elischer 52bf64c787 Reviewed by: hackers@freebsd.org in general
Obtained from: Whistle Communications tree

Add an option to the way UFS works dependent on the SUID bit of directories
This changes makes things a whole lot simpler on systems running as
fileservers for PCs and MACS. to enable the new code you must
1/ enable option SUIDDIR on the kernel.
2/ mount the filesystem with option suiddir.
hopefully this makes it difficult enough for people to
do this accidentally.
see the new chmod(2) man page for detailed info.
1997-11-13 00:28:51 +00:00
Steve Price 0f30219fa8 Fix a misleading comment.
PR:		bin/4861
Submitted by:	Alex <garbanzo@hooked.net>
1997-10-27 03:28:44 +00:00
John-Mark Gurney b2289ae063 use += on cflags
Submitted-by:	Steve Price <sprice@hiwaay.net>
1997-10-26 04:58:27 +00:00
Mark Murray 76a54b1979 Make this part of the 'krb' distribution if it is being built as the
Kerberised version.
1997-10-24 16:22:46 +00:00
Mark Murray 6adb44d7f0 Make this part of the 'krb' distribution. 1997-10-24 16:20:25 +00:00
John-Mark Gurney 60add4e38d fix mispelling of kld 1997-10-24 05:30:12 +00:00
John-Mark Gurney 2830148a29 a few code style changes:
o start function names in column 1
    o sort order of flags in getopt and switch
    o don't try to reference progname
    o unspam some changes introduced by a 2.2.1-R build box instead of a
	-current build box

doc changes:
    o document when these commands first appeared
    o put email address in angle brakets
    o minor mdoc clean up
1997-10-21 09:59:26 +00:00
Bruce Evans b493c70c4f 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
Philippe Charnier d9b1bc7779 Use err(3). Change err(-1,... to err(1,... 1997-10-20 12:53:54 +00:00
Joerg Wunsch cc75b131a6 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
John-Mark Gurney 23e200d5ab 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 Wunsch 59dcbbb234 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 Somers 10cffc50d2 Add -redirect_port and -redirect_address to the
synopsis.
1997-10-18 16:31:28 +00:00
Peter Wemm 41cd75b799 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
Masafumi Max NAKANE 47fa2a53b5 Remove Xref to format(8) which does not exist. 1997-10-15 17:33:47 +00:00
Joerg Wunsch d6038ed629 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 Wunsch b394198484 The unit for the B option is 1 KB, not `dump records'.
PR:		docs/4223
1997-10-12 13:10:26 +00:00
Joerg Wunsch 33262b2341 Enable spppcontrol. 1997-10-11 11:34:00 +00:00
Joerg Wunsch bb37355e3c 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 Wemm 1bc5fcd008 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
Philippe Charnier 0fc81af12d Use err(3). Change firewall to firewall_enable in man page according to
/etc/rc.conf.
1997-10-02 11:43:33 +00:00
Wolfram Schneider bf5cbf3551 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
Mark Murray f8dd90c3b9 Changes for the new KTH KerberosIV 1997-09-28 08:43:40 +00:00
Mark Murray 81127b1486 Changes for the new KTH KerberosIV. 1997-09-28 08:42:27 +00:00
KATO Takenori 75b714ac11 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 Wemm 920de53083 Spell out a few things for the media options. 1997-09-27 02:55:39 +00:00
Poul-Henning Kamp 0d150bcf0b 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
Poul-Henning Kamp d030d2d2ae 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
Philippe Charnier be9950897a Typo. 1997-09-18 06:54:03 +00:00
Peter Wemm 079709dc3a 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
Jonathan Lemon a968cfd87c 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
Daniel O'Callaghan 6f1edd29a4 Fix typo in comment. 1997-09-12 10:52:49 +00:00
Peter Wemm ff486369c7 Mention the IPFIREWALL_DEFAULT_TO_ACCEPT option and it's effect on
rule 65535
1997-09-10 04:02:37 +00:00
Peter Wemm 875a6115c1 Fix typo (65434 -> 65534) 1997-09-10 03:52:50 +00:00
John-Mark Gurney 1ccbcf70f7 tell dset how to save the pnp info in the kernel... 1997-09-09 12:51:02 +00:00
Brian Somers f9b06d5cbe 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 Eklund d6b01f404d Fix my e-mail address. Old work addres is no good. 1997-08-31 16:38:33 +00:00
John-Mark Gurney 46657c7e77 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 Takenori d1d9bf7e77 Added hw.machine_arch. 1997-08-30 02:28:00 +00:00
Guido van Rooij e90cdb54db Plug info agthering attack as pointed out on Bugtraq recently.
Obtained from: OpenBSD
1997-08-29 19:22:28 +00:00
Warner Losh c9c3deeddc .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
Bruce Evans c295350952 Fixed an example. 1997-08-25 21:17:38 +00:00
Bruce Evans 958294d6f6 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
Bruce Evans 8e30c09987 Moved getmntops() stuff back to mntopt.h so that it is visible in other
mount utilities.
1997-08-25 21:02:21 +00:00
Bruce Evans fa02b62ae7 Backed out previous commit - don't clobber the (normally equivalent)
default for NOSHARED.
1997-08-25 20:38:35 +00:00