Commit Graph

133968 Commits

Author SHA1 Message Date
oster 00b2fb8253 CreateDiskQueueData() doesn't need to use void * for raidPtr.
RF_Raid_t is well known in RF, and there's no reason not to use it here.
2005-02-05 23:53:44 +00:00
chs 86688c638a always map kernel text read-only. 2005-02-05 23:50:05 +00:00
chs 42c10f81be remove some leftover references to a.out symbol names. 2005-02-05 23:48:49 +00:00
oster 339f61b703 rf_GetNextReconEvent() *will* return a valid event, so no need for
the assert.  (we'd have panic'ed in there long before this assert
if that wasn't the case).

Minor whitespace changes.
2005-02-05 23:39:12 +00:00
oster 8ea3f15338 Cleanup function prototypes. 2005-02-05 23:35:33 +00:00
oster c38bce14f6 Vastly improve the error handling in the case of a read/write error
that occurs during a reconstruction.  We go from zero error handling
and likely panicing if something goes amiss, to gracefully bailing and
leaving the system in the best, usable state possible.

- introduce rf_DrainReconEventQueue() to allow easy cleaning of the
reconstruction event queue

- change how we cleanup the floating recon buffers in
rf_FreeReconControl().  Detect the end of the list rather
than traversing according to a count.

- keep track of the number of pending reconstruction writes.  In the
event of a read error, use this to wait long enough for the pending
writes to (hopefully) drain.

- more cleanup is still needed on this code, but I didn't want to
start mixing major functional changes with minor cleanups.

XXX: There is a known issue with pool items left outstanding due to
the IO failure, and this can show up in the form of a panic at the
tail end of a shutdown.  This problem is much less severe than before
these changes, and the hope/plan is that this problem will go away
once this code gets overhauled again.
2005-02-05 23:32:43 +00:00
jmmv 1205cb9e5b Let's note the addition of the -r option to groupadd(8). 2005-02-05 20:19:00 +00:00
yamt f452d81842 we don't have gzopenfull or gzdopenfull anymore. 2005-02-05 16:37:37 +00:00
yamt 97bb1b498d revert zlib.h rev.1.15 (gzopenfull and gzdopenfull)
as gzio.c counterpart has been reverted.
2005-02-05 16:37:03 +00:00
chs 37436571dd make this compile with DEBUG. 2005-02-05 16:19:35 +00:00
jdolecek c89f66dc2a security, security.conf(5) - note addition of check_passwd_permin_nonalpha
option, which makes it possible to disable the check for non-alphanumeric
login names
2005-02-05 15:53:53 +00:00
wiz f5e9b507dc Fix Dd argument, and a grammar fix. 2005-02-05 15:31:29 +00:00
wiz c81aaebd36 New sentence, new line. 2005-02-05 15:28:46 +00:00
wiz e6ef4830c4 Be consistent in -r argument naming. 2005-02-05 15:26:50 +00:00
jdolecek 8e401e6c31 add a check_passwd_permin_nonalpha option, which changes the passwd
test to permit non-alphanumeric characters in login names
2005-02-05 15:26:37 +00:00
xtraeme 60fef07963 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:55:44 +00:00
xtraeme 77bf707374 ll __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:54:35 +00:00
xtraeme 816b5578c8 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:47:18 +00:00
xtraeme 23bd8cd383 Kill __P(), use ANSI function declarations. 2005-02-05 14:44:46 +00:00
xtraeme 8a489f424f Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 14:35:25 +00:00
xtraeme b64027cd07 Kill __P(), use ANSI function declarations. 2005-02-05 14:33:50 +00:00
xtraeme e4e811215a Kill __P(); 2005-02-05 14:26:05 +00:00
xtraeme bd95a8e7af Kill __P(), use ANSI function declarations. 2005-02-05 14:23:24 +00:00
xtraeme 69cbd40c14 Kill __P(), use ANSI function declarations. 2005-02-05 14:05:23 +00:00
xtraeme 4ad9c5a867 Kill __P(). 2005-02-05 13:47:19 +00:00
xtraeme 9bab889d46 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 13:37:39 +00:00
xtraeme 48bd1327fa Finish previous (use ANSI function declarations) this time. 2005-02-05 13:17:54 +00:00
xtraeme 866012a7e2 Kill __P(), use ANSI function declarations. 2005-02-05 13:15:12 +00:00
xtraeme 921249f1c3 Kill __P(), use ANSI function declarations; WARNS=3. 2005-02-05 12:38:58 +00:00
jmmv bc6cd262e3 Add the -r flag to groupadd; it can be used to specify a gid range in which
new groups should be created.  This is similar to useradd's -r flag.

Closes my own PR bin/22791.  Patch by URA Hiroshi with some minor changes
by me.

No objections in tech-userlevel@ for multiple days.
2005-02-05 10:43:14 +00:00
wiz 0db1f74f14 Teach groff about NetBSD 2.0.1 too. 2005-02-05 00:36:26 +00:00
wiz 9be5d1e533 Teach groff about NetBSD 1.6.3 (used by njs(4), noted by tron). 2005-02-05 00:32:38 +00:00
simonb 61064aebe6 De-register. 2005-02-05 00:13:34 +00:00
jmc c0f021e9fe Put this back to a #define after he patched sys/exec_aout.h. Otherwise errno.h
has to be pulled in for ENOEXEC definition.
2005-02-04 22:45:05 +00:00
he d9dbfebb70 If cpu_exec_aout_makecmds is a macro, don't declare a prototype
with the same name.  Fixes build problem for the powerpc ports,
since those define cpu_exec_aout_makecmds to ENOEXEC.
2005-02-04 22:35:02 +00:00
jmc 2f6ced07f5 Do the same thing sparc64 does and redefine sbus_promaddr_to_handle to a static
inline'd function. This way prototypes for it still work in the master
dev/sbusvar.h header. Found when the recent de-_P'ing occured
2005-02-04 22:20:55 +00:00
fvdl 6bdba8ddcd The bootinfo_wedge structure must be packed, or the 32bit alignments
used by the bootloader don't match the amd64 kernel.
2005-02-04 22:03:53 +00:00
joff 74f7c604df Make cpu_exec_aout_makecmds() a static inline instead of just #define'ed to
ENOEXEC.  Broken on ARM build from the de-__P'ing, this is the fix.
2005-02-04 19:07:26 +00:00
tnozaki d65a4ead10 fix invalid range. 2005-02-04 18:35:45 +00:00
drochner dfc9e068c7 switch to J.T.Conklin's optimized str* functions
(submitted per PR i386/25263)
2005-02-04 18:12:52 +00:00
perry c3f3d85961 Restore the html directories. They are indeed functional. 2005-02-04 17:10:40 +00:00
perry 7bcd7064be de-__P 2005-02-04 16:14:21 +00:00
perry 8e902846e9 remove a spurious space in a function declaration 2005-02-04 16:13:14 +00:00
perry 9f5c37981e de-__P, slightly KNF, and make a bit of the formatting more consistent. 2005-02-04 16:12:13 +00:00
perry e738b65d24 de-__P, ANSIfy function declarations 2005-02-04 15:52:08 +00:00
perry d806a865f6 de-__P 2005-02-04 15:27:44 +00:00
kanaoka 1054d5cc16 - Deal with status properly,if BMCR_ISO is set.
Fixes kern/29113.
2005-02-04 15:17:31 +00:00
he dcdc758deb Introduce a few more temporary variables, in order to avoid an ugly
double cast in the pam_get_item() invocations.  The double cast
triggered a "discards qualifier" warning/error from gcc 2.95.3, while
trying to fix that by adding "cost" to the "void *" cast produced
a similar warning from gcc 3.3.  This now compiles without warning
with both compilers.

Approved by christos
2005-02-04 15:11:35 +00:00
wiz 195aff13a9 Remove /usr/share/man/html* directories. They have been there,
empty, for 3 years, and there was no public plan on how to fill
them in all that time.  Let's re-add them when they have a purpose.
2005-02-04 15:07:54 +00:00
wiz cc7ac0e40f Use Aq instead of \*[Lt]\*[Gt]. 2005-02-04 15:01:41 +00:00