aboutsummaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Yet another buffer overflow.Guido van Rooij1997-01-014-9/+19
| | | | | | | | | 2.2 candidate (and -stable too actually, who does that?) Reviewed by: Warner Losh Notes: svn path=/head/; revision=21174
* Various security related deltas from OpenBSDWarner Losh1997-01-013-17/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dirs.c: From OpenBSD 1.2, 1.3, 1.5, 1.8, 1.10, 1.11, 1.12 1.2: use unique temporary files; netbsd pr#2544; lukem@supp.cpr.itg.telecom.com.au 1.3: updated patch from lukem@supp.cpr.itg.telecom.com.au to also make -r and -R work again 1.5: mktemp open & fdopen 1.8: /tmp// -> /tmp/ 1.10: Fix strncpy usage and correct strncat length field, from Theo. Also change some occurrence of MAXPATHLEN with sizeof(foo). 1.11: does noone know how to use strncat correctly? 1.12: use mkstemp() From NetBSD: Use open rather than create so we can specify exclusive open mode. main.c: From OpenBSD 1.2, 1.5 1.2: From NetBSD: support $TAPE. 1.5 Set umask to be read only by owner until we set real file permissions. tape.c: From NetBSD: Use open rather than create so we can specify exclusive open mode. Notes: svn path=/head/; revision=21149
* Backing out my change of /etc/rmt -> /usr/sbin/rmt.David E. O'Brien1996-12-292-2/+3
| | | | | | | | | | Added comments in both files stateing why /etc/rmt is correct so someone else wont do the same thing again. Suggested by: Warner Losh & Ollivier Notes: svn path=/head/; revision=21021
* rmt is /usr/sbin/rmt, not /etc/rmt which is a link to /usr/sbin/rmtDavid E. O'Brien1996-12-292-2/+2
| | | | Notes: svn path=/head/; revision=20996
* Add example for mount_mfs(8).Wolfram Schneider1996-12-261-1/+8
| | | | Notes: svn path=/head/; revision=20913
* comma typosWolfram Schneider1996-12-232-8/+9
| | | | Notes: svn path=/head/; revision=20888
* Minor mdoc/style fixes.Mike Pritchard1996-12-232-49/+42
| | | | Notes: svn path=/head/; revision=20837
* Convert to mdoc format.Mike Pritchard1996-12-232-304/+356
| | | | Notes: svn path=/head/; revision=20831
* FIx coredump with rtquery.Andrey A. Chernov1996-12-211-1/+1
| | | | | | | | It is just quick fix taken from new routed sources, full new routed importing I leave to wollman Notes: svn path=/head/; revision=20735
* Delete redundant include of <sys/time.h>Garrett Wollman1996-12-171-2/+1
| | | | Notes: svn path=/head/; revision=20610
* Merge from vendor branch.Garrett Wollman1996-12-172-7/+4
| | | | Notes: svn path=/head/; revision=20609
* This commit was generated by cvs2svn to compensate for changes in r20606,Garrett Wollman1996-12-174-56/+60
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=20607
| * Latest routed from Vern Schryver. This is supposed to fixvendor/SGI/vjs_961217Garrett Wollman1996-12-178-68/+69
| | | | | | | | | | | | | | | | | | | | Andrey's rtquery problem. Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/vendor/SGI/dist_v_2_21/; revision=20606 svn path=/vendor/SGI/vjs_961217/; revision=20608; tag=vendor/SGI/vjs_961217
* | Add multicast options -I (source interface), -T (set ttl), -L (no loopback).Bill Fenner1996-12-152-15/+80
| | | | | | | | | | | | | | | | | | | | They were all lowercase in the original, but our ping already uses -i and -l so I made them all uppercase. Obtained from: Multicast release 3.5 Notes: svn path=/head/; revision=20540
* | Now that all of the "standard" file system mount commandsMike Pritchard1996-12-146-399/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | refer the reader to the detailed information in section 5, remove the mount_* man pages for those file system. mount_std(8) to cover all of the file systems it is currently being used to mount. mount_{devfs, fdesc, kernfs, procfs}.8 are now MLINKS to mount_std. Notes: svn path=/head/; revision=20483
* | Refer the reader to devfs(5).Mike Pritchard1996-12-141-8/+0
| | | | | | | | Notes: svn path=/head/; revision=20481
* | Refer the reader to fdesc(5) for detailed info on the fdesc filesystem.Mike Pritchard1996-12-141-85/+11
| | | | | | | | Notes: svn path=/head/; revision=20470
* | Remove the descriptions of the files in /kern and referMike Pritchard1996-12-141-40/+8
| | | | | | | | | | | | | | | | the reader to kernfs(5) so that the information only has to be maintained in one place. Notes: svn path=/head/; revision=20467
* | Update the newfs(8) man page to reflect currentMike Pritchard1996-12-141-4/+10
| | | | | | | | | | | | | | default values for some options better. Closes PR# 1374. Notes: svn path=/head/; revision=20463
* | Remove the detailed description of the files in /procMike Pritchard1996-12-141-156/+11
| | | | | | | | | | | | | | | | | | and instead refer the reader to procfs(5) so that the information does not need to be maintained in two places. Notes: svn path=/head/; revision=20461
* | Merge from vendor branch.Garrett Wollman1996-12-115-76/+132
| | | | | | | | Notes: svn path=/head/; revision=20342
* | This commit was generated by cvs2svn to compensate for changes in r20339,Garrett Wollman1996-12-116-417/+530
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=20340
| * New version of Vern's routed. This includes more byte-order fixes,vendor/SGI/vjs_961211Garrett Wollman1996-12-1114-497/+668
| | | | | | | | | | | | | | | | | | | | | | some MD5 fixes, better tracing, configurable redirect processing, and a fix to split-horizon/poisoned-reverse treatment. Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/vendor/SGI/dist_v_2_21/; revision=20339 svn path=/vendor/SGI/vjs_961211/; revision=20341; tag=vendor/SGI/vjs_961211
* | Fix if.h lossage. I could have sworn I already fixed this one.Garrett Wollman1996-12-101-2/+3
| | | | | | | | Notes: svn path=/head/; revision=20295
* | Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadGarrett Wollman1996-12-106-39/+53
| | | | | | | | | | | | | | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it. Notes: svn path=/head/; revision=20287
* | Cleaned up recent SIGINFO changes.Bruce Evans1996-12-101-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplified average calculations. This also fixes potential overflow errors and minor rounding inconsistencies (always round to nearest now). Don't lose more SIGINFOs than necessary. Print \r at the start of the status message. This clears the dots that are sometimes left by ping -f. Reviewed by: sef Notes: svn path=/head/; revision=20280
* | Improve the format of the usage string output.Mike Pritchard1996-12-092-7/+6
| | | | | | | | | | | | | | Submitted by: Sandro Sigala <sandro@cat.locao.net> as part of PR# 2134 Notes: svn path=/head/; revision=20246
* | Minor formatting/style fixes.Mike Pritchard1996-12-095-27/+15
| | | | | | | | | | | | | | Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR# 2134 Notes: svn path=/head/; revision=20245
* | Fix typo in last patch. empty!=emtpyPaul Traina1996-12-081-1/+1
| | | | | | | | Notes: svn path=/head/; revision=20205
* | Change how SIGINFO is handled -- set a flag (of sig_atomic_t), and checkSean Eric Fagan1996-12-071-15/+34
| | | | | | | | | | | | | | | | | | | | that flag on every iteration of the loop. This avoids calling fprintf inside a signal handler, which is always somewhat icky. Reviewed by: bde Notes: svn path=/head/; revision=20195
* | Fix math in SIGINFO printer.Bill Fenner1996-12-021-2/+2
| | | | | | | | Notes: svn path=/head/; revision=20099
* | This update adds the support for != 512 byte sector SCSI devices toSøren Schmidt1996-12-014-13/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the sd & od drivers. There is also slight changes to fdisk & newfs in order to comply with different sectorsizes. Currently sectors of size 512, 1024 & 2048 are supported, the only restriction beeing in fdisk, which hunts for the sectorsize of the device. This is based on patches to od.c and the other system files by John Gumb & Barry Scott, minor changes and the sd.c patches by me. There also exist some patches for the msdos filesys code, but I havn't been able to test those (yet). John Gumb (john@talisker.demon.co.uk) Barry Scott (barry@scottb.demon.co.uk) Notes: svn path=/head/; revision=20061
* | Fix lots of non-bug questionable code:Garrett Wollman1996-11-212-112/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Don't link against libkvm and don't uselessly include <kvm.h>. - Declare constant objects as const. - Declare functions with the correct types. - Call functions with the correct parameters. Not fixed: - The sysctl parsing remains ugly (but it may be the best we can do). - atnetrange() should use strtoul() rather than sscanf() for better error checking. Notes: svn path=/head/; revision=19914
* | For some reason the merge of this file didn't get committed properly.Garrett Wollman1996-11-201-36/+71
| | | | | | | | | | | | | | | | | | Who has the conical hat? Make things compile again. Notes: svn path=/head/; revision=19896
* | Merge from vendor branch and use system MD5 library.Garrett Wollman1996-11-199-922/+203
| | | | | | | | Notes: svn path=/head/; revision=19885
* | This commit was generated by cvs2svn to compensate for changes in r19882,Garrett Wollman1996-11-191-0/+325
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=19883
| * Last import was botched. Fix it.vendor/SGI/vjs_961119Garrett Wollman1996-11-193-5/+348
| | | | | | | | | | Notes: svn path=/vendor/SGI/dist2/; revision=19882 svn path=/vendor/SGI/vjs_961119/; revision=19884; tag=vendor/SGI/vjs_961119
* | This commit was generated by cvs2svn to compensate for changes in r19880,Garrett Wollman1996-11-1910-830/+2295
|\| | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=19881
| * Latest version of SGI routed courtesy of Vern Schryver. This versionGarrett Wollman1996-11-1916-960/+2403
| | | | | | | | | | | | | | | | | | | | adds the capability to use MD5 authentication as defined in the latest documents. Submitted by: Vernon J. Schryver <vjs@mica.denver.sgi.com> Notes: svn path=/vendor/SGI/dist2/; revision=19880
* | Move the terminal handling code to a later location; this allowsSean Eric Fagan1996-11-191-5/+6
| | | | | | | | | | | | | | | | | | | | the signal handlers to be set up; it also means that a failed name lookup won't mess up the nokerninfo setting of the tty. Reviewed by: pst, nate Notes: svn path=/head/; revision=19864
* | Submitted by: Archie@whistle.comJulian Elischer1996-11-133-3/+27
| | | | | | | | | | | | | | clear the fmod flag if it's set. Notes: svn path=/head/; revision=19702
* | Add mount_msdos(8) referenceAndrey A. Chernov1996-11-102-2/+4
| | | | | | | | | | | | | | 2.2 candidate Notes: svn path=/head/; revision=19592
* | Document that "ldconfig -m" rescans all directories previouslyJohn Polstra1996-11-091-3/+6
| | | | | | | | | | | | | | | | | | | | entered into the hints file, in addition to the directories named on the command line. 2.2 Candidate. Notes: svn path=/head/; revision=19584
* | Fixed a bug in the handling of the directories in the search pathJohn Polstra1996-11-081-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that is stored in the hints file. If that search path contained a non-existent directory (one, say, that had been removed), and "ldconfig -m /a/perfectly/good/directory" was run, ldconfig returned an error status without printing an error message. This caused some confusing bombs when installing ports, in particular. I changed it so that non-existent directories from the stored search path are silently ignored. Only non-existent directories named explicitly on the command line are treated as errors. Also, a diagnostic is printed if and only if an error status is returned. In an unrelated fix, ldconfig now silently ignores any directories named on the command line when the "-r" option is given. Formerly, these directories incorrectly made their way into the "search directories" line of the listing. It really should be an error to specify directories together with "-r", but I don't have time to fix the manual page in that way right now. 2.2 Candidate. Notes: svn path=/head/; revision=19522
* | Allow fdisk to be driven from a configuration file, making a 3rd-partyJordan K. Hubbard1996-11-064-102/+1542
| | | | | | | | | | | | | | | | | | | | utility for front-ending its operation more of a possibility. 2.2-RELEASE candiate. Closes PR#1960 Submitted-By: Darryl Okahata <darrylo@hpnmhjw.sr.hp.com> Notes: svn path=/head/; revision=19459
* | Fix a spelling error.John Polstra1996-11-051-1/+1
| | | | | | | | | | | | | | 2.2 Candidate. Notes: svn path=/head/; revision=19436
* | Fixed backgrounding of ping, which was broken by the ^T changes in rev.1.3.Bruce Evans1996-11-041-4/+4
| | | | | | | | Notes: svn path=/head/; revision=19395
* | fix usage stringWolfram Schneider1996-11-042-8/+8
| | | | | | | | Notes: svn path=/head/; revision=19376
* | Delete another unnecessary #include <sys/mbuf.h>.Garrett Wollman1996-11-011-2/+1
| | | | | | | | Notes: svn path=/head/; revision=19321
* | Use fprintf(stderr,) instead of msgtail() so it works for restore as well.Bill Fenner1996-11-011-0/+1
| | | | | | | | Notes: svn path=/head/; revision=19317