summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Back out revision 1.317 -- diskcheckd enabled/disabled fromobrien2001-08-292-4/+0
| | | | | post-configuration "Startup" menu. diskcheckd now lives in ports/sysutils
* Remove `diskcheckd'. It is now in ports/sysutils.obrien2001-08-281-1/+0
| | | | Consensus on: freebsd-current.
* Remove `diskcheckd'. It is now in ports/sysutils.obrien2001-08-283-1062/+0
| | | | Consensus on: freebsd-current.
* o Allow diskcheckd to be enabled/disabled from within sysinstall using therwatson2001-08-282-0/+4
| | | | | | | post-configuration "Startup" menu. In the event that diskcheckd is removed, this can easily be trimmed also; in the mean time, it allows diskcheckd to be easily disabled using our documented management tool
* Fix some small errors and markup nits.cjc2001-08-281-9/+8
| | | | | Approved by: ru MFC after: 2 days
* Gives syslogd(8) the ability to refresh its idea of the hostname ofcjc2001-08-271-7/+27
| | | | | | | | | | | the system on which it is running. The hostname is reloaded when 'HUPped' and a log message generated to note a change (before anyone points it out, this is not an added security feature). PR: bin/24444 Reviewed by: freebsd-audit Approved by: ru MFC after: 2 weeks
* Some cosmetic changes to sync with OpenBSDbrian2001-08-272-1/+4
|
* This is not jail(2), or anything else suitable to be referenced with .Fn.dd2001-08-271-2/+2
|
* Don't make it sound like -A is turning on the default behavior.dd2001-08-271-0/+1
|
* Send a reset request for every packet received when our encryptionbrian2001-08-271-0/+2
| | | | | | | | | | | dictionaries are out of sync. This avoids the complications that happen when our original reset request gets lost in transit (quite likely in hind sight, given a lossy link) when we end up ignoring the peer for the next (up to) 256 packets. Submitted by: Nick Sayer <nsayer@quack.kfu.com>
* Enable hardwiring of things like tunables from embedded enironmentspeter2001-08-275-14/+61
| | | | that do not start from loader(8).
* Handle return values of 0 from NgRecvMsg() properly.brian2001-08-241-2/+2
|
* Bring in some iostat fixes that bde reminded me about. These fixes wereken2001-08-232-95/+125
| | | | | | | | | | | | | | | | originally written in January, 2000, but have been substantially updated. - No longer use hz/stathz and the CPU times in computing the TTY stats, but rather use etime, like the disk stats. - Clean up malloc/realloc failure tests. - Use a new integrated routine to fetch devstat information via sysctl or KVM. - Get rid of the X() macro for calculating CPU stats - Use rint() on the CPU state display to avoid truncation errors. (this requires libm) - Clean up flag usage somewhat. Reviewed by: bde
* Properly initialize the random number generator in pw_getpass().joerg2001-08-211-0/+1
| | | | | | | Right now, the automatically generated passwords have been rather predictable. :-( MFC after: 1 day
* o Enable IFF_MULTICAST when first opening the tun device (and keep the flagbrian2001-08-213-11/+11
| | | | | | when we ioctl(TUNSIFINFO) under OpenBSD) o Don't bring the interface up immediately o Don't complain about unrecognised interface flags in ``show iface''.
* Fix a typo in a variable name that made pw(8) coredump when usingjoerg2001-08-211-1/+1
| | | | | | USE_MD5RAND. MFC after: 2 days
* Handle snprintf() returning < 0 (not just -1)brian2001-08-207-12/+16
| | | | MFC after: 2 weeks
* Handle ftp_copycommand() and ftp_copyresult() potentially returning < -1.brian2001-08-201-12/+4
|
* Handle snprintf() returning -1.brian2001-08-209-54/+62
| | | | MFC after: 2 weeks
* Properly change old interface addresses so that their destination isbrian2001-08-201-1/+2
| | | | 255.255.255.255 if our new destination address conflicts.
* Add some comments to explain what's going on herebrian2001-08-201-9/+21
|
* mdoc(7) police: simplify literal display block.ru2001-08-201-2/+4
|
* The timed protocol is not implemented in a compatible way by all vendors;kris2001-08-202-7/+23
| | | | | | | | | | | | | | the size of the tsp_name field is OS-dependent. 4.3BSD used a 32-byte field, FreeBSD uses MAXHOSTNAMELEN and RedHat apparently uses a 64-byte field. As a result, sanity checking code added a few months ago to detect short packets will fail when interoperating with one of these other vendors. Change the short packet detection code to expect a minimum packet size corresponding to the 4.3BSD implementation, which should be a safe minimum size. Submitted by: Stephen Whiteley <stevew@best.com> (based on) PR: misc/29867
* Pass the username we just made to pwd_mkdb so that the latter doesn'tdd2001-08-201-3/+4
| | | | | | | have to regenerate the entire database. PR: 25798 Submitted by: Domas Mituzas <domas.mituzas@delfi.lt>
* When attempting to change the default route, don't write the gatewaybrian2001-08-201-7/+26
| | | | | | | | | | and mask to the routing socket, otherwise the update fails. Warning provided by: markm The code here was broken for FreeBSD when IPv6 support was added, but was fixed for OpenBSD. OpenBSD expects the gateway and mask to be supplied and fails the update otherwise.
* Capitalize the first word in sentences, and put periods at the end ofdd2001-08-201-3/+3
| | | | sentences.
* Add some casts.brian2001-08-192-3/+3
| | | | | Not spotted by: FreeBSD's gcc version 2.95.3 20010315 (release) Spotted by: OpenBSD's gcc version 2.95.3 20010125 (prerelease)
* Add a missing % in a format string.brian2001-08-191-1/+1
| | | | | Not spotted by: FreeBSD's gcc version 2.95.3 20010315 (release) Spotted by: OpenBSD's gcc version 2.95.3 20010125 (prerelease)
* Avoid a compiler warningbrian2001-08-191-0/+2
| | | | | Not spotted by: FreeBSD's gcc version 2.95.3 20010315 (release) Spotted by: OpenBSD's gcc version 2.95.3 20010125 (prerelease)
* Fix ISA machines. Also, make it possible for the new pccardd to runimp2001-08-191-40/+61
| | | | | | | | on older kernels correctly. Terminate the loop when we find a suitable irq. Also, only try to select from the pool. Cleaned up the two cases (IRQ picked by the user and ?) into one. MFC upon re approval.
* Silence non-constant format string warnings by marking functionskris2001-08-191-1/+1
| | | | | | | as __printflike()/__printf0like(), adding const, or adding missing "%s" format strings, as appropriate. MFC after: 2 weeks
* Better handling of the return from snprintfbrian2001-08-181-3/+8
|
* Better handling for the return of snprintf().brian2001-08-182-5/+12
|
* If AF_INET6 isn't available in the kernel, revert to creating AF_INETbrian2001-08-181-15/+19
| | | | listening sockets in ``set server''.
* Back out the previous fix to deal with kernels that don't support IPv6,brian2001-08-186-69/+44
| | | | | | | | | | | | | | | and implement a far more subtle and correct fix. The reason behind the infinite loop was that ppp was trying to make up initial IPv6 numbers and wasn't giving up when it failed unexpectedly to assign the addresses it just fabricated to it's interface (thinking that the reason was because another interface was using the same address). It now attempts this up to 100 times before just failing and trying to muddle along (in reality, this should never happen more than a couple of times unless our random number generator doesn't work). Also, when IPv6 is not available, don't even try to assign the IPv6 interface address in the first place...
* Run correctly on a machine built without AF_INET6 supportbrian2001-08-186-33/+65
|
* Build properly with -DNOINET6brian2001-08-181-2/+2
|
* Build properly with -DNOIPV6brian2001-08-181-0/+2
|
* Correct path (../crypto, not ../../crypto)peter2001-08-181-5/+2
|
* Removed the (possible) ambiguity in /etc/rc.conf comment.ru2001-08-172-4/+4
| | | | PR: bin/29736
* The ports that convert screendumps into text or png called scr2*, notsobomax2001-08-171-2/+4
| | | | | | | shot2*. PR: Submitted by: Olexander Kunytsa
* Make source crunches work as well as object crunches; broken in thejoe2001-08-171-1/+1
| | | | | | last commit that fixed object crunches. Repeat after me, "no excuses for not testing".
* Add two missing includesbrian2001-08-161-0/+2
|
* Remove an unused variablebrian2001-08-161-1/+0
|
* Fix the @monthly and @weekly shortcuts so that they actually runmikeh2001-08-161-0/+3
| | | | | | | | monthly and weekly, respectively. Also fix the @yearly shortcut so that it doesn't execute daily during January. OpenBSD and NetBSD also appear to have this bug. PR: bin/21152
* mdoc(7) police: markup nit, removed whitespace at EOL.ru2001-08-161-4/+6
|
* Specify the gateway address when updating the MTU and send/recv pipebrian2001-08-166-31/+69
| | | | | | | | | | sizes on a route. IMHO this shouldn't be necessary (the destination & mask/prefixlen should be enough), but without it, the default route update under OpenBSD will fail. Thanks to: Russell T Hunt <alaric@MIT.EDU>
* Fix a couple of forgotten commentsbrian2001-08-161-3/+3
|
* o Improve terminology consistency for security profile functionality:rwatson2001-08-152-2/+2
| | | | | | | | | the name for the moderate security profile is "moderate", not "medium", so update this one reference to it as "medium". This is a 4.4-RELEASE MFC candidate. MFC after: 2 days
* Sysinstall inserts a comment between changes to /etc/rc.conf.joe2001-08-152-2/+8
| | | | | | | | Add a timestamp to the comment so that it's possible to see when changes were made. e.g.: # -- sysinstall generated deltas -- # Wed Aug 15 18:10:20 2001
OpenPOWER on IntegriCloud