Commit Graph

124318 Commits

Author SHA1 Message Date
itojun 6c57d297ac use strtoul() instead of atoi(). have proper range check for each fields. 2004-02-29 21:31:14 +00:00
oster cf01eb78b2 Minor comment reformatting. 2004-02-29 20:47:37 +00:00
oster eac5920af1 As suggested by Paul Ripke, have raidctl use raw devices by default. 2004-02-29 20:40:29 +00:00
oster d272af6ed2 When the 'if' condition is true, the function will return, so there
is no need for this chunk of code to be in the 'else' part.
Remove the 'else', and left-shift the code.

No functional changes.
2004-02-29 20:11:26 +00:00
wiz 15a3e59b1f Add FreeBSD 5.2 definition for ath(4). 2004-02-29 18:47:12 +00:00
jschauma 716dbdc9a8 Add German messages for sysinst, as provided by Hernani Marques Madeira
(hernani at tuners dot ch).  Many thanks for the work!

(German speaking people: please try this out and suggest improvements.)
2004-02-29 18:46:43 +00:00
wiz b76a21626b Use Dq macro; just put the Nd argument right behind .Nd. 2004-02-29 18:43:23 +00:00
snj e0106050d8 Drop trailing space. Give full month name. Use \*[Gt] instead of >.
Remove superfluous .Re.  Use .An for author names.  Remove superfluous
.Pp.  Fix a typo.
2004-02-29 17:51:18 +00:00
skrll ce461bed68 Fix PR 24593.
XXX NOPIC and MKPIC need separating
2004-02-29 17:05:31 +00:00
perry 997b8eba04 add a quick note in the header comment explaining the origin of the
man page...
2004-02-29 16:46:22 +00:00
perry 88f1abf3ad First cut of Atheros man page -- needs a bit of work 2004-02-29 16:39:18 +00:00
jdolecek 1c8e4dd167 add comment to smbfs_remove() regarding the limitation to only remove
unreferenced files
2004-02-29 12:19:15 +00:00
jdolecek b4b58e65b1 print info about active vnodes in reclaim/inactive if prtactive is set 2004-02-29 12:17:39 +00:00
jdolecek 1a3236aefa close the SMB handle when vnode is inactivated, rather than on file close,
so that mmap()ped regions remain accessible even when the file descriptor
is closed
g/c smbnode's n_opencount, and have single NOPEN flag instead

fixes PR kern/24516 by Lloyd Parkes

change obtained from FreeBSD, with only minor adjustments
2004-02-29 11:47:08 +00:00
jdolecek 4ba68533b9 use global prtactive setting instead of ntfs-specific variable;
this also changes default, to not print the active vnodes
2004-02-29 11:08:55 +00:00
oster 5a02af5b21 Adjust _rf_ShutdownCreate() so that it is willing to wait for more
memory.  Since we only now ever "return(0)", just return (void)
instead.

Cleanup all uses of rf_ShutdownCreate() to not worry about
it ever failing.  Shaves another 600 bytes off of an i386 GENERIC kernel.
2004-02-29 04:03:50 +00:00
oster da96c7f542 InitHdrNode() might as well return 'void'. Nothing ever pays attention
to what it returns anyway!
2004-02-29 01:50:23 +00:00
oster 4907fd699b rf_MakeAllocList() will always get memory. No point in checking for
a case that won't ever occur.
2004-02-29 01:49:13 +00:00
oster d4a8e64b16 We'd better have gotten a dag header from the pool. In any event, callers
arn't checking what we return anyway. (Cleanup memory allocations.)
2004-02-29 01:47:45 +00:00
oster 2e0cff190a TransferDagMemory() doesn't exist, so these lines are just wasting space. 2004-02-29 01:37:04 +00:00
oster 5e23bfcf9b Stripe functions are now handled by a linked-list instead of a
runtime-variable array.

Fix a bug where stripeFuncs was being freed, and then being used after
(in the case of numStripesBailed > 0).
2004-02-29 01:24:34 +00:00
jmc d399175656 Turn this into a hostprog (probably needs linking against nbcompat) 2004-02-29 01:09:18 +00:00
jmc e58ae2884c Fix typo so VAX_IBOOT works 2004-02-29 01:08:22 +00:00
dyoung d68ab48dd5 Update ath(4)'s Hardware Abstraction Layer (HAL) to version 0.9.6.11.
Both the API and ABI changed, hence the changes to so many .c and
.h files.
2004-02-29 00:47:21 +00:00
dsl 44eaa39982 Report errno value from boot1() - even though the standalone FS code
seems to translate everything into ENOENT.
2004-02-28 23:01:55 +00:00
dsl da7ffa3cbe Look for /boot in the 'a' partition (from the label in the mbr partition)
if it can't be found in a filesystem (or raid set) at the start of the
mbr partition.
2004-02-28 22:32:23 +00:00
dbj 5b782a2183 allow err of IREENT_MAGIC when looking for interrupt frames 2004-02-28 20:30:58 +00:00
itojun 26e2172ca7 MAX_IFS is no longer needed. Maxim Konovalov 2004-02-28 19:27:49 +00:00
dsl 7d06c8be4a Print everything unsigned - helps a bit for disks with [2^31..2^32) sectors. 2004-02-28 18:19:00 +00:00
drochner 10c161f94c add a test of get/make/setcontext, also checking context linking
via uc_link and argument passing to the new context
2004-02-28 16:55:05 +00:00
simonb a50cc8bd42 Catch up with the November 2002 (!!) change to remove ABI exposure
from cpu_fork and the proc trampoline.  pthreads programs that fork
now work (at least the regress test case does).
Program reported by Florian Stöhr on port-sgimips.
2004-02-28 16:02:03 +00:00
drochner e9ee155221 Get the stack alignment right: the stack arguments must start
at a 16-byte aligned address, the return address is at an
"odd" address.
approved by fvdl
2004-02-28 15:57:21 +00:00
simonb 7e050bc20e ANSIfy, wrap long lines. 2004-02-28 15:44:34 +00:00
jdolecek 8af8547957 smbfs_rename(): #ifdef notyet some code related to disabled smbfs_smb_move(),
and also fix a return in the code section - we need to do vnode cleanup
before returning error
2004-02-28 09:19:53 +00:00
jdolecek 0a48f48a91 smbfs_rename(): only touch attribute cache properties if the operation
is carried out; particularily, don't touch it if the rename files
due to EXDEV - the 'from' or 'to' vnode may not be on smbfs filesystem
at all in that case
this is the final fix for PR kern/24455 by Milos Urbanek
2004-02-28 09:04:00 +00:00
yamt 395e9958f2 change the way to handle NEW_BUFQ_STRATEGY option.
instead of putting #ifdefs into each drivers,
use a global variable to indicate default strategy.

XXX should have a way to specify other strategies.
2004-02-28 06:28:47 +00:00
junyoung 85b95abd1e pidhash and pgrphash should have been removed from here as well when the
new pid allocator was committed 3/2003.
2004-02-28 05:14:55 +00:00
dbj 0dcc30f1ff fix bug in tracing current process by explicit pid 2004-02-28 02:58:35 +00:00
enami a612fb0b9d Replace rest of exit status `1' with EXIT_FAILURE. 2004-02-28 02:42:45 +00:00
enami 698c01aba0 Fix usage:
- ktrace(1) takes -s.
- ktruss(1) takes -l.
- -C/-c and commands are exclusive.
- make output fits 80 column.
2004-02-28 02:22:31 +00:00
enami 8a1309b72f - Make ktruss(1) works as expected when -c or -C is specified.
- Include pid or file descriptor in error message when
  ktrace(2)/fktrace(2) failed.
- Remove unnecessary cast.
2004-02-28 01:43:07 +00:00
enami 4d34b523bc Fix whitespace usage. 2004-02-28 01:37:56 +00:00
matt e8f9e7f005 Recognize when MKPIC=no and then set shlib=no 2004-02-28 01:02:05 +00:00
dbj ba0f8cbecc fix an uninitialized variable problem that prevented t/u from working.
this also helps some when no symbols are available
2004-02-28 01:00:30 +00:00
sekiya d289507533 Blinkenlitzen for IP20 (Indigo). 2004-02-28 00:53:56 +00:00
enami 0790d0f46f Set DO[WM]_STAR if we mean `*' so that @yearly/@monthly/@weekly are
interpreted as documented/expected rather than "0 0 1 1 0-7" /
"0 0 1 * 0-7" / "0 0 1-31 * 0" respectively.  Fixes PR#24547.
2004-02-27 23:22:09 +00:00
enami 3f98504ee8 Fix whitespace usage and remove unnecessary semi-colon. 2004-02-27 23:06:02 +00:00
uwe a2c9b02021 /usr/include/$machine/_G_config.h is now obsolete after sh3 ports are
switched to gcc3.  Fix the lists for all sh3 ports, not just hpcsh :).
Pointed out by Harold Gutch.
2004-02-27 23:02:45 +00:00
dbj d3e00c7d64 fix backtracing through interrupt frames and system call frames 2004-02-27 22:52:03 +00:00
enami 6a6547d143 We can't access array[sizeof(array) / sizeof(array[0])]. 2004-02-27 22:48:56 +00:00