summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add missing static and const keywords to kbdcontrol.ed2011-12-121-63/+64
| | | | | | None of the symbols provided by kbdcontrol.c are used by other source files of this binary. Slightly reduce the binary size and make much more symbols read-only by adding proper static and const keywords.
* Add VIA microde update support to cpuctl(4) and cpucontrol(8).fabient2011-12-124-1/+288
| | | | | | Support have been tested with X2 CPU and QuadCore CPU. MFC after: 1 month
* Add static keywords to vidcontrol(1).ed2011-12-111-13/+11
| | | | | | While there, remove the false optimisation of the colors array. It seems that changing it to an array of pointers instead of a 16x16 array does not cause any increase in binary size at all.
* Add missing static keyword.ed2011-12-111-1/+1
| | | | | All global variables and functions in powerd are marked static, except this array of strings. Add the keyword, for consistency.
* Replace char copyright[] by static const char copyright[].ed2011-12-101-1/+1
| | | | It seems the latter is used throughout the tree.
* Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIPjhb2011-12-051-1/+1
| | | | | | arguments. MFC after: 2 weeks
* Prevent user astonishment by providing the shell option at the end, afternwhitehorn2011-12-021-12/+11
| | | | | | | | | any installer-provided configuration files have been copied. This allows users to edit their fstab, if desired, and to see what the installer has placed in rc.conf. Requested by: phk MFC after: 1 day
* Add a screen that asks if the user would like to enable crash dumps,kensmith2011-12-021-0/+14
| | | | | | | | | | giving them a very brief description of the trade-offs. Whether the user opts in or out add an entry to what will become /etc/rc.conf explaining what dumpdev is and how to turn on/off crash dumps. The folks who handle interacting with users submitting PRs have asked for this. Reviewed by: nwhitehorn MFC after: 1 day
* Sync xdialog_menu() implementation with sade.fjoe2011-12-011-1/+39
|
* Fix dialog autosizing: dlg_count_columns() does not handle NL characters.fjoe2011-12-011-4/+21
|
* Generate ${NORMAL_CTFCONVERT} invocation without '@' modifier:fjoe2011-11-301-1/+1
| | | | | - ${NORMAL_CC} is also invoked without '@' - Userland CTF support was changed previously to echo ctfconvert invocations too
* If using DISTDIR we need to be sure to create a ${DESTDIR}/var/db/zoneinfodougb2011-11-291-2/+2
| | | | | PR: bin/162891 Submitted by: Helge Oldach <src-mergemaster-nov11@oldach.net>
* 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.
OpenPOWER on IntegriCloud