John Baldwin
1b202316ec
Use the correct volume identifier field when parsing MR_EVT_ARG_LD_STRIP
...
arguments.
MFC after: 2 weeks
2011-12-05 15:11:35 +00:00
Nathan Whitehorn
6081c922d2
Prevent user astonishment by providing the shell option at the end, after
...
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
2011-12-02 02:05:26 +00:00
Ken Smith
9cd86fa6ba
Add a screen that asks if the user would like to enable crash dumps,
...
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
2011-12-02 00:38:47 +00:00
Max Khon
fcc050e759
Sync xdialog_menu() implementation with sade.
2011-12-01 09:02:57 +00:00
Max Khon
0f94127a5b
Fix dialog autosizing: dlg_count_columns() does not handle NL characters.
2011-12-01 09:01:51 +00:00
Max Khon
d28e8f62e8
Generate ${NORMAL_CTFCONVERT} invocation without '@' modifier:
...
- ${NORMAL_CC} is also invoked without '@'
- Userland CTF support was changed previously to echo ctfconvert invocations too
2011-11-30 13:33:09 +00:00
Doug Barton
878c6432be
If using DISTDIR we need to be sure to create a ${DESTDIR}/var/db/zoneinfo
...
PR: bin/162891
Submitted by: Helge Oldach <src-mergemaster-nov11@oldach.net>
2011-11-29 08:22:12 +00:00
Xin LI
6dc3afae75
In build_volume(), check if arrays is allocated before traversing its
...
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
2011-11-29 08:16:14 +00:00
Jung-uk Kim
3f0275a033
Merge ACPICA 20111123.
2011-11-28 23:36:48 +00:00
Kevin Lo
c725e3ef7a
Plug memory leaks and fix open(2) error check.
...
Reviewed by: nwhitehorn
MFC after: 3 days
2011-11-28 05:34:16 +00:00
Warren Block
df799cbad3
Point out that @reboot runs at every cron startup, not just system
...
startup.
Discussed on: hackers@
Approved by: gjb (mentor)
MFC after: 1 week
2011-11-25 17:41:12 +00:00
Max Khon
320baf06b8
Remove DEBUG_FLAGS.
2011-11-25 07:10:59 +00:00
Max Khon
8396c7de45
calloc +1 DIALOG_LISTITEM to prevent possible wild pointer access
...
in dlg_default_listitem().
2011-11-24 18:45:23 +00:00
Max Khon
166a0ada4e
Port to new libdialog.
2011-11-24 18:37:16 +00:00
Max Khon
246864a52b
Disk selection dialog is now a normal menu, not a checkboxed menu:
...
checkboxed menu is confusing and also can not be implemented
in new libdialog.
2011-11-24 15:47:01 +00:00
Max Khon
3567b2c445
Port to new libdialog.
2011-11-24 13:24:06 +00:00
Max Khon
9265b03823
Remove unused code.
2011-11-24 10:08:22 +00:00
Max Khon
23c64763a9
Remove unused code.
2011-11-24 08:56:24 +00:00
Max Khon
2dc3da8c3f
Remove unused functions.
2011-11-23 19:11:03 +00:00
Max Khon
66b007568a
- Remove unused old libdialog includes
...
- Remove unused functions
2011-11-23 19:06:30 +00:00
Ed Maste
f1e7af36c0
Avoid double free creating a new RAID with invalid command line arguments.
...
Submitted by: Xin Huang <xhuang sandvine com>
Reviewed by: rstone@
MFC after: 1 week
2011-11-23 17:02:27 +00:00
Kevin Lo
de028133d4
Plug fd leaks
2011-11-23 10:27:18 +00:00
David E. O'Brien
d6b6324f02
KNF
2011-11-15 06:50:10 +00:00
David E. O'Brien
37d6f8a9e6
Improve the chances of matching an outputted string with the line of code.
2011-11-15 06:44:07 +00:00
Eitan Adler
3b6dc18ef5
- fix duplicate "a a" in some comments
...
Submitted by: eadler
Approved by: simon
MFC after: 3 days
2011-11-13 17:06:33 +00:00
Alfred Perlstein
c13b66c053
Fix spelling of extract.
...
Pointed out by: gcooper
2011-11-13 06:39:49 +00:00
Alfred Perlstein
d1982439b2
Utilize shell's IFS instead of forking ~6 processes to
...
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.
2011-11-13 03:18:57 +00:00
Ed Maste
574280af1a
Report the amount of memory from smbios data if provided.
...
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
2011-11-12 19:02:55 +00:00
Eitan Adler
14517324d0
- add a missing "be" and "in"
...
- 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
2011-11-11 22:27:09 +00:00
Ryan Stone
2e0aa47581
The generated Makefile for the kernel was not running ctfconvert on
...
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
2011-11-10 21:07:14 +00:00
Josh Paetzel
6376caed8e
Welcome the initial patches for OSX bootcamp support!!!
...
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
2011-11-08 23:44:26 +00:00
Andrey V. Elsukov
2a9cd9b3a1
Remove a note about disabling of GEOM protection mechanism.
...
boot0cfg should work without such hack.
MFC after: 3 days
2011-11-07 09:29:10 +00:00
Andrey V. Elsukov
7411f128dd
Reorganize write_mbr() function to be able write bootcode with different
...
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
2011-11-07 09:21:18 +00:00
Andrey V. Elsukov
395a625c6d
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:42:32 +00:00
Ed Schouten
3a01367a9b
Mark global functions and/or variables in spray(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:49 +00:00
Ed Schouten
f69e32f1cd
Mark global functions and/or variables in snapinfo(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:43 +00:00
Ed Schouten
0aa42e81b2
Mark global functions and/or variables in rmt(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:37 +00:00
Ed Schouten
d1931b8065
Mark global functions and/or variables in rip6query(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:31 +00:00
Ed Schouten
4da4d0013d
Mark global functions and/or variables in pwd_mkdb(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:25 +00:00
Ed Schouten
7a106fe473
Mark global functions and/or variables in moused(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:20 +00:00
Ed Schouten
4d4fda8051
Mark global functions and/or variables in mixer(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:13 +00:00
Ed Schouten
6ea612c7ab
Mark global functions and/or variables in memcontrol(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:59 +00:00
Ed Schouten
d938340a93
Mark global functions and/or variables in fdread(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:54 +00:00
Ed Schouten
e8f386b409
Mark global functions and/or variables in devinfo(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:48 +00:00
Ed Schouten
d35fcc6826
Mark global functions and/or variables in chown(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:41 +00:00
Ed Schouten
e052b60b87
Mark global functions and/or variables in boot0cfg(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:35 +00:00
Ed Schouten
6f344d60d5
Mark global functions and/or variables in apm(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:30 +00:00
Ed Schouten
ee47d09921
Make all functions and global variables static for cdcontrol(8).
...
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.
2011-11-06 16:52:26 +00:00
Ed Schouten
60bd06dafc
Mark all global variables static for mptable(1).
...
While there, remove basetableEntryTypes, which became unused in r71209.
2011-11-06 16:47:50 +00:00
Ed Schouten
4c46bfb6dc
Eliminate global variables.
...
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().
2011-11-06 16:40:17 +00:00