Poul-Henning Kamp
d6b602d4b2
Remove unused variable.
...
Found by: FlexeLint
2003-05-31 18:55:18 +00:00
Poul-Henning Kamp
04d0f26703
Fix off-by-one errors in range checks of state machine states & events.
...
Found by: FlexeLint
2003-05-31 18:54:02 +00:00
Poul-Henning Kamp
5eed219cef
Remove extra ';'
...
Found by: FlexeLint
2003-05-31 18:52:38 +00:00
Ruslan Ermilov
bdf95cdef0
Add missing markup bits.
2003-05-31 18:49:23 +00:00
Poul-Henning Kamp
ff81e317d4
Use temporary variable to avoid double expansion of macro with side effects.
...
Found by: FlexeLint
2003-05-31 18:46:45 +00:00
Poul-Henning Kamp
c7b24d7dcd
Remove unused variable.
...
Found by: FlexeLint
2003-05-31 18:45:32 +00:00
Mike Makonnen
31b8681181
Hook libthr to the build. It's currently built only for i386 and
...
a NOLIBTHR knob will prevent it from being built.
2003-05-31 18:43:17 +00:00
Ruslan Ermilov
5234638ef6
Mostly fixed the SYNOPSIS.
2003-05-31 18:42:18 +00:00
Poul-Henning Kamp
777d1b3990
Fix off-by-one error in drive number check.
...
Don't return(foo(...)) in function returning void.
Found by: FlexeLint
2003-05-31 18:41:09 +00:00
Poul-Henning Kamp
0623afde6f
Remove extra unused variable.
...
Found by: FlexeLint
2003-05-31 18:39:29 +00:00
Poul-Henning Kamp
9d4b1fa40e
Remove extra ';'
...
Found by: FlexeLint
2003-05-31 18:37:30 +00:00
Poul-Henning Kamp
5d9bef6473
Add GEOM module compilation shims.
2003-05-31 18:36:41 +00:00
Ruslan Ermilov
c16ad8ccc8
excute: typo; possible replacements: excite, excuse.
2003-05-31 18:24:40 +00:00
Poul-Henning Kamp
da507a2181
Fix \ alignment in macro.
...
Remove breaks after return.
Remove unused variable.
Found by: FlexeLint
2003-05-31 18:21:40 +00:00
Poul-Henning Kamp
7379c88f4f
Add /* FALLTHROUGH */
...
Found by: FlexeLint
2003-05-31 18:20:26 +00:00
Ruslan Ermilov
e6f5d39465
Sigh, I guess this manpage used cat(1) as a template?
...
Otherwise, fix the manpage to not use the second person,
and add two missing punctuation bits.
2003-05-31 18:19:50 +00:00
Poul-Henning Kamp
6280ed26af
Remove unused local variables.
...
Found by: FlexeLint
2003-05-31 18:17:32 +00:00
Poul-Henning Kamp
6c87f8d5ea
Introduce a init and fini member functions on a class.
...
Use ->init() and ->fini() to handle the mutex in geom_disk.c
Remove the g_add_class() function and replace it with a standardized
g_modevent() function.
This adds the basic infrastructure for loading/unloading GEOM classes
2003-05-31 18:13:07 +00:00
Ruslan Ermilov
a388918d35
Assorted mdoc(7) fixes.
2003-05-31 18:07:09 +00:00
Garrett Wollman
6e49b1fe55
Don't generate an ip_id for packets with the DF bit set; ip_id is
...
only meaningful for fragments. Also don't bother to byte-swap the
ip_id when we do generate it; it is only used at the receiver as a
nonce. I tried several different permutations of this code with no
measurable difference to each other or to the unmodified version, so
I've settled on the one for which gcc seems to generate the best code.
(If anyone cares to microoptimize this differently for an architecture
where it actually matters, feel free.)
Suggested by: Steve Bellovin's paper in IMW'02
2003-05-31 17:55:21 +00:00
Dag-Erling Smørgrav
4d6991c692
Update copyright dates.
2003-05-31 17:19:03 +00:00
Poul-Henning Kamp
03841f4eec
Eliminate potential overflows by allocating softc dynamically,
...
removing at the same time the need for this to be a "count" config
option.
Found by: FlexeLint
2003-05-31 17:06:20 +00:00
Poul-Henning Kamp
f075585f67
Remove the G_CLASS_INITIALIZER, we do not need it anymore.
2003-05-31 16:59:27 +00:00
Poul-Henning Kamp
8e5d2c7eca
Fix systematic off-by-one errors in unit number range checks.
...
Found by: FlexeLint
2003-05-31 16:57:01 +00:00
Dag-Erling Smørgrav
f7d39b0967
Remove pam_std_option() and related functions. Add #defines for common
...
options.
2003-05-31 16:56:35 +00:00
Dag-Erling Smørgrav
545aa47101
Remove all instances of pam_std_option()
2003-05-31 16:55:07 +00:00
Poul-Henning Kamp
56824e138d
Use symbolic constants instead of "4".
...
Use arrays instead of relying on struct packing.
Identical md5(scsi_ch.o).
2003-05-31 16:54:37 +00:00
Poul-Henning Kamp
850cb24ef8
"break" rather than fall through to a break in the default clause.
...
Found by: FlexeLint
2003-05-31 16:53:16 +00:00
Dag-Erling Smørgrav
d462d3923b
Introduce pam_guest(8) which will replace pam_ftp(8).
2003-05-31 16:52:58 +00:00
Poul-Henning Kamp
26028fee6f
Don't use return(foo(...)); in function returning void.
...
Found by: FlexeLint
2003-05-31 16:51:41 +00:00
Poul-Henning Kamp
7e28a78f0e
Use le_uuid_dec() since GPT UUID's are always in LE format.
...
Tested by: Marcel
2003-05-31 16:48:43 +00:00
Poul-Henning Kamp
8313328657
Introduce {be,le}_uuid_{enc,dec}() functions for explicitly encoding
...
and decoding UUID's in big endian and little endian binary format.
2003-05-31 16:47:07 +00:00
Poul-Henning Kamp
17a1391990
The IO_NOWDRAIN and B_NOWDRAIN hacks are no longer needed to prevent
...
deadlocks with vnode backed md(4) devices because md now uses a
kthread to run the bio requests instead of doing it directly from
the bio down path.
2003-05-31 16:42:45 +00:00
David E. O'Brien
cf459fc35c
CSTD is virtually worthless for WARNS=2-5. Return -pedantic to WARNS=6+.
2003-05-31 16:37:22 +00:00
Poul-Henning Kamp
7021f3f539
Don't use return(foo(...)); in a function returning void.
...
Found by: FlexeLint
2003-05-31 16:36:42 +00:00
David E. O'Brien
239e385f11
Make CSTD style match the rest of file.
2003-05-31 16:30:39 +00:00
Tim Vanderhoek
f7f024d9cc
Fixup three rather minor typos that have irked me over time.
2003-05-31 16:27:53 +00:00
Scott Long
0480feef80
Man, I'm not on the ball. 4th does not need to escape '\' chars. This
...
should make our beloved friend look less like he has a massive head wound.
2003-05-31 16:07:00 +00:00
Andrey A. Chernov
c5d8f6027e
Add entry for putty as an alias to vt220-color
2003-05-31 15:46:05 +00:00
David E. O'Brien
7c4d80f2d1
Protext copyright[].
2003-05-31 15:42:56 +00:00
Matthew N. Dodd
c930fec7a2
- use issetugid()
...
- be paranoid about honoring LD_LIBMAP_DISABLE.
Suggested by: rwatson
2003-05-31 15:24:29 +00:00
Matthew N. Dodd
341b3de62b
Simplify map_object() by breaking out the ELF header validation bits
...
into a separate function.
2003-05-31 14:48:59 +00:00
Matthew N. Dodd
1aac1ed634
Provide function entry debugging messages.
2003-05-31 14:46:38 +00:00
Matthew N. Dodd
4df60d1cac
Use the environment variable LD_LIBMAP_DISABLE to disable
...
libmap.conf(5) functionality.
2003-05-31 14:45:11 +00:00
Hiten Pandya
15c3fb05e5
Mass cleanup of the namei(9) manual page.
...
- Nuke markup indicators for editors.
- Bump the date
- Use mdoc(7) specifiers for marking up defines, etc.
- Update the prototypes
- Flash out the description
- Cleanup english, spelling and grammar
- Update .Xr's
- Add following SEE ALSOs: uio(9), uma(9), vput(9), vref(9)
- Reorder sections to be in agreement with mdoc(7)
- Add FILES section
- Update Copyright and AUTHORS section.
Approved by: des (mentor)
2003-05-31 14:38:45 +00:00
Mike Makonnen
6e1aa51e9e
I botched one of my committs in the last round. Fix it.
2003-05-31 14:38:22 +00:00
Hiten Pandya
e07f1d5fd7
Various mdoc(7) fixes:
...
Add devfs(5) reference - make_dev.9
Change .Xr from VFS_VGET(9) to vget(9) - vnode.9
Spelling fix, 'useage' to 'usage' - zone.9
Approved by: des (mentor)
2003-05-31 14:20:30 +00:00
Hiten Pandya
0640e9e01b
Some mdoc(7) fixes:
...
Nuke incorrect usage of .Ar; replace it with .Vt, .Va or .Fa appropriately.
The .Ar mdoc(7) specifier should only be used when displaying command line
arguments.
Approved by: des (mentor)
2003-05-31 14:07:25 +00:00
Scott Long
acb9e0f3f6
Teach sysinstall to recognize if acpi was turned off from the bootloader,
...
and then ask the user if this should be made permanent.
Approved by: re
2003-05-31 11:28:28 +00:00
Scott Long
d9d27cecf8
Flag when ACPI has been disabled by the user so that sysinstall can do
...
something with it.
2003-05-31 11:19:11 +00:00