Commit Graph

102387 Commits

Author SHA1 Message Date
Tim Kientzle
873e38290a Fix a segfault when looking up a non-existent group. 2004-05-18 23:40:25 +00:00
Peter Wemm
2079cde964 The 'call mcount' hooks that gcc inserts when profiling are in a place that
cannot handle the scratch registers being trashed.  So we have to preserve
them ourselves.
2004-05-18 22:52:32 +00:00
Peter Wemm
b320e7fae7 For amd64, explicitly compile mcount.po, rather than copying mcount.o. We
need to compile it with -fno-omit-frame-pointers since the mcount code
depends on that, and by default it omits them without -pg.
2004-05-18 22:49:15 +00:00
Ruslan Ermilov
aa588a66d1 Bump document date on behalf of the -e option.
Spell "ID" correctly.
2004-05-18 20:45:32 +00:00
Ruslan Ermilov
b388c4ac50 Bump document date on behalf of the -E option. 2004-05-18 20:42:36 +00:00
Ruslan Ermilov
f18a58b589 Added -u to the SYNOPSIS. 2004-05-18 20:40:37 +00:00
Ruslan Ermilov
f0085ed625 Bump document date on behalf of the -u option. 2004-05-18 20:38:43 +00:00
Ruslan Ermilov
c9a74f6a2b Bump document date on behalf of the -M option. 2004-05-18 20:36:54 +00:00
Scott Long
08983aee40 Improve the delay algorithm used in bgfsck. From the author:
shuffles the timing and sleep calls in bgfsck from:

 sleep timer_on io timer_off io io io io io io io
   to
 sleep io io io io io io io timer_on io timer_off

 The original method basically guaranteed that the timed I/O included a
 disk seek every time, which made bgfsck sleep for much longer than
 necessary.

Submitted by:   Dan Nelson
Reviewed by:    kirk
2004-05-18 19:51:41 +00:00
Daniel Harris
4c0d8029dc "in in" is not always wrong (backout 1.18).
Keep the onion metaphor consistent.
2004-05-18 18:17:25 +00:00
Tim Kientzle
6c1a87e738 Be smarter about hardlink sizes: some tar programs write
a non-zero size but no body, some write a non-zero size and include
a body.  To distinguish these cases, look for a valid tar header immediately
following a hardlink header with non-zero size.
2004-05-18 18:16:30 +00:00
Peter Wemm
f7dd47a8d1 Build/install gprof on amd64 as well, after repocopying the MD bits.
Not that it has anything to process yet, but that comes next.
2004-05-18 18:05:19 +00:00
Daniel Harris
47afd1f81e Effect the correct use of "affect".
Use em dashes instead of " - ".

Use .Em instead of *emphasis*.

Note that securing root indirectly (by securing staff accounts) works
only if direct root access has been limited. [1]

s/hacker/attacker, as done in the handbook. (inspired by [1])

PR:		52878 [1]
Submitted by:	Brian Minard <bminard@flatfoot.ca> [1]
2004-05-18 17:50:08 +00:00
Tim Kientzle
656e70b49a Accept (but ignore) GNU tar's -B option. bsdtar never
needs it, but it does no harm for people to specify it.
2004-05-18 17:16:55 +00:00
Nate Lawson
14e2b11f18 Use the simpler __BUS_ACCESSOR macros for ivars instead of defining them
ourselves.
2004-05-18 16:53:29 +00:00
Ken Smith
9b70da0af7 Pressing 's' in the initial menu should result in selecting the 'Standard'
installation as far as most people are concerned but both 'Standard' and
'Select' begin with S and 'Select' is winning.  This makes it so 'Select'
is not select-able using a keystroke but that is probably for the best
and the text on the screen adequately describes how to move back and forth
between 'Select' and 'Exit'.

Adapted from work by:	josef@
PR:			i386/37999
MFC after:		1 week
2004-05-18 16:18:04 +00:00
Stefan Farfeleder
b1aa0ba527 <stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN is
defined.  Otherwise first including <wchar.h> and then <stdint.h> leads to no
WINT_M{AX,IN} at all.

PR:		64956
Approved by:	das (mentor)
2004-05-18 16:04:57 +00:00
Stefan Farfeleder
ec18ee18ad Don't depend on NULL's expansion being a pointer, cast it before it is passed
to variadic functions.

Approved by:	das (mentor)
2004-05-18 15:53:58 +00:00
Maxim Konovalov
0a258c19b1 o Fix comments: s/m_tag_allocate/m_tag_alloc/.
Spotted by:	Gleb Smirnoff
MFC after:	1 week
2004-05-18 14:13:23 +00:00
Stefan Farfeleder
c85c1d2779 Remove spurious semicolons.
Approved by:	das (mentor)
Reviewed by:	ipfw@
2004-05-18 13:57:37 +00:00
Lukas Ertl
d8a224e86b An access count change is a prerequisite for doing I/O, so
change 'or' to 'and'.

Pointed out by:  pjd@
2004-05-18 12:37:47 +00:00
Lukas Ertl
a2d7d4d7c6 These hyphens don't need to be escaped.
Pointed out by:  pjd@
2004-05-18 12:36:12 +00:00
Lukas Ertl
797bac4b53 Fix spelling errors (I forgot that one in my last commit of GEOM man pages). 2004-05-18 12:12:07 +00:00
Yoshihiro Takahashi
03b1aeed18 The cp driver may be useful for pc98. 2004-05-18 12:02:39 +00:00
Yoshihiro Takahashi
438bbad62b MFi386: revision 1.1160. 2004-05-18 11:56:56 +00:00
Yoshihiro Takahashi
307cddc187 MFi386: Add NETGRAPH_CRONYX. 2004-05-18 11:56:24 +00:00
Yoshihiro Takahashi
9f7d798692 MFi386: revision 1.492. 2004-05-18 11:34:04 +00:00
Lukas Ertl
eaad868d16 Update several GEOM related manual pages:
*) Fix spelling errors.
  *) Better english.
  *) Re-phrasing.

Not Reviewed by:  pjd (one week timeout)
Approved by:      grog (mentor)
2004-05-18 11:33:37 +00:00
Roman Kurakin
ca2ffd2633 Note about ng_sppp (4) driver. 2004-05-18 07:38:46 +00:00
Pawel Jakub Dawidek
6a40892929 Fix panic which occurs when given sector size for memory-backed device
is less than DEV_BSIZE (512) bytes.

Reported by:	Mike Bristow <mike@urgle.com>
Approved by:	phk
2004-05-18 07:30:04 +00:00
Ruslan Ermilov
826569ce35 Markup overhaul. 2004-05-18 07:23:37 +00:00
Roman Kurakin
98cd718b61 1. Remove '-' sign between model an manufacturer.
2. Add information about cp(4) driver (Cronyx Tau-PCI).
2004-05-18 07:12:06 +00:00
Roman Kurakin
e64599bf62 Add information about cp(4) driver (Cronyx Tau-PCI). 2004-05-18 06:48:27 +00:00
Roman Kurakin
1e8b648b3d ct(4) now has manual page, so add reference to it. 2004-05-18 06:36:17 +00:00
Bruce Evans
130ff9c31a Fixed DDB_NOKLDSYM on amd64's:
machdep.c:
Initialize the symbol table pointers, not quite like for other arches.

db_elf.c:
Don't claim to be an i486 in the fake ELF header.
2004-05-18 05:30:06 +00:00
Peter Wemm
4cec6f5d02 If a symbol has section+offset definitions provided, always use instead
of doing a name lookup for global symbols.  This fixes the snd_pcm module.
2004-05-18 05:15:43 +00:00
Peter Wemm
82d0d1a01b Remove leftover padding variables.
Convert some silent 'ignore programmer error' cases into panics
Remove 'align' field from section table (no longer needed)
2004-05-18 05:14:19 +00:00
Tim Kientzle
f62681112e Clarify an error message. 2004-05-18 00:13:06 +00:00
Yaroslav Tykhiy
d0080709e7 Clarify and extend paragraphs on interoperation
of fcntl(2), flock(2), and lockf(3) advisory locks.
Add such a paragraph to the flock(2) manpage for the
sake of consistency.

Reviewed by:	Cyrille Lefevre and Kirk McKusick on -arch
MFC after:	2 weeks
2004-05-17 23:09:10 +00:00
Peter Wemm
31f1cfb7e9 Oops, I left a duplicate 'relocbase' declaration.
Submitted by:  Koop Mast <kwm@rainbow-runner.nl>
2004-05-17 22:26:17 +00:00
Tim Kientzle
9b8f137b2d getgrent() and friends should set errno if there is an error.
Also, clarify the manpage description of when errno is set and
explain that clients should set errno=0 first if they want useful
error information.
2004-05-17 22:15:49 +00:00
Peter Wemm
922013a665 Turn on modules for amd64. Fear. 2004-05-17 22:13:14 +00:00
Hiten Pandya
11053af551 Add rman_get_device(9) to SYNOPSIS, .Nm and MLINK it to
rman(9).
2004-05-17 21:25:02 +00:00
Peter Wemm
23eb3eb66e Since we go to the trouble of compiling the kobj ops table for each class,
and cannot handle it going away, add an explicit reference to the kobj
class inside each linker class.  Without this, a class with no modules
loaded will sit with an idle refcount of 0.  Loading and unloading
a module with it causes a 0->1->0 transition which frees the ops table
and causes subsequent loads using that class to explode.  Normally, the
"kernel" module will remain forever loaded and prevent this happening, but
if you have more than one linker class active, only one owns the "kernel".

This finishes making modules work for kldload(8) on amd64.
2004-05-17 21:24:39 +00:00
Ruslan Ermilov
d88acdc34c Markup nits. 2004-05-17 21:24:06 +00:00
Peter Wemm
2094780104 Clean up the code some more. Unify the text/data (progbits) and bss
(nobits) tables to simplify some code.  Try and shorten some of the very
wide lines.  Somewhere along the way, I think I fixed the memory
corruption that caused panics after going multiuser.
2004-05-17 21:20:23 +00:00
Peter Wemm
910bb7dbe9 Deal with REL records that have the addend embedded variable sized targets
rather than the RELA table.  I dont know if bintutils will ever generate
REL records, but just in case.....
2004-05-17 21:16:49 +00:00
Ruslan Ermilov
6106f45151 Correct existing usage lines, add two more. 2004-05-17 21:11:35 +00:00
Ruslan Ermilov
a48e3981cc Markup nits. 2004-05-17 21:05:39 +00:00
Ruslan Ermilov
5575025065 Markup and grammar nits. 2004-05-17 20:58:42 +00:00