Commit Graph

832 Commits

Author SHA1 Message Date
christos 794ba0d372 Don't allow < 1 sec ping interval to regular users. 1997-03-24 03:34:26 +00:00
thorpej 66addb16d6 Fix a slight bogon in printing active/current media, from Matt Thomas. 1997-03-24 00:45:30 +00:00
fvdl 983e7c0af4 Use a reserved port by default. The -P option is now obsolete, but
kept for backward compatibility. The -p option was added to explicitly
NOT use reserved ports.
1997-03-23 20:59:56 +00:00
fvdl 4df5a6390b Checking for the use reserved ports by clients (both for mount/umount
and individual NFS requests) now depends on the '-noresport' option
in the exports file. Checking for reserved ports is the default.

The -n option has become obsolete but is maintained for backwards
compatibility.
1997-03-23 20:58:14 +00:00
christos 9c21b4d7f9 Try adding `o' option again; connection died. 1997-03-19 12:44:08 +00:00
christos 3696ff03af Take care of alignment problems on the alpha: From John Birell, via cgd. 1997-03-19 12:36:03 +00:00
lukem 8c5cee237e * use mkstemp() instead of mktemp()
* remove "register" qualifiers
1997-03-19 08:42:51 +00:00
christos f3703d3a82 Remove -g 1997-03-18 21:27:16 +00:00
christos 5a6005a07e Off by one. 1997-03-18 21:26:43 +00:00
christos 217f82764f PR/3329: From David Jones: Add F_ONCE 1997-03-18 19:06:51 +00:00
thorpej 797e996927 Fix lookup_media_word() to properly distinguish between the "autoselect"
media type and error.  (oops!)
1997-03-18 05:04:50 +00:00
thorpej af71bad528 Do that last change somewhat differently; We need to know the
currently selected media, and thus cannot allow E2BIG, since the
top-level kernel ioctl code won't perform the copyout of the
ifmediareq if it sees an "error".
1997-03-18 01:50:01 +00:00
thorpej 55e07c34a2 Ignore E2BIG in domediaopt() like we do in setmedia(). Oversight pointed
out by Andrew Gallatin <gallatin@CS.Duke.EDU>.
1997-03-18 00:37:34 +00:00
thorpej 4fcebbc43a Add support for BSD/OS-style media selection:
- new "media" keyword specified media to select:
		ifconfig de0 media utp
	- new "mediaopt/-mediaopt" keywords for setting/clearing
	  media options (such as full-duplex)
	- new "-m" flag to display all supported media types for
	  a given interface.
Also, some generial cleanup of argument parsing while I was there.
Manual page updates from Jeremy Cooper <jeremy@netbsd.org>.
1997-03-17 03:08:46 +00:00
lukem cb77572e20 use mkstemp() instead of mktemp() 1997-03-16 05:25:38 +00:00
perry e27abe4739 Nuke obsolete special case .if for amigas. 1997-03-14 22:49:51 +00:00
mycroft 7f2e03747e Insert some closelog()s, so we don't leave the syslog socket
on fd 0.
1997-03-14 00:44:35 +00:00
cgd 61d5abc37c string.h for protos 1997-03-14 00:00:26 +00:00
christos 9ee27f02a1 Fix PR/3327: rcvd_tbl index was assumed to be in host order, creating
incorrect dup reports. From enami tsugutomo
1997-03-13 16:19:10 +00:00
perry 204351f3a5 The boot_${ARCH}.8 man files never belonged in reboot -- they have
been moved to man8.${ARCH}/boot.8. Note that this means that the
references in the pages to boot.8 are now actually true on many
architectures instead of being a lie on all.
1997-03-13 04:04:54 +00:00
christos b9f439f21f Fix PR/3322, reference to non existant program. 1997-03-12 13:57:51 +00:00
christos fe4e4bb7a5 - remove -g from Makefile
- fix setsockopt and recvfrom casts.
1997-03-11 21:53:41 +00:00
christos 203dfd3486 - Use err, warn, errx
- Don't use floor, because we would need libm
- Add maxwait option from old ping
- Add a centralized gethost() to get hostnames
- Fix PR/1014 and PR/2017; (adds -D, -T options, and -I and -t for unicast)
- Document exit status
1997-03-11 21:22:49 +00:00
mikel d2057dd292 add support for MNT_NOATIME; from Lennart Augustsson in PR bin/3304. 1997-03-10 03:59:53 +00:00
christos 3d71dbfd9b fix reversed test for maxpartitions. 1997-03-09 00:35:44 +00:00
christos 649ae0edb1 Jason says: Use getmaxpartitions(3) to determine the number of partitions
allowed in this architecture.
1997-03-09 00:14:17 +00:00
christos 72fbacb380 Add -i (interactive mode to create/edit labels) inspired by the SunOS/Solaris
format/partition command.
1997-03-08 23:46:08 +00:00
cgd 245ccce34c Fix NetBSD RCS ID tag 1997-03-08 19:46:43 +00:00
mouse 80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
christos 6c522b4c82 Added fsirand 1997-03-07 20:17:19 +00:00
christos 4de052219b First pass at fsirand. Needs /dev/random to do things right. 1997-03-07 20:16:39 +00:00
thorpej ee5ba12678 Don't get stuck in an infinite loop if the msgbuf index is 0 or 1, from
enami tsugutomo <enami@ba2.so-net.or.jp>, PR #3285.
1997-03-06 23:55:12 +00:00
christos af9e021593 Added newfs_msdos 1997-03-01 19:46:36 +00:00
christos d5fff03ed1 From FreeBSD's mkdosfs:
- KNF
	- cleaned up a few typos.
	- use the msdosfs header files.
	- separated Makefile and Makefile.boot, since we cannot build
	  bootcode.h (yet)
ToDo:
	- Make it work on hard disks; only works on floppies
	- Make it accept an msdos.sys io.sys and a command.com, to make
	  a real dos bootable disk.
1997-03-01 19:42:54 +00:00
mikel b31dfde1ef set bflag so that 'dump bd M N' works properly. fix from Juergen
Hannken-Illjes in PR bin/3254.
1997-02-27 06:17:23 +00:00
carrel 533cb559da Remove uid checks since the kernel now handles this and route(1) is no
longer setuid.
Document the "Permission denied" msg in the man page since this is
_slightly_ less clear than route(1)'s old error msg.
1997-02-22 21:22:24 +00:00
thorpej c7e33aad6c Now that non-superuser can open the routing socket, this program no
longer needs to be setuid-root.  Superuser status is required to
alter the routing table, but is enforced by the kernel.
1997-02-22 03:49:31 +00:00
thorpej dd72c4e12f If root has no password, don't lock the operator out of single-user
mode if the console is "insecure".
1997-02-22 02:19:51 +00:00
mikel 9b8074878a use += instead of = for CFLAGS 1997-02-21 07:47:49 +00:00
mrg 1cf9e54f49 link ipl.4 to ipfilter.4 1997-02-18 21:28:53 +00:00
mrg cda4cfcedd note that ipfilter also includes PFIL_HOOKS. 1997-02-18 21:28:19 +00:00
matthias d67f3db782 The pc532 port now uses the new libkvm. 1997-02-08 09:38:06 +00:00
christos e7512e5a5e - resolve conflicts.
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c
1997-02-03 22:02:51 +00:00
christos 6cf225561b New version from ftp.sgi.com:sgi/src/routed.tar.Z 1997-02-03 21:06:26 +00:00
veego 8a514d0afa Remove the last change. fil.fr_icode ist char and NOT unsigned char.
Fix pr#3169
1997-01-31 10:10:11 +00:00
tls aeb2ee9ac9 add support for noatime mount flag 1997-01-30 09:56:10 +00:00
tls d0c43309b5 add support for noatime mount flag 1997-01-30 09:52:26 +00:00
thorpej 17aa7541b7 Add support to display the ccd-specific statistics kept by the ccd
driver.
1997-01-30 04:02:08 +00:00
mark ab4940de30 Cast -1 to an unsigned char for the test with fil.fr_icode as the fr_icode
field is declared as an unsigned char.
1997-01-29 18:39:47 +00:00
ws ac112dcf50 Shifting by 32 on a 32-bit machine is undefined
(and in fact -1 << 32 results in -1 on e.g. x86)
1997-01-29 12:07:26 +00:00