Andrey V. Elsukov
39e9a28fdf
Fix multi-line comment formatting.
...
Pointed by: jh
MFC after: 1 week
2011-11-07 07:50:35 +00:00
Ed Schouten
1063f9291e
SDT's struct sdt_argtype can be marked static everywhere.
...
It is only passed to SYSINIT/SYSUNINIT.
2011-11-07 07:09:38 +00:00
Ed Schouten
d745c852be
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.
...
This means that their use is restricted to a single C file.
2011-11-07 06:44:47 +00:00
Andrey V. Elsukov
fd1ca22afb
Improve error reporting when MBR can not be written.
...
Remove obsolete code which uses DIOCSMBR ioctl.
When writing MBR first check that GEOM_MBR is available, if it is not
available, then try write MBR directly to provider. If both are failed,
then recommend to use gpart(8).
MFC after: 2 week
2011-11-07 06:24:35 +00:00
Ryan Stone
add89852d6
Replace fasttrap_copyout() with uwrite(). FreeBSD copyout() is not able to
...
write to the .text section of a process.
Obtained from: rpaulo
MFC after: 3 days
2011-11-07 01:55:58 +00:00
Ryan Stone
166808c625
Fix the DTrace pid return trap interrupt vector. Previously we were using
...
31, but that vector is reserved.
Without this fix, running dtrace -p <pid> would either cause the target
process to crash or the kernel to page fault.
Obtained from: rpaulo
MFC after: 3days
2011-11-07 01:53:25 +00:00
Hans Petter Selasky
e6c503f75a
Fix build breakage for 8-stable and older.
...
MFC after: 0 days
2011-11-06 23:26:26 +00:00
Hans Petter Selasky
13ceb65482
Add support for new USB modem protocol.
...
PR: usb/159919
MFC after: 1 week
2011-11-06 23:11:30 +00:00
Marius Strobl
f5cd6038aa
Freeze the device queue if a request didn't complete without error and
...
isn't already frozen.
2011-11-06 22:28:13 +00:00
Marcel Moolenaar
fd1c5f4365
Add check-password.4th and screen.4th to the boot image. They are
...
needed by the loader.
2011-11-06 21:57:12 +00:00
Marius Strobl
56b5737cdc
Add missing comma.
...
Submitted by: brueffer
2011-11-06 21:54:27 +00:00
Marius Strobl
906a009e02
Commit man page update missed in r227006.
2011-11-06 21:33:50 +00:00
Andrey V. Elsukov
1b100fd31b
Initialize "acc" value inside the loop to reset failed attempts.
...
PR: misc/162262
MFC after: 3 days
2011-11-06 21:12:52 +00:00
Christian Brueffer
212b1d6d4f
Add qlxgb(4).
...
MFC after: 3 days
2011-11-06 20:59:07 +00:00
Christian Brueffer
8814105fe1
Add qlxgb(4) to the hardware notes.
...
MFC after: 3 days
2011-11-06 20:49:17 +00:00
Andrey V. Elsukov
395a625c6d
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:42:32 +00:00
Andrey V. Elsukov
99e57974a6
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:39:35 +00:00
Andrey V. Elsukov
9a5e36b804
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:38:27 +00:00
Christian Brueffer
c1a7f0eb09
Write QLogic consistently.
...
MFC after: 3 days
2011-11-06 20:37:17 +00:00
Andrey V. Elsukov
fd4bbf84f2
Add recommendation to use gpart(8) when user tries write disklabel
...
or bootcode to already opened provider.
MFC after: 1 week
2011-11-06 20:32:55 +00:00
Ed Schouten
a35353de88
Partially revert r227233.
...
The privs.h header is not only used by at(1), it's also used by
atrun(8). Just let the code the way it used to be (for now).
Reported by: kwm, tinderbox
Hat to: me
2011-11-06 20:30:21 +00:00
Ed Schouten
8f80f103b4
Remove MALLOC_DECLAREs of nonexisting malloc-pools.
...
After careful grepping, it seems none of these pools can be found in our
source tree. They are not in use, nor are they defined.
2011-11-06 20:16:50 +00:00
Michael Tuexen
7dd1259f73
Initialize all components of the sent COOKIE.
...
MFC after: 3 days.
2011-11-06 20:09:22 +00:00
Andrey V. Elsukov
b11075cdeb
Remove unneeded checks.
...
MFC after: 1 week
2011-11-06 19:03:07 +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
Andrey V. Elsukov
982e6e69cd
bsdlabel(8) could automatically fill many of disklabel's deprecated
...
fields, but user could specify some of those fields when edits disklabel
with `bsdlabel -e`. But without -A flag these fields might be
overwritten with default values from the virgin disklabel.
So, don't overwrite such fields if they are not zero. Also add checks
to prevent creating disklabel with less than DEFPARTITIONS and more
than MAXPARTITIONS partitions.
PR: bin/162332
Tested by: Eugene Grosbein
MFC after: 1 week
2011-11-06 18:59:42 +00:00
Ed Schouten
641835f465
Mark global functions and/or variables in xstr(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:39 +00:00
Ed Schouten
e5ec905575
Mark global functions and/or variables in whois(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:33 +00:00
Ed Schouten
94cd938578
Mark global functions and/or variables in which(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:26 +00:00
Ed Schouten
558b00f5a1
Mark global functions and/or variables in whereis(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:19 +00:00
Ed Schouten
48ef17602b
Mark global functions and/or variables in unifdef(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:00 +00:00
Ed Schouten
e7b3338485
Mark global functions and/or variables in paste(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:53 +00:00
Ed Schouten
df6dd6933d
Mark global functions and/or variables in m4(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:48 +00:00
Ed Schouten
86350df6fe
Mark global functions and/or variables in lam(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:41 +00:00
Ed Schouten
357050fc0e
Mark global functions and/or variables in fstat(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:36 +00:00
Ed Schouten
cb230716e3
Mark global functions and/or variables in expand(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:30 +00:00
Ed Schouten
43ad4b4511
Mark global functions and/or variables in enigma(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:23 +00:00
Ed Schouten
305700d983
Mark global functions and/or variables in compress(1) static where possible.
...
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:16 +00:00