summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fold ANDREW_LOCKD into -current.alfred2001-11-293-566/+1965
|
* Fix a bug about CIS string comparison. Pccardd should be able to distinguishiwasaki2001-11-291-0/+4
| | | | | | | | | | | card "MELCO" "LPC2-T" and card "MELCO" "LPC2-TX" by this fix. Reported by: Kitagawa Shoichi <sk@xstar.kiu.ac.jp>, NINOMIYA Hideyuki <nin@shikoku.ne.jp> MFC after: 1 week
* Add a BUGS section noting that the basename of a directory containingcjc2001-11-281-1/+10
| | | | | | periodic(8) scripts must be useable as a sh(1) variable. MFC after: 2 days
* My recent changes to add the ctl_renametf routine assumed that print jobgad2001-11-282-21/+38
| | | | | | | | | | | control-files will always start with 'cfA*'. It turns out that some implementations of lpd (such as solaris) may send a control file which starts with 'cfB*', or really 'cf<anyLetter>*'. Although such filenames are very odd, we did used to accept them. This changes ctl_renametf to work correctly with them, and fixes up 'lpc clean' to match. PR: bin/32183 MFC after: 10 days
* Make the default kernel prefix "kernel:" instead of the boot file,dd2001-11-272-4/+25
| | | | | | | | | | | | | with the old behavior available via the -o option (it might still be useful if one has many kernels and cares which messages came from which). If the boot file is not used as the prefix, it is still logged once at startup. This change is prompted by the fact that the boot file is now much longer ("/boot/kernel/kernel" vs. "/kernel"), which significanlty bloats the syslogd output. Reviewed by: peter
* Make extattrctl WARNS?=2-safe:jedgar2001-11-272-8/+7
| | | | | | | | | | o remove extraneous extern's o prototype functions o combine multiple return (0)'s into a single return (0) at the end of main() Approved by: rwatson Obtained from: TrustedBSD Project
* Re-connect NTP docs to build.ru2001-11-271-1/+1
|
* Add missing -v option to the SYNOPSIS.sheldonh2001-11-271-1/+1
|
* Change the recently-added 'o'-processing so it maps to 'l' instead of 'f'.gad2001-11-272-10/+15
| | | | | | | | 'l' ("plain text which includes control characters") is somewhat more appropriate for 'o' ("postscript files"), and in fact some printers treat 'l' as a request to print a postscript file. MFC after: 1 week
* Grammar police (system console terminal type menu).bmah2001-11-262-8/+8
|
* Use 'GET' method instaed of 'HEAD', since some proxy server doesn't workmatusita2001-11-251-1/+30
| | | | | | | | | | | | | | | | | | with 'HEAD' method. Actually, when http.c was born, it used 'GET' method. This was changed with revision 1.4 (which was submitted as PR: 21449). I've confirmed to Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>, the submitter of PR: 21449, and it's absolutely OK that we can use GET method. Add missing 'FreeBSD' tag, and copyright notice. This file is originally submitted by PR: 11316; I've contacted to the PR originator to submit it. PR: 32238 Submitted by: Christoph Weber-Fahr <christoph.weber-fahr@arcor.de> (patch), and Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de> (copyright) MFC after: 1 week
* Spelling police: sucessful -> successful.dd2001-11-241-1/+1
|
* Talk about what the user needs to do to get the snp devices, and howdd2001-11-241-2/+12
| | | | | | watch(8) will try to help them by loading the module. PR: 25420
* Change 'superuser' to 'user' which was forgotten in the previousdd2001-11-241-2/+1
| | | | delta. Remove fake SCCS id while I'm here.
* Remove the sentence about only root being able to run watch(8). Itdd2001-11-241-14/+10
| | | | | | | | was never technically true (it's snp(4) that required root, not watch(8)), and after snp.c 1.64, isn't even effectively true, since who can run watch(8) depends on the permissions of the snp device(s). Sort options in SYNOPSIS and DESCRIPTION while I'm here.
* Add an -f option which allows one to specify a snp device to use.dd2001-11-242-8/+30
| | | | | | | Previously, watch would always use the first device it could successfully open, but this isn't always desired. Specifically, it may not be desired during debugging (of snp), or if a particular snp device has different permissions (which makes since after snp.c 1.64).
* Remove the hack that ensures that rt_Update() works on FreeBSD. Nowbrian2001-11-231-23/+5
| | | | | that the ncpaddr code doesn't create default routes with non-zero masks, everything works as it should.
* When writing messages to the routing socket, round sockaddr sizesbrian2001-11-231-12/+19
| | | | | | | up in the same way that we expect them to be when we read them. This is a no-op on i386 and probably on alphas, as we currently only support AF_INET and AF_INET6.
* Be paranoid about non-zero netmasks being associated with INET addressesbrian2001-11-232-5/+20
| | | | | | | | | | | | | of 0.0.0.0. The OpenBSD PF_ROUTE/NET_RT_DUMP sysctl is sending back routes with RTAX_NETMASK set, but the corresponding sockaddr being 4 zero bytes (with an address family of zero). ppp was getting confused by this and ending up interpreting it as a 0.0.0.0/32 routing table destination and subsequently failing to do anything with the route. Specifically, after this fix, ppp under OpenBSD can successfully change and delete the default route again !
* Remove an unused variable (oops)brian2001-11-231-1/+1
|
* Don't adjust_linklocal() when pulling a sockaddr out of an ncpaddr orbrian2001-11-233-10/+18
| | | | | | | | | | | | | ncprange structure. Don't write() the netmask for IPv6 sockaddrs to the routing socket if the prefixlen is 128. It seems that messages written to the routing socket with the scopeid set for link local addresses are not understood. Instead, we have to put the scopeid in the 5th and 6th bytes of the address (see adjust_linklocal() in ncpaddr.c). I think this may be a bug in the KAME implementation - it should really understand both forms.
* Remove a bogus log_Id() declbrian2001-11-231-1/+0
|
* Add us-ascii_to_cp437 screenmapache2001-11-232-4/+6
|
* Fix usage for the log commandbrian2001-11-231-1/+1
|
* Whitespace tweakbrian2001-11-231-1/+1
|
* Add fonts,screenmaps,console typesache2001-11-232-24/+50
|
* mdoc(7) police: oops, didn't catch this one without ispell(1).ru2001-11-221-1/+1
|
* mdoc(7) police: tiny markup fixes.ru2001-11-221-5/+6
|
* Expand the first argument of the ``log'' command if it's a variable.brian2001-11-221-1/+1
|
* Choose more paranoid modes for the temporary directory so the user can'tjkh2001-11-221-1/+1
| | | | | | easily browse its contents. Noted by: Antoine
* Document that an UPTIME variable is now availablebrian2001-11-221-0/+2
|
* Grammatical fixes over previous commit.rwatson2001-11-201-6/+6
| | | | Submitted by: ru
* mdoc(7) police: fix markup and spelling.ru2001-11-201-14/+16
|
* mdoc(7) police: bump document date, fix markup.ru2001-11-201-7/+13
|
* mdoc(7) police: Fix markup.ru2001-11-201-40/+45
|
* Unifdef all the SGI code. It mainly added clutter while providing somejhb2001-11-2010-342/+4
| | | | | | | specialized logging, SGI-specific priority massaging, and SCI-specific time trimming support. Also add missing $FreeBSD$'s. Inspired by: NetBSD
* Use fixed-size fields in the structure for the timed protocol. Thisjhb2001-11-203-13/+28
| | | | | | | | | includes changing a struct timeval to an explicit structure of two int32_t's. This requires using temporary timevals in several places when calling gettimeofday(), settimeofday(), etc. With this timed now works properly on 64-bit platforms such as Alpha. Obtained from: NetBSD
* Close files only if the fp is != NULL.hm2001-11-191-7/+6
| | | | | | | PR: bin/31913 Submitted by: Harald Hanche-Olsen <hanche@math.ntnu.no> Reviewed by: hm MFC after: 1 week
* Remove a duplicate word.murray2001-11-191-2/+1
| | | | | | PR: docs/32087 Submitted by: setantae@submonkey.net MFC After: 2 days
* Allow the path for /dev and the location of the database file toiedowse2001-11-182-14/+33
| | | | | | | | | be overridden on the command line. This is useful for setting up chroot/jail environments. PR: bin/23509 Submitted by: Seth Kingsley <sethk@pike.osd.bsdi.com> MFC after: 1 week
* o Allow rarpd to accept an additional '-t directory' argument, specifyingrwatson2001-11-162-1/+17
| | | | | | | | | an alternative to /tftpboot. This is useful it you're using tftpd with an alternative root (using -s), and would like rarpd to respond selectively to RARP requests using the same criteria as tftp. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* o Reflect moving of extattr_namespace calls to libc from libutil; norwatson2001-11-163-9/+0
| | | | | | | longer need to link libutil into command-line extended attribute utilities. Obtained from: TrustedBSD Project
* o Update copyright dates, comments...rwatson2001-11-152-3/+11
| | | | Obtained from: TrustedBSD Project
* o extattrctl initattr, when pre-allocating store for extended attributes,rwatson2001-11-151-4/+4
| | | | | | | | | | | | computed a a chunksize that didn't include the extended attribute header. This was a non-fatal error, in that it was just writing out zeros anyway, but did have the effect of not pre-allocating the right amount of disk space. This fix calculates chunksize to include the attribute header. Submitted by: Dale Rahn Sponsored by: DARPA, UPenn POSSE Project Obtained from: OpenBSD
* Improve recently committed fix for -t bug.sobomax2001-11-151-1/+1
| | | | | Submitted by: "Andrew L. Neporada" <andr@dgap.mipt.ru> MFC after: 3 days
* Fix the type of the NULL arg to execl().obrien2001-11-141-1/+1
|
* If the mask length is zero, there is no need to convert it to aps2001-11-141-1/+4
| | | | | | | | netmask. PR: 31947 Submitted by: Aaron Scarisbrick <aaronsca@hotmail.com> MFC after: 1 week
* Turn on NO_WERROR and set WARNS to 1.alfred2001-11-135-20/+27
| | | | | | | | | | | | Fix the WARNS 1 warnings except unused variables. Add prototype for log_netobj(). Don't compare signed/unsigned. Cast u_int64_t to 'unsigned long long' and print using %llu. Fix constness of string arrays. Use a cast to avoid an unused parameter in a signal handler. alarm(2) can't fail, so don't check for it. ANSI'ify some functions.
* fix parameters to lock_answer().alfred2001-11-121-1/+1
| | | | Submitted by: Timo Geusch <freebsd@unix-consult.com>
* Fixup for WARNS.alfred2001-11-121-6/+9
|
OpenPOWER on IntegriCloud