summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilitiesmckusick2011-01-243-1/+3
| | | | | | | | | | | | | | include sys/time.h instead of time.h. This include is incorrect as per the manpages for the APIs and the POSIX definitions. This commit replaces sys/time.h where necessary with time.h. The commit also includes some minor style(9) header fixup in newfs. This commit is part of a larger effort by Garrett Cooper started in //depot/user/gcooper/posix-conformance-work/ -- to make FreeBSD more POSIX compliant. Submitted by: Garrett Cooper yanegomi at gmail dot com
* Honor $PAGER instead of always calling more.gordon2011-01-241-4/+9
| | | | | Approved by: colin@ MFC after: 1 week
* Here v->iov_len has been assigned the return value from snprintf.dwmalone2011-01-191-2/+3
| | | | | | | | | | | | | | Checking if it is > 0 doesn't make sense, because snprintf returns how much space is needed if the buffer is too small. Instead, check if the return value was greater than the buffer size, and truncate the message if it was too long. It isn't clear if snprintf can return a negative value in the case of an error - I don't believe it can. If it can, then testing v->iov_len won't help 'cos it is a size_t, not an ssize_t. Also, as clang points out, we must always increment v here, because later code depends on the message being in iov[5].
* Add missing comma to unbreak the PC98 build.brucec2011-01-171-1/+1
|
* Reduce the amount of text users need to read on each screen. Also try andbrucec2011-01-172-18/+14
| | | | | | | make it more relevant to modern systems: for example users will be familiar with the MBR but possibly less so with MS-DOS. After installation has finished don't return to the main menu but exit.
* Merge ACPICA 20110112. Switch to BSD/GPLv2 dual license[1].jkim2011-01-131-2/+2
| | | | Discussed with: core [1]
* Update spkrtest(8) to use new dialog auto-sizing syntax.nwhitehorn2011-01-131-1/+1
|
* Use auto-sizing syntax appropriate for the new dialog(1). This shouldnwhitehorn2011-01-131-1/+1
| | | | probably be modified to use libdialog.
* Documents OUTPUT formats. While I'm here cleans up styles and words.weongyo2011-01-131-11/+66
| | | | Reviewed by: brueffer@
* Update dialog to version 20100428. This changes the license under whichnwhitehorn2011-01-123-9/+9
| | | | | | | | | | | | | dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
* Add support for using encrypted password strings when settingjpaetzel2011-01-103-10/+40
| | | | | | | | the root / user passwords PR: bin/152868 Submitted by: kmoore Approved by: imp
* Patch pc-sysinstall to deal with 4k sector size drivesjpaetzel2011-01-102-257/+129
| | | | | | PR: bin/151967 Submitted by: kmoore Approved by: imp
* Take passwords out of debug log.jpaetzel2011-01-081-2/+2
| | | | | | | | Fix path problem that was preventing disk info from being in the log. PR: bin/151968 Submitted by: Kris Moore <kmoore@FreeBSD.org> Approved by: imp
* Push some PC-BSD specific fixes upstream.jpaetzel2011-01-082-52/+6
| | | | | | PR: bin/152894 Submitted by: Kris Moore <kmoore@FreeBSD.org> Approved by: imp
* More elegant way to detect MBR vs. GPTjpaetzel2011-01-082-14/+3
| | | | | Submitted by: nwhitehorn Approved by: imp
* Use ether_ntoa instead of home-grown version.delphij2011-01-081-9/+5
| | | | Noticed by: Boris Kochergin <spawk acm poly edu>
* Retire TARGET_ABI.imp2011-01-071-1/+1
| | | | | | | | | | | | | | | Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree.
* - Save some space relying on the fact that all ioctl commandsstas2011-01-071-5/+5
| | | | | | prefixes are the same. Suggested by: "Carlos A. M. dos Santos" <unixmania@gmail.com>
* - Show textual representation of ioctl command in warning messagestas2011-01-061-2/+7
| | | | | | | if ioctl(4) is failed besides the command number. Suggested by: delphij MFC after: 2 weeks
* Use errx() instead of err() in parseint. There is usually no interestingkib2011-01-041-2/+2
| | | | | | | information in errno. Noted by: Garrett Cooper <yanegomi gmail com> MFC after: 1 week
* Make the parsing of the integer arguments for rtprio(1)/idprio(1) stricter.kib2011-01-041-18/+32
| | | | | | | | Style. Based on submission by: Eitan Adler <lists eitanadler com>, keramida Reviewed by: jhb, keramida MFC after: 1 week
* Quiet clang warnings by using literal format strings for printf-likeemaste2011-01-042-3/+3
| | | | functions.
* Make -S functional.brian2010-12-311-1/+1
| | | | MFC after: 1 week
* Add vte(4) to the list of supported network interface.yongari2010-12-311-0/+1
|
* Revert most of r210764, now that mdocml does the rightuqs2010-12-281-1/+1
| | | | | | thing with empty quotation macros. Requested by: Alex Kozlov
* style.Makefile says tab between var= and value.delphij2010-12-231-2/+2
|
* Allow overriding pidfile and dumpfile.delphij2010-12-223-19/+47
| | | | | | PR: bin/153362 Submitted by: Joe Holden <joe rewt org uk> MFC after: 1 month
* Add package directories used for the upcoming 8.2 and 7.4 releases,kensmith2010-12-221-0/+4
| | | | and catch up on a few from previous releases.
* Add an option to disable the screensaver.brucec2010-12-221-2/+4
|
* Unbreak the build by temprorarily not using include directives insyrinx2010-12-202-2/+20
| | | | | bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to pass proper include path flags to gensnmptree.
* rpc.lockd(8) WARNS cleanupuqs2010-12-203-6/+4
| | | | | | | | | - Provide function prototype for nlm_syscall - Don't assign a variable from the stack to a global var[1] - Remove unused vars Found by: clang static analyser [1] Reviewed by: dfr
* lmcconfig(8): bump to WARNS=3, fix typo in usage while hereuqs2010-12-202-210/+281
| | | | | | Slight style(9) improvments - function definitions - sort #include
* Fix type used to hold fgetc(3) output, this should help arm and powerpcuqs2010-12-201-1/+1
| | | | which have char == unsigned char
* Remove useless conditional.uqs2010-12-201-3/+2
| | | | | | `vga' cannot be less than 0x3f when reaching the check. Coverity Prevent: CID 5196
* Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.syrinx2010-12-205-18/+24
| | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip
* Add __unused. Ansi prototypes.charnier2010-12-202-6/+10
|
* Add __unused. Ansi prototypes.charnier2010-12-201-111/+48
|
* Add __unused. Ansi prototypes.charnier2010-12-201-4/+6
|
* Add --numeric-owner to tar extract operations in portsnap.simon2010-12-191-5/+5
| | | | | | | | | | | | | This is done to speed up extraction significantly (both for portsnap extract and update) in the case of slow NSS modules (like nss_ldap) as it avoids having to look up uid and gid for root / wheel. The reason this is a bigger problem for portsnap than for many other system operations, is that portsnap executes tar(1) once for each port so the internal uid/gid caching in tar(1) only helps a bit, resulting in many user lookup calls. Discussed with: cperciva
* Fix build on bigendian archs.bschmidt2010-12-191-0/+1
|
* Unbreak hostapd. This code has been explicitly removed in upstream versions.bschmidt2010-12-181-33/+4
|
* Fix some whitespace nits.bschmidt2010-12-181-22/+22
|
* Change order in wpa_driver_bsd_ops to match upstream code. Add descriptionbschmidt2010-12-181-6/+7
| | | | while here.
* Add a comment explaining the undefs, while here remove one which is notbschmidt2010-12-181-1/+4
| | | | required.
* Rename bsd_set_iface_flags to bsd_ctrl_iface and change arguments to matchbschmidt2010-12-181-15/+27
| | | | upstream. For the same reason rewrite bsd_get_seqnum.
* Import bsd_configure_wpa() to sync with upstream code.bschmidt2010-12-181-1/+12
|
* Prefer os_memset, os_strlcpy and os_free. While here adjust the returnbschmidt2010-12-181-13/+13
| | | | | value checks for 2 ioctl calls and rewrite error handling in bsd_init to better integrate with upstream code.
* Remove some unused variables and unnecessary casts.bschmidt2010-12-181-23/+12
|
* Remove debug messages which are no longer present in upstream code. Whilebschmidt2010-12-181-10/+4
| | | | here remove some explicit line breaks.
* Rename iface to ifname to match the upstream code.bschmidt2010-12-181-8/+9
|
OpenPOWER on IntegriCloud