summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix uninitialized variables that cause a crash when the network israndi2010-06-101-0/+3
| | | | | | | | initialized and sysinstall is not running as init. Submitted by: Nick Mills Approved by: cperciva (mentor) MFC after: 3 days
* mdoc: replace troff macros with -mdoc equivalentsuqs2010-06-082-25/+21
|
* Fix warnings found by Coverity.fabient2010-06-053-4/+8
| | | | | Found with: Coverity Prevent(tm) MFC after: 1 month
* Add comment that this value is unused.edwin2010-06-051-1/+1
| | | | | | | It is obvious that it isn't used, but both clang and Coverity talk about it. Found with: Coverity Prevent(tm) CID: 8066
* When there is a problem with writing, also bail out.edwin2010-06-051-1/+2
| | | | Found with the clang checker.
* Plug resource leak.trasz2010-06-051-0/+1
| | | | | Found with: Coverity Prevent CID: 7040
* Make chown(1) emit more useful error message when user/group name is invalid.trasz2010-06-031-3/+1
|
* Add file include processing for newsyslog.gordon2010-05-292-19/+116
| | | | | | | | | | | | | Format for the include line in /etc/newsyslog.conf is: <include> /etc/defaults/newsyslog.conf Other notes of interest: Globbing is supported in <include> statements. Properly detect circular include loop dependencies. Reviewed by: gad@ Approved by: wes@ (mentor) MFC after: 2 months
* Convert newsyslog to using queue(3) macros instead of a home rolled version.gordon2010-05-291-113/+71
| | | | | | Reviewed by: gad@ Approved by: wes@ (mentor) MFC after: 2 months
* mdoc: use mdoc spelling of Umlautsuqs2010-05-271-1/+1
|
* mdoc: .Ud has attitude, it takes no argument!uqs2010-05-271-1/+1
|
* mdoc: Garbage collect unused/unneeded macrosuqs2010-05-272-2/+2
|
* mdoc: Remove leading garbage, empty lines and order preambleuqs2010-05-273-4/+1
|
* Change the current working directory to be inside the jail created bycperciva2010-05-271-0/+4
| | | | | | | | | | | | | | the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05] Correctly sanity-check a buffer length in nfs mount. [10:06] Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-10:04.jail Security: FreeBSD-SA-10:05.opie Security: FreeBSD-SA-10:06.nfsclient
* Cleanup manpage as suggested by jhb@ to start new sentences on a new line.sbruno2010-05-241-3/+3
| | | | MFC after: 2 Weeks
* Explain how the new sub-second interval from changeset:208389 works.sbruno2010-05-231-1/+8
| | | | | | Approved by: scottl(mentor) Obtained from: Yahoo Inc. MFC after: 2 weeks
* Flush all routes before adding the default route in order to allowrandi2010-05-221-2/+12
| | | | | | | | | sysinstall to cleanly re-initialize the network. PR: bin/145553 Submitted by: gcooper Approved by: cperciva (mentor) MFC after: 3 days
* Allow sub-second interval timings for iostat and vmstat.sbruno2010-05-212-6/+12
| | | | | | | | | | | e.g. vmstat -w.5 iostat -w.5 Reviewed by: jhb Approved by: scottl (mentor) Obtained from: Yahoo Inc. MFC after: 2 weeks
* Add a new build option, MAN_UTILS. This option lets you control buildingjkim2010-05-191-1/+5
| | | | | | | | | utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch is slightly improved by me from: PR: misc/145212
* mdoc: consistently spell our email addresses <foo@FreeBSD.org>uqs2010-05-1910-13/+13
| | | | Reviewed by: ru
* Garbage collect unused variable, missed in r200840uqs2010-05-191-5/+0
| | | | Found by: clang static analyzer
* - Fix terminating argument to execl(3), sizeof(NULL) != sizeof(char *)uqs2010-05-193-23/+11
| | | | | | | | | | | might be true on some systems [1] - Rewrite gotos to use return directly - Some spelling fixes - Reduce unneeded/non-standard Makefile settings Requested by: bde, imp [1] Explanation provided by: bde [1] Reviewed by: imp
* Add a sentence to the man page explaining that the -d optionbcr2010-05-181-1/+4
| | | | | | | | | can only be used when ntpd is compiled with DEBUG support. PR: docs/138206 Submitted by: Oliver Pinter (oliver dot pntr at gmail dot com) MFC after: 5 days Approved by: roberto
* Slightly improve wording.ivoras2010-05-171-1/+2
|
* Do not attempt to render a logrecord with length byte, until we havephk2010-05-151-0/+2
| | | | decompressed all the bytes required.
* Hide the creation and population of the temprootdougb2010-05-141-5/+5
|
* Sync apmd(8) with DragonflyBSD, bringing WARNS to 3uqs2010-05-146-40/+68
| | | | Reviewed by: ed (partial, long time ago)
* Wording fixes.brueffer2010-05-141-2/+2
| | | | | | PR: 143454 Submitted by: Warren Block <wblock@wonkity.com> MFC after: 3 days
* List /var/cron/tabs in FILES and add descriptions for the other entries.brueffer2010-05-141-1/+5
| | | | | | | PR: 145912 Submitted by: Julian H. Stacey <jhs@berklix.com> Obtained from: OpenBSD MFC after: 1 week
* mdoc: move remaining sections into consistent orderuqs2010-05-139-47/+47
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theuqs2010-05-139-90/+90
| | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru
* extattr: Fix a signed/unsigned issuezml2010-05-121-2/+5
| | | | | Submitted by: Matthew Fleming <matthew.fleming@isilon.com> Reviewed by: zml, dfr
* The -d flag is non-optional.brueffer2010-05-121-2/+2
| | | | | | PR: 143694 Submitted by: Nikolai Saoukh <nms+bsd@otdel-1.org> MFC after: 1 week
* Catch up with libusbhid merge (rev 205728).kaiw2010-05-091-11/+5
| | | | | | | | | | | | | | hid_get_data() now expects that the hid data passed in always contains the report ID byte. Thus we should not skip the the report ID byte in hid_interrupt(). Also, if HUP_KEYBOARD usage is an array, do not try to modify the 'data' pointer, instead, increase the hid_item_t field 'pos' by 'report_size' before calling hid_get_data() during each iteration. PR: usb/146367 Reported and tested by: Alex Deiter Pointy hat to: kaiw Reviewed by: emax
* Rework the calltree top view by critical callchain.fabient2010-05-071-86/+104
| | | | | | The percentage show is the sum of the cost for the codepath. MFC after: 1 week
* Merger of the quota64 project into head.mckusick2010-05-078-491/+490
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who want to put 2+Tb quotas on your users). By default quotas are not compiled into the kernel. To include them in your kernel configuration you need to specify: options QUOTA # Enable FFS quotas If you are already running with the current 32-bit quotas, they should continue to work just as they have in the past. If you wish to convert to using 64-bit quotas, use `quotacheck -c 64'; if you wish to revert from 64-bit quotas back to 32-bit quotas, use `quotacheck -c 32'. There is a new library of functions to simplify the use of the quota system, do `man quotafile' for details. If your application is currently using the quotactl(2), it is highly recommended that you convert your application to use the quotafile interface. Note that existing binaries will continue to work. Special thanks to John Kozubik of rsync.net for getting me interested in pursuing 64-bit quota support and for funding part of my development time on this project.
| * Final update to current version of head in preparation for reintegration.mckusick2010-05-0610-116/+371
| |\
| * \ Update to current version of head.mckusick2010-04-28115-3567/+1915
| |\ \
| * | | Debugging nits found while testing the new 64-bit quota code.mckusick2010-03-161-1/+1
| | | |
| * | | IFH@204581des2010-03-04357-8721/+8272
| |\ \ \
| * | | | Fix warnings + indentation + utmpxdes2010-03-041-23/+25
| | | | |
| * | | | Convert quotaon/quotaoff to use the new quotafile functions.mckusick2009-11-162-96/+29
| | | | |
| * | | | Claen up format when doing non-humanized output.mckusick2009-10-201-2/+4
| | | | |
| * | | | Update to work with quotafile functions in -libutil.mckusick2009-10-201-0/+2
| | | | |
| * | | | Update to work with quotafile functions in -libutil.mckusick2009-10-202-119/+84
| | | | | | | | | | | | | | | | | | | | Add -h flag to provide humanized output.
| * | | | type / format fixupdes2009-09-271-32/+38
| | | | |
| * | | | Sync with headdes2009-09-254-10/+10
| |\ \ \ \
| * \ \ \ \ Merge from headdes2009-09-17327-30328/+21337
| |\ \ \ \ \
| * \ \ \ \ \ Merge from head up to r188941 (last revision before the USB stack switch)des2009-09-17139-1570/+13334
| |\ \ \ \ \ \
| * | | | | | | Update the quotafile library to manage both active quotas via themckusick2009-02-141-89/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | quotactl(2) interface and inactive quotas by accessing the quota files directly. Update the edquota program to use this new interface as proof of concept.
OpenPOWER on IntegriCloud