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
Ed Schouten
acd29a915f
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
Josh Paetzel
e4985e44df
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
Doug Barton
b90270a146
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
Doug Barton
983ac1b7fc
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
Fabien Thomas
66ce99369a
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
Nathan Whitehorn
41f2f866d0
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
Nathan Whitehorn
07d7662678
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
Gleb Smirnoff
b8e20190a3
Protect NIS server with madvise(2) since this daemon is required
...
for succesful authentication of users.
2011-10-25 10:33:26 +00:00
Andrey V. Elsukov
9f772ce219
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
Xin LI
5b1fd5dbbf
Staticify elide_root() for now to fix build.
2011-10-24 21:38:25 +00:00