summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* In build_volume(), check if arrays is allocated before traversing itsdelphij2011-11-291-3/+5
| | | | | | | | | items. While parsing the arrays input, it's possible that we reach the error path before initializing the 'arrays' pointer, which in turn leads to a NULL deference. Submitted by: Garrett Cooper MFC after: 1 week
* Merge ACPICA 20111123.jkim2011-11-284-26/+31
|
* Plug memory leaks and fix open(2) error check.kevlo2011-11-283-1/+3
| | | | | Reviewed by: nwhitehorn MFC after: 3 days
* Point out that @reboot runs at every cron startup, not just systemwblock2011-11-251-1/+1
| | | | | | | | | startup. Discussed on: hackers@ Approved by: gjb (mentor) MFC after: 1 week
* Remove DEBUG_FLAGS.fjoe2011-11-251-1/+0
|
* calloc +1 DIALOG_LISTITEM to prevent possible wild pointer accessfjoe2011-11-241-3/+3
| | | | in dlg_default_listitem().
* Port to new libdialog.fjoe2011-11-2412-355/+353
|
* Disk selection dialog is now a normal menu, not a checkboxed menu:fjoe2011-11-246-350/+215
| | | | | checkboxed menu is confusing and also can not be implemented in new libdialog.
* Port to new libdialog.fjoe2011-11-242-46/+126
|
* Remove unused code.fjoe2011-11-242-162/+1
|
* Remove unused code.fjoe2011-11-243-341/+1
|
* Remove unused functions.fjoe2011-11-232-109/+0
|
* - Remove unused old libdialog includesfjoe2011-11-232-185/+0
| | | | - Remove unused functions
* Avoid double free creating a new RAID with invalid command line arguments.emaste2011-11-231-0/+3
| | | | | | Submitted by: Xin Huang <xhuang sandvine com> Reviewed by: rstone@ MFC after: 1 week
* Plug fd leakskevlo2011-11-233-0/+4
|
* KNFobrien2011-11-151-16/+17
|
* Improve the chances of matching an outputted string with the line of code.obrien2011-11-155-129/+161
|
* - fix duplicate "a a" in some commentseadler2011-11-132-2/+2
| | | | | | Submitted by: eadler Approved by: simon MFC after: 3 days
* Fix spelling of extract.alfred2011-11-131-2/+2
| | | | Pointed out by: gcooper
* Utilize shell's IFS instead of forking ~6 processes toalfred2011-11-131-48/+70
| | | | | | | | handle splitting input files on a '|'. This greatly reduces the time taken to process several databases during the update process. Additionally add some more debug logging.
* Report the amount of memory from smbios data if provided.emaste2011-11-121-1/+5
| | | | | | | | This should get the correct memory size even if a 32-bit image is running on a machine with > 4GB of memory. This can be useful is using a 32-bit installer on a machine which will eventually run a 64-bit image. Reviewed by: kmoore
* - add a missing "be" and "in"eadler2011-11-111-1/+1
| | | | | | | | | | | - fix other errors introduced when committing r226436 - add 'function' to a sentence where it makes sense Submitted by: delphij Submitted by: dougb Submitted by: jhb Approved by: dougb Approved by: jhb
* The generated Makefile for the kernel was not running ctfconvert onrstone2011-11-101-3/+8
| | | | | | | | | | | | | object files corresponding to source files that had the compile-with option set in conf/files. This means that any fbt probes for functions in that object file would not have correct argument types. The fix is to run ctfconvert on any target file that does not have the no-obj option set in files. PR: bin/160275 Reported by: Paul Ambrose (ambrosehua AT gmail DOT com) MFC after: 1 week
* Welcome the initial patches for OSX bootcamp support!!!jpaetzel2011-11-083-5/+80
| | | | | | | | This should let you select the ada0p3 hybrid MBR/GPT partition, and do an installation to it. Approved by: kib (mentor) Obtained from: kris@pcbsd.org MFC after: 3 days
* Remove a note about disabling of GEOM protection mechanism.ae2011-11-071-16/+1
| | | | | | boot0cfg should work without such hack. MFC after: 3 days
* Reorganize write_mbr() function to be able write bootcode with differentae2011-11-071-54/+83
| | | | | | | | | | ways. Improve error reporting and also fix indenting. Now we are trying to write bootcode: 1. Directly to provider (if we can open it for writing); 2. Via GEOM_PART (if it is available); 3. Via GEOM_MBR. MFC after: 2 weeks
* Add reference to gpart(8).ae2011-11-061-1/+2
| | | | MFC after: 3 days
* Mark global functions and/or variables in spray(8) static where possible.ed2011-11-061-4/+4
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in snapinfo(8) static where possible.ed2011-11-061-11/+12
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in rmt(8) static where possible.ed2011-11-061-12/+12
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in rip6query(8) static where possible.ed2011-11-061-3/+3
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in pwd_mkdb(8) static where possible.ed2011-11-061-1/+1
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in moused(8) static where possible.ed2011-11-061-8/+8
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in mixer(8) static where possible.ed2011-11-061-1/+1
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in memcontrol(8) static where possible.ed2011-11-061-4/+2
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in fdread(8) static where possible.ed2011-11-061-8/+8
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in devinfo(8) static where possible.ed2011-11-061-2/+2
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in chown(8) static where possible.ed2011-11-061-14/+14
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in boot0cfg(8) static where possible.ed2011-11-061-4/+4
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in apm(8) static where possible.ed2011-11-061-1/+1
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Make all functions and global variables static for cdcontrol(8).ed2011-11-061-57/+78
| | | | | | While there, replace __const by const, which seems to be our preference nowadays. Also fix some style(9) bugs by adding newlines and removing unneeded spaces from function declarations.
* Mark all global variables static for mptable(1).ed2011-11-061-25/+16
| | | | While there, remove basetableEntryTypes, which became unused in r71209.
* Eliminate global variables.ed2011-11-061-5/+2
| | | | | | There is no reason why these three variables should be declared as global variables, while the others aren't. They are only used inside main().
* Simplify inclusion of the tsptype array a bit.ed2011-11-062-3/+1
| | | | We don't need this array in timed.c -- only readmsg.c.
* Roll up several patches used by PC-BSD.jpaetzel2011-11-054-4/+13
| | | | | | | | | | - Fix an issue with gmirror. - Allow IPv4 DHCP and IPv6 SLAAC concurrently. - Fix zpool options using the wrong device name. Approved by: kib (mentor) Obtained from: kris@pcbsd.org MFC after: 3 days
* 1. Add a new option, --run-updates, to always or never run the newalises,dougb2011-11-022-17/+63
| | | | | | | | | | | | | pwd_mkdb, etc. updates at the end of the comparison. 2. Add an update to the end to handle /etc/localtime, if it exists. If /var/db/zoneinfo exists, automatically update /etc/localtime, which should (hopefully) be safe to do. If not, prompt the user to run tzsetup. 3. Update run_it_now(), the function that handles input for the updates, to make sure that we got a valid answer, and to handle the --run-updates option if supplied.
* If the user is moving from any other time zone to UTC we needdougb2011-11-021-0/+12
| | | | | to delete any old /var/db/zoneinfo file that may exist so that tzsetup -r does the right thing.
* Two bugs fixed:fabient2011-11-011-2/+4
| | | | | | | - Do not close stdout or stderr when redirecting to file. - Correctly handle error code to detect when no buffer available. MFC after: 1 month
* Provide an error message and error handling if there are no networknwhitehorn2011-10-251-0/+7
| | | | | | | | interfaces in the system. This is a non-fatal error except when doing a network installation. PR: bin/161950 MFC after: 3 days
* Provide an error message instead of silent failure if no disks are presentnwhitehorn2011-10-251-4/+13
| | | | | | | in the system. PR: bin/161950 MFC after: 3 days
OpenPOWER on IntegriCloud