Ian Dowse
ab6fc18e52
Our awk does not implement the ARGIND variable, so we were attempting
...
to parse the binary .kld file as a list of symbols. Fix this by
simply deleting the unwanted argument from the ARGV[] array instead
of trying to skip over it.
2002-08-06 19:31:04 +00:00
Alan Cox
b46f1c55f9
Set the ident field of the struct kevent that is registered by _aio_aqueue()
...
to the address of the user's aiocb rather than the kernel's aiocb. (In other
words, prior to this change, the ident field returned by kevent(2) on
completion of an AIO was effectively garbage.)
Submitted by: Romer Gil <rgil@cs.rice.edu>
2002-08-06 19:01:08 +00:00
Jake Burkholder
a520b73cdc
Remove new console devices with cnremove before initializing them in
...
cninit. This allows a console driver to replace the existing console
by calling cninit again, eg during the device probe. Otherwise the
multiple console code sends output to both, which is unfortunate if
they're using the same hardware.
2002-08-06 18:56:41 +00:00
Max Khon
ae9e184e5e
printf() formats fixes
2002-08-06 17:00:02 +00:00
Bruce A. Mah
e774a21fd0
New release notes: SA-02:35, SA-02:36, SA-02:37.
2002-08-06 15:44:55 +00:00
Bruce Evans
1c530be49c
Try harder to "set signal flags proprly [sic] for ast()". See rev.1.154.
2002-08-06 15:22:09 +00:00
Robert Watson
d2118dfaba
Regen.
2002-08-06 15:16:55 +00:00
Robert Watson
280f0785e8
Rename mac_policy() to mac_syscall() to be more reflective of its
...
purpose.
Submitted by: cvance@tislabs.com
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-08-06 15:15:53 +00:00
Matthew N. Dodd
37169f9446
- Use time.h not sys/time.h.
...
- Fix printf format errors.
Submitted by: bde
2002-08-06 12:46:14 +00:00
Don Lewis
b74f2c1878
Don't automagically call vslock() from SYSCTL_OUT(). Instead, complain
...
about calls to SYSCTL_OUT() made with locks held if the buffer has not
been pre-wired. SYSCTL_OUT() should not be called while holding locks,
but if this is not possible, the buffer should be wired by calling
sysctl_wire_old_buffer() before grabbing any locks.
2002-08-06 11:28:09 +00:00
Murray Stokely
3fa5d720d0
Use the new docproj-jadetex port for disc#3. Previously, docproj was
...
not included in its entirety because JADETEX was not defined.
2002-08-06 08:25:03 +00:00
Tim J. Robbins
babfb08b53
Sort prototypes by function name.
2002-08-06 06:26:06 +00:00
Benno Rice
0c1b03065b
Connect bmtphy to the mii module build.
...
Forgotten a long time ago by: benno
2002-08-06 06:09:47 +00:00
Tim J. Robbins
9a1a792488
Whitespace formatting changes: line up macro bodies, function names,
...
place tabs after #define and typedef. Sort typedefs by name.
Requested by: mike
2002-08-06 05:19:33 +00:00
Tim J. Robbins
71a63bac1b
Build iswctype.c and manual pages for the functions it defines.
2002-08-06 00:49:59 +00:00
Greg Lehey
6dba302111
Remove Australia from list of locations supposedly having a bank
...
holiday on 6 August. Since this claim isn't dependent on the weekday,
I have my strong doubts about the other locations too, but I can't
confirm, so I'm leaving them in.
2002-08-05 23:54:22 +00:00
Mike Silbersack
a9ce5e05b5
Handle PMTU discovery in syn-ack packets slightly differently;
...
rely on syncache flags instead of directly accessing the route
entry.
MFC after: 3 days
2002-08-05 22:34:15 +00:00
Pierre Beyssac
f7a91b49b7
Fix typo in vnode flags causing deadlock in msdosfs_fsync().
...
Reviewed by: jeff
2002-08-05 21:07:30 +00:00
Mike Barcroft
0f1bfcd283
o Fix a memory leak.
...
o Rewrite validmsgverb() so that it works (I'm not sure how it escaped
my original testing).
o Document nextcomp().
2002-08-05 19:36:09 +00:00
Alan Cox
20fb589d13
o The introduction of kevent() broke lio_listio(): _aio_aqueue() thought
...
that LIO_READ and LIO_WRITE were requests for kevent()-based
notification of completion. Modify _aio_aqueue() to recognize LIO_READ
and LIO_WRITE.
Notes: (1) The patch provided by the PR perpetuates a second bug in this
code, a direct access to user-space memory. This change fixes that bug
as well. (2) This change is to code that implements a deprecated interface.
It should probably be removed after an MFC.
PR: kern/39556
2002-08-05 19:14:27 +00:00
Wolfram Schneider
1baa7ea787
NetBSD style fixes.
...
PR: misc/41164
Submitted by: Bang Jun-Young <junyoung@netbsd.org>
2002-08-05 18:58:46 +00:00
Max Khon
0d13f401f4
Make driver portable:
...
- bus_space'ify
- generate fake ethernet address using read_random() instead of reading
from timer i/o ports
Other minor fixes:
- remove "hack" in connect_to_master()
- use M_ZERO
- remove unused variable in sbni_ioctl()
- properly release irq in sbni_attach_isa() on attach errors
2002-08-05 18:14:16 +00:00
Ian Dowse
98caa2e4e9
Don't call softdep_slowdown() if soft updates are not active on the
...
filesystem. This causes a panic for kernels compiled without
softupdates.
Reported by: luigi
2002-08-05 17:59:20 +00:00
Yaroslav Tykhiy
1b9f1a4bd2
1) Use "pathstring" instead of "STRING" consistently.
...
2) Remove unneeded "if not NULL" props from "pathstring",
which will never be NULL by the lexer design.
Inspired by: OpenBSD
MFC after: 1 week
2002-08-05 17:34:15 +00:00
Max Khon
2fb48d6c87
back out one change that crept in (will be committed later)
2002-08-05 17:32:16 +00:00
Max Khon
cc99b6cf41
style fixes
2002-08-05 17:20:17 +00:00
Ruslan Ermilov
93c10c2246
Stop eating all process memory if either of ${.CURDIR}/../kerberosIV
...
or ${.CURDIR}/../kerberos5 does not exist.
Spotted by: Alexandr Listopad <laa@reis.zp.ua>
MFC after: 3 days
2002-08-05 16:57:43 +00:00
Ruslan Ermilov
8d785bd77c
The side effect of revision 1.687 (env -i) was that many useful knobs
...
are no longer propagated to the chrooted environment, e.g. NOKERBEROS.
On the other hand, TMPDIR and MAKEOBJDIRPREFIX should no longer be.
Spotted by: Alexandr Listopad <laa@reis.zp.ua>
2002-08-05 16:46:14 +00:00
Mike Barcroft
b79204a1d9
Fix some style bugs.
...
Submitted by: bde
2002-08-05 16:37:05 +00:00
Jacques Vidrine
cad8e82685
This commit was generated by cvs2svn to compensate for changes in r101386,
...
which included commits to RCS files with non-trunk default branches.
2002-08-05 16:25:17 +00:00
Jacques Vidrine
b1357e1cec
Correct a bug in the ASN.1 decoder which was introduced with the
...
recent OpenSSL update.
Obtained from: OpenSSL CVS
2002-08-05 16:25:17 +00:00
Andrey A. Chernov
bccd761645
Do login cap calls _before_ descriptors are hardly closed because close may
...
invalidate login cap descriptor.
Reviewed by: des
2002-08-05 16:06:35 +00:00
Dag-Erling Smørgrav
ea4c8f8ca1
Check the far end before registering an EVFILT_WRITE filter on a pipe.
2002-08-05 15:03:03 +00:00
Matthew N. Dodd
28c4ea6da8
Remove extra space in output.
2002-08-05 14:56:20 +00:00
Yaroslav Tykhiy
1d1dc13be6
Since GLOB_NOCHECK is set in the glob(3) call,
...
glob(3) will return at least one pathname unless
a system error has occured. It's not a "not found"
error otherwise.
MFC after: 3 days
2002-08-05 14:40:38 +00:00
Yaroslav Tykhiy
effa0530c4
Spot places where "pathname" hasn't been checked
...
for NULL. The "pathname" rule may return NULL
on a glob(3) error.
Obtained from: OpenBSD
MFC after: 1 week
2002-08-05 14:26:40 +00:00
Yaroslav Tykhiy
c452fbe11c
Disallow invalid numeric mode values for SITE CHMOD.
...
Earlier, a decimal number (e.g., 890) could be passed
for mode, leading to dangerous permissions set:
-1, that is, 07777.
Obtained from: OpenBSD
MFC after: 1 week
2002-08-05 14:10:57 +00:00
Yaroslav Tykhiy
255a70376b
Reflect in the ftpd(8) manpage the fact that ASCII SIZE
...
requests against large files will be denied.
MFC after: 10 days
2002-08-05 13:37:18 +00:00
Mike Silbersack
aff8da7074
Make sure to set the DMA transfer length register, plus one
...
small style fix.
Submitted by: Thomas Nystrom <thn@saeab.se>
2002-08-05 13:24:06 +00:00
Matthew N. Dodd
42a389ac3e
Diff reduction.
2002-08-05 13:23:41 +00:00
Matthew N. Dodd
203098d816
Use timespec not timeval.
2002-08-05 12:22:55 +00:00
Tim J. Robbins
677adc79c2
Add missing prototypes for extension functions to the SYNOPSIS.
2002-08-05 11:02:04 +00:00
Tim J. Robbins
21b7821a9e
Use In macro instead of Fd. Add crossref to wctype(3). Refer to 1003.1-2001
...
in STANDARDS section. Document functions which are extensions to the standard.
2002-08-05 10:50:39 +00:00
Tim J. Robbins
15c57797bb
Use the In macro instead of Fd. Add crossref to wctrans(3). Refer to
...
1003.1-2001 in STANDARDS section.
2002-08-05 10:48:05 +00:00
Tim J. Robbins
6b44a04d1c
Implement the missing <wctype.h> functions: isw*() (iswalnum() etc.),
...
towlower() and towupper() required by ISO C90 Amd. 1.
iswascii(), iswhexnumber(), iswideogram(), iswnumber(), iswphonogram(),
iswrune() and iswspecial() have also been implemented for consistency
with the BSD extensions in <ctype.h>.
2002-08-05 10:45:23 +00:00
Jeff Roberson
973a3f4b94
- Document more of the struct vnode locking protocol.
...
- Slightly reformat a comment block.
2002-08-05 10:25:56 +00:00
Jeff Roberson
8947be9ba0
- Move some logic from getnewvnode() to a new function vcanrecycle()
...
- Unlock the free list mutex around vcanrecycle to prevent a lock order
reversal.
2002-08-05 10:15:56 +00:00
Andrey A. Chernov
3a317a1229
Reject encoding > ENCODING_LEN at early stage instead of truncating it.
...
Use ptr == NULL instead of !ptr in few places.
Move saverr declaration to global section.
2002-08-05 09:58:45 +00:00
Jeff Roberson
18c6acee26
- Move a VOP assert to the right place.
...
Spotted by: i386 tinderbox
2002-08-05 08:55:53 +00:00
Jeff Roberson
be12d7a61d
- Add a missing VI_UNLOCK to an error case in nfs_flush.
2002-08-05 08:54:29 +00:00