125092 Commits

Author SHA1 Message Date
jdolecek
b717338fee clarify the error message when the open of /dev/nsmb* fails
enable the check for cloned /dev/nsmb, to simplify eventual future switch
to cloned /dev/nsmb device

use compile time string concatenation for one constant string
2004-03-21 07:16:39 +00:00
oster
3dd7f5503f Fix a nastly little bug that I've been chasing over the past 12 hours.
If raidPtr->numFailures isn't initialized properly, then all sorts of
whacky things can happen, including incorrect DAGs being generated.
(Triggering this problem is a little esoteric, which is why this bug has
been in hiding for so long -- I only saw it after rebooting with a
degraded RAID 5 set that was autoconfigured, rebuilding the failed
componennt, and then failing the component while IO was happening to
the RAID set.)
2004-03-21 06:32:03 +00:00
oster
492aa07868 Doesn't hurt much to zero this before we start mucking with it. 2004-03-21 06:16:49 +00:00
mrg
3b66f6e642 clean up my copyright 2004-03-21 05:47:44 +00:00
mrg
05cd119306 remove my copyright statement 2004-03-21 05:46:42 +00:00
oster
01e44f9df5 Add in a couple of missed foo=foo->next's. 2004-03-21 03:22:08 +00:00
uwe
0589938ad6 s/r15/sp/ for clarity.
Whitespace nit.
2004-03-21 02:20:21 +00:00
he
89ae25ef5b Also temporarily remove servent until it's made compileable again
after recent changes to <netdb.h>.
2004-03-21 01:47:00 +00:00
mrg
f433e33bb4 also define __sparcv9. noted by heas@ 2004-03-21 01:22:12 +00:00
mycroft
9f9d44127e Remove part of a very old change that caused NFS to not enforce socket buffer
limits.  No idea why it was done in the first place.

Don't remember who reported this, but I think it was yamt.
2004-03-21 00:54:46 +00:00
uwe
43e4b74e81 Add _DPRINTFN. 2004-03-21 00:41:04 +00:00
he
4eb714337c Remove protoent from SUBDIR, since recent changes to netdb.h makes
it fail to build.
2004-03-20 23:27:40 +00:00
heas
209ebbab46 - deal with a dead tty in ttyflush() by cleaning-up and exiting instead of
returning a failure code and processing that all the way up the stack.
- deal with a dead peer similarly and do it without setjmp/longjmp() (at
  christos' request).

These fix bin/20304 and my own observations when the remote abruptly closes
the connection.
2004-03-20 23:26:05 +00:00
heas
d5561e39ff remove duplicate description of DEFAULT keyword (introduced by me). 2004-03-20 23:10:01 +00:00
perseant
5aaab72dd6 change KES license to standard NetBSD license 2004-03-20 22:31:13 +00:00
bjh21
b38b985f56 pckbport(9) and friends. 2004-03-20 22:05:56 +00:00
snj
a374a1f8f1 Fix a typo. 2004-03-20 21:52:54 +00:00
groo
80ddfc8cb9 update documentation from 0.9.7b to 0.9.7d 2004-03-20 21:48:44 +00:00
wiz
1f250009b5 New sentence, new line. Remove superfluous double quote.
Fix a typo.
2004-03-20 21:43:03 +00:00
bjh21
8808a41bd8 Kernel-internal documentation for pckbport. 2004-03-20 21:28:59 +00:00
oster
ac19c32ed5 Can't conditionalize cleanup on numStripeUnitsBailed -- have to
cleanup regardless.

More importantly, we can't free any of the AccessStripeMaps here!
2004-03-20 21:25:55 +00:00
christos
e4b3e03b4c Remove extraneous ; from OpenBSD. 2004-03-20 21:16:55 +00:00
jdolecek
64022a06e1 Add missing permission checks to the smbfs VOP_SETATTR vnode op for the
case where the caller requests to change access or modification times.
Change obtained from FreeBSD rev. 1.30
2004-03-20 21:03:42 +00:00
dsl
439e722c72 Don't remove ${.TARGET} - thanks Alexander for pointing it out. 2004-03-20 20:41:33 +00:00
christos
ba3c0c1bd8 Oops, put back my copyright. 2004-03-20 20:30:48 +00:00
christos
7570f6e829 Remove my license. 2004-03-20 20:28:44 +00:00
christos
1074321aa8 - remove my license
- un __P
- de-lint
2004-03-20 20:26:58 +00:00
jdolecek
bfa09b45ff ditch busted access check in smbfs_access(), and use vaccess() instead;
also normalize function contents to resemble other filesystems,
and add a SMBVDEBUG() to ease eventual future debugging

partially based on FreeBSD rev. 1.29

fixes PR kern/23373 by Piotr Stolc
2004-03-20 20:26:28 +00:00
jdolecek
f3503f30a7 escape the backslash in badchars so that smbfs_pathcheck() correctly
rejects pathnames with backslashes in them (and to avoid a syntax error)

change from FreeBSD
2004-03-20 19:48:30 +00:00
wiz
08abac00be New sentence, new line; use Ev for environment variable;
use "its" where correct; use standard section headers; add missing .Os.
2004-03-20 18:54:33 +00:00
wiz
d5ca829d8b Single-letter options do not need a line each; add more
commas; drop trailing whitespace; use Pa where appropriate.
2004-03-20 18:51:06 +00:00
wiz
24be734e2d Nm needs no argument; also, correct wrong Nm usage. 2004-03-20 18:49:33 +00:00
wiz
e574a06f6f Bump date for previous, and readd newline at EOF. 2004-03-20 18:45:09 +00:00
wiz
3ed664c272 New sentence, new line, and add newline at EOF. 2004-03-20 18:44:08 +00:00
jdolecek
edb0fb0a4c pullup FreeBSD change rev. 1.44 - restore closing of SMB find handle
in smbfs_close(); it's necessary to overcome limitation of the current
directory lookup code

this fixes problem where ls wouldn't show newly created files, such as:
> touch a b c
> ls
>

problem and fix pointed out by YAMAMOTO Takashi
2004-03-20 18:41:02 +00:00
he
cbeffeb007 Make this compile on platforms which do not define
__HAVE_GENERIC_SOFT_INTERRUPTS, such as sun3.
2004-03-20 18:34:57 +00:00
he
e475443b64 Need <bsd.obj.mk> and <bsd.inc.mk> to support "obj" and "include" targets
now that we use <bsd.files.mk> instead of <bsd.prog.mk>.
2004-03-20 18:24:17 +00:00
christos
639e111c0e Do not expose the current implementation of the serv*_r proto*_r functions,
since this is not how we will implement them when we do. From discussions
with Brian Ginsbach and Soda-san.
2004-03-20 18:22:22 +00:00
oster
06f16f554f NO_STRIPE_LOCKS is never set, so this code will always execute.
Remove conditionals, and left-shift code.
2004-03-20 17:30:40 +00:00
dsl
57f6eb7ead Change comments - one I wrote earlier wasn't right.
Add a couple of notes about areas of the superblock being reassigned
when ffsv2 was imported.
2004-03-20 17:26:16 +00:00
bjh21
0e487deb4a Add a SEE ALSO section. 2004-03-20 17:13:39 +00:00
bjh21
803d1effdc SEE ALSO wskbd(4). 2004-03-20 17:13:08 +00:00
snj
b2cab1b295 Remove superfluous comma. 2004-03-20 17:10:33 +00:00
bjh21
093d228060 iomdkbc(4), rpckbd(4). 2004-03-20 17:09:04 +00:00
christos
4d4a846694 PR/24862: Peter Postma: From Andrey Matveev via OpenBSD:
1. use socklen_t instead of int
2. compare socket error return value to == -1 instead of <= 0
2004-03-20 17:07:33 +00:00
bjh21
04fff4f351 Add manual pages for iomdkbc(4) and rpckbd(4) (because I wanted to xref it).
Also tidy up a rogue "qms.4".
2004-03-20 17:02:34 +00:00
bjh21
9becfad46d Mention how bells work on acorn32. Also make the English a little less
German in places.
2004-03-20 16:48:10 +00:00
oster
1966e6afbb Cleanup function prototypes. 2004-03-20 16:48:05 +00:00
oster
a7f8d0aef6 [bah.. specifying rf_dagutils.c twice on a checkin doesn't get you
rf_dagutils.h... missed this one from yesterday.  sorry folks :( ]

Change signature of rf_AllocBuffer() to take a dag_h and buffer size
instead of an PDA and an alloclist.  This lets us do the vple dance
inside of rf_AllocBuffer().

Cleanup usage of rf_AllocIOBuffer() and use rf_AllocBuffer() instead.

Fix all uses of rf_AllocBuffer() to conform to the new way of doing
things.
2004-03-20 15:56:21 +00:00
dsl
11f75824d0 Add a large comment about the balls-up caused by the ffsv2 superblock
not being at 8k - causes all sorts of problems, in particular with
ffsv1 filessytems with 64k blocks, and disks that are reformatted from
ffsv1 to ffsv2 (and v.v.).  see also PR kern/24809
2004-03-20 15:37:12 +00:00