thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
atatat
76df260979
Allow passing of the ktrace file as the last argument without a -f.
2002-09-27 20:31:44 +00:00
thorpej
9a711d6985
Declare all cfattach structures const.
2002-09-27 20:29:02 +00:00
christos
35975338b0
Put back charles' fixes from -r1.60
2002-09-27 20:24:36 +00:00
jdolecek
1fdcf94f68
no more autoconf.h
2002-09-27 20:10:32 +00:00
jdolecek
2405f564a2
constify, should fix warning for mainbus.c
2002-09-27 20:06:44 +00:00
mycroft
c5739d43db
Change the munmap() of the text-data gap to mprotect(PROT_NONE). This avoids
...
having scattered little mappings, although it's probably not the best way...
2002-09-27 19:48:24 +00:00
bouyer
c7b51b5566
In nfs_commit(), sanity-check what we get from network: if we try to fluch
...
past end of file, or if off + cnt overflows a quad_t, flush to end of file.
2002-09-27 19:30:46 +00:00
mycroft
3c7847ff41
#if 0 the call to uvm_map_checkprot() in sys_munmap() -- it's not documented,
...
and programs do not expect it. Also fixes memory leaks in dlopen()/dlclose().
2002-09-27 19:13:29 +00:00
christos
edcb454443
VFork()ing shell: From elric@netbsd.org:
...
Plus my changes:
- walking process group fix in foregrounding a job.
- reset of process group in parent shell if interrupted before the wait.
- move INTON lower in the dowait so that the job structure is
consistent.
- error check all setpgid(), tcsetpgrp() calls.
- eliminate unneeded strpgid() call.
- check that we don't belong in the process group before we try to
set it.
2002-09-27 18:56:50 +00:00
drochner
335fd2d7c2
use humanize_number(3) for progress printout
2002-09-27 18:38:53 +00:00
drochner
20d06f6b17
SI prefixes apply to decimal multiplies only. For binary (2^n) multiplies
...
the most "officially looking" is IEC 60027-2, ie "Ki", "Mi", ...,
which is not too popular, and which would require more code changes.
So stick with the traditional capital "K" for (divisor==1024), and use
the SI "k" otherwise (ie (divisor==1000)).
2002-09-27 18:37:43 +00:00
grant
34e29c6844
fix typo, from Julio Merino in bin/18440.
2002-09-27 18:20:52 +00:00
mycroft
2aa6ebd4ed
In evalpipe(), move the INTOFF after the waitforjob(), to prevent possible
...
race conditions -- now we always synchronously wait for the job to finish.
In evalcommand(), add the same INTOFF/INTON locking as evalpipe(), to prevent
leaving internal state inconsistent, and also to insure that we synchronously
wait for the job.
2002-09-27 17:37:12 +00:00
drochner
0766f7d128
Remove a check whether the drive is initialized before crashdump.
...
It prevents dumping on an otherwise unused disk and seems
unnecessary anyway - the driver will deal with initialization.
fixes my PR kern/18135
2002-09-27 17:17:53 +00:00
thorpej
0f181e084a
Back out previous; it was incomplete.
2002-09-27 17:03:08 +00:00
grant
2812905360
New sentence, new line and minor mdoc cleanup.
2002-09-27 16:56:53 +00:00
christos
6438e7dcdc
no SYSV for eagain, enable EMFILE
2002-09-27 16:56:15 +00:00
thorpej
6a244932ed
Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and
...
-dynamic-linker=/libexec/ld.elf_so) if the BINDIR of the program being
built is /bin or /sbin.
The reason we do this is because now all programs *except* those in
/bin and /sbin (i.e. the "special cases") match the default the compiler
uses, which is what is used for things in e.g. xsrc, pkgsrc, and other
random 3rd party programs.
2002-09-27 15:56:39 +00:00
provos
9972ef9ff8
support for -empty, -execdir, -mindepth, -maxdepth to match other UNIX-like
...
systems. based on work by tholo@openbsd.org . approved by perry.
2002-09-27 15:56:25 +00:00
wiz
062d0b32cf
Add a line saying that a trailing '\n' is not needed. Bump date.
...
While here: new sentence, new line.
2002-09-27 15:53:33 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
grant
b81826593e
s/unused/inutilis'e/
...
from Stoned Elipot.
2002-09-27 15:21:52 +00:00
grant
6f98f8dffe
update French translation, add "don't change" option to mbr partition
...
type selection.
from install/18192.
2002-09-27 15:20:01 +00:00
wiz
398c2e6b26
Change argument handling to be like in groff-1.18, thus avoiding
...
a possible buffer overflow.
2002-09-27 15:05:11 +00:00
wiz
4a47c952db
Add documentation for utmpx and some related functions.
...
Thanks for some explanations to christos, and for some STANDARDS hints
to Klaus Klein.
2002-09-27 15:02:24 +00:00
itojun
1eb6ef2a80
don't go into D3 state if revision <= 82558_B0. PR 18011
2002-09-27 14:54:08 +00:00
itojun
88b96862d4
IPV6_V6ONLY setsockopt has to happen before bind(2). PR 18435
2002-09-27 14:43:00 +00:00
provos
0d78fff152
complete file names including a ~ correctly.
2002-09-27 13:23:55 +00:00
simonb
4bce9043f0
Need to initialise the blocksize variable if the -i option is used
...
too. The code in display() could possibly be a bit smarter about this
requirement...
Fixes the problem in PR bin/18321 from David Laight and PR bin/18436
from FUKAUMI Naoki.
2002-09-27 12:01:51 +00:00
martin
2c7b00b18f
Add SYMTAB_SPACE option to make DDB actually useable.
2002-09-27 10:08:19 +00:00
augustss
b7f522dbbf
Create pci device nodes.
2002-09-27 09:50:56 +00:00
augustss
99680e22b9
Add pci device.
2002-09-27 09:48:38 +00:00
augustss
e3a6ac4328
Install temporary page fault handler while doing PCI config read and
...
write since these can generate MCHK for missing devices.
2002-09-27 09:46:01 +00:00
martti
bd0971158d
This file is now in regress/sys/kern/ipf/
2002-09-27 09:13:23 +00:00
wiz
84ce8e9698
Begin new sentences on new lines; drop trailing whitespace; some mdoc
...
and typo fixes.
2002-09-27 08:38:58 +00:00
wiz
ccf057f25b
Correct argument to SCHED_LOCK; drop a trailing whitespace, fix an xref.
...
Begin a sentence on a new line.
2002-09-27 07:56:55 +00:00
wiz
1cef8ffb3b
Bump date for recent changes.
...
Begin new sentences on new lines.
Use .Aq instead of \*[Lt]\*[Gt] if possible.
2002-09-27 07:52:48 +00:00
wiz
79bd62667c
Bump date for pmap_remove addition.
...
Begin new sentences on new lines.
Use .Aq as much as possible instead of \*[Lt]foo\*[Gt].
2002-09-27 07:46:37 +00:00
wiz
61ae06d7d0
Sort sections. Limit line length to 80. Begin new sentences on new lines.
...
Bump date and add 2002 to copyright notice for BUGS section addition.
2002-09-27 07:30:38 +00:00
wiz
dcc8010de1
ANSIfy, de-__P, complete sync of usage with man page.
2002-09-27 07:28:18 +00:00
wiz
9e9685df35
Sync usage with man page.
2002-09-27 07:25:17 +00:00
wiz
fefd5e68e0
Bump date for -x addition. Sort options in usage.
2002-09-27 07:25:07 +00:00
wiz
8ac3f34222
Sort options. Bump date for -h addition. Begin new sentences on new lines(!).
...
The abbreviation for 'kilo' is still a small 'k', not a capital one.
Add -h to the list of options that disable display in default blocksize.
2002-09-27 07:18:16 +00:00
itojun
3ce9d85c2d
sort
2002-09-27 07:08:29 +00:00
thorpej
6ffacdd722
Oops, missed one place to use the STREQ() macro.
2002-09-27 06:30:05 +00:00
thorpej
98f020f181
Fix a latent bug uncovered by the new autoconfiguration code: make
...
sure the "ofbus" device carries the "ofbus" interface attribute.
This is the other part of the fix for PR #18433 .
2002-09-27 06:23:09 +00:00
itojun
501bf56348
license clarification from the author, via openbsd
...
>BSD-style license from Serge Vakulenko <vak@cronyx.ru>
2002-09-27 06:20:30 +00:00
thorpej
64e87fb459
Skip pspec-less entries (root nodes) in cfparent_match(). This fixes
...
the "kernel crashes" component of PR #18433 .
2002-09-27 06:12:55 +00:00
thorpej
97741f5198
Some ports (like Amiga) want to use the config machinery VERY early
...
(to initialize the console). Support this when doing cfdriver lookup.
2002-09-27 05:45:03 +00:00