kevlo
6473db59df
Plug memory leaks and fix open(2) error check.
...
Reviewed by: nwhitehorn
MFC after: 3 days
2011-11-28 05:34:16 +00:00
wblock
8483c39233
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
fjoe
825933c1d2
Remove DEBUG_FLAGS.
2011-11-25 07:10:59 +00:00
fjoe
8594dfe0c0
calloc +1 DIALOG_LISTITEM to prevent possible wild pointer access
...
in dlg_default_listitem().
2011-11-24 18:45:23 +00:00
fjoe
73353fa946
Port to new libdialog.
2011-11-24 18:37:16 +00:00
fjoe
785264a30f
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
fjoe
7e5bec7de1
Port to new libdialog.
2011-11-24 13:24:06 +00:00
fjoe
fc3882da85
Remove unused code.
2011-11-24 10:08:22 +00:00
fjoe
aea14a2706
Remove unused code.
2011-11-24 08:56:24 +00:00
fjoe
c95d65ea66
Remove unused functions.
2011-11-23 19:11:03 +00:00
fjoe
1b36cd1ee6
- Remove unused old libdialog includes
...
- Remove unused functions
2011-11-23 19:06:30 +00:00
emaste
d213dca17e
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
kevlo
2fca8765a2
Plug fd leaks
2011-11-23 10:27:18 +00:00
obrien
07a4da4c91
KNF
2011-11-15 06:50:10 +00:00
obrien
645c15928a
Improve the chances of matching an outputted string with the line of code.
2011-11-15 06:44:07 +00:00
eadler
6efa0e7f22
- 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
6280e6aab3
Fix spelling of extract.
...
Pointed out by: gcooper
2011-11-13 06:39:49 +00:00
alfred
3e2fdc5998
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
emaste
7b2871f947
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
eadler
8710aaed7e
- 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
rstone
975afb573a
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
jpaetzel
65c845ce4a
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
ae
18ace57344
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
ae
b0abf8d727
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
ae
68672f54ba
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:42:32 +00:00
ed
7d6a47f31c
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
abe4891023
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
1eab6ce2b2
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
66f3c7141b
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
14d5ba5322
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
d0a630f994
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
63fd44ffc0
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
5e4b02fe97
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
32375b4cab
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
2aa810aa99
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
57acbc3db8
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
b99d6c2ed3
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
13541c14c5
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
cafdfab148
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
599a60039e
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
f926e2345d
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
ed
44d67fb806
Simplify inclusion of the tsptype array a bit.
...
We don't need this array in timed.c -- only readmsg.c.
2011-11-06 16:37:15 +00:00
jpaetzel
2e79cf338b
Roll up several patches used by PC-BSD.
...
- 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
2011-11-05 19:25:21 +00:00
dougb
e799577150
1. Add a new option, --run-updates, to always or never run the newalises,
...
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.
2011-11-02 07:40:23 +00:00
dougb
1c4c4e955e
If the user is moving from any other time zone to UTC we need
...
to delete any old /var/db/zoneinfo file that may exist so that
tzsetup -r does the right thing.
2011-11-02 04:21:20 +00:00
fabient
705fefeaf9
Two bugs fixed:
...
- Do not close stdout or stderr when redirecting to file.
- Correctly handle error code to detect when no buffer available.
MFC after: 1 month
2011-11-01 09:28:47 +00:00
nwhitehorn
42dab25a22
Provide an error message and error handling if there are no network
...
interfaces in the system. This is a non-fatal error except when doing a
network installation.
PR: bin/161950
MFC after: 3 days
2011-10-25 16:35:48 +00:00
nwhitehorn
afe77a15ac
Provide an error message instead of silent failure if no disks are present
...
in the system.
PR: bin/161950
MFC after: 3 days
2011-10-25 16:30:16 +00:00
glebius
a159358a0a
Protect NIS server with madvise(2) since this daemon is required
...
for succesful authentication of users.
2011-10-25 10:33:26 +00:00
ae
ca669fd670
Fix argument name. This fixes EINVAL when boot0cfg uses GEOM_PART'
...
control interface.
MFC after: 3 days
2011-10-25 04:15:45 +00:00