Pawel Jakub Dawidek
950124e354
Move "is consumer attached?" check before G_VALID_PROVIDER() check,
...
because if consumer is not attached, its provider never will be valid,
so we never reach this check.
Approved by: phk
2004-03-18 07:17:10 +00:00
David E. O'Brien
b35979bc2e
Configure as --enable-64-bit-bfd.
2004-03-18 04:45:29 +00:00
Dag-Erling Smørgrav
787807c120
Braino in previous commit.
2004-03-18 03:01:28 +00:00
Bruce Evans
8a21510e78
Removed a vestige of the stl driver.
2004-03-18 02:54:42 +00:00
David E. O'Brien
5a3b7e5e5c
Document machdep.hlt_cpus.
...
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
2004-03-18 02:53:38 +00:00
Nate Lawson
1040ccf4a9
Back out code for auto-gdb detection that accidentally leaked into the
...
bus_alloc_resource_any commit.
Submitted by: bde
Pointy-hat: njl
2004-03-18 02:36:41 +00:00
Nate Lawson
d19b6e67ac
Support the DPF (start dependent function) resource type in parsing _PRS.
...
This should fix this error people get attaching cardbus controllers:
pcib0: _PRS resource entry has unsupported type 2
2004-03-18 02:33:58 +00:00
Garance A Drosehn
2e6c6ac4d7
Fix 'ps -p proclist' and 'ps -u userlist' so the command returns non-zero
...
if no processes were matched. Also sorts the list of 'int's in main, as
long as I had to add another one...
Noticed by: Nate Lawson
MFC after: 10 days
2004-03-18 01:28:23 +00:00
Maxim Sobolev
273ac7b968
Regen after 1.169 of usbdevs.
2004-03-18 01:06:28 +00:00
Maxim Sobolev
7dc0ba8937
Add support for Crystalfontz CFA-632, CFA-633 and CFA-634, all of them
...
are based on the same USB->COM bridge, but have different product IDs.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from: http://www.tnpi.biz/computing/freebsd/crystalfontz.shtml
MFC after: 3 days
2004-03-18 01:02:46 +00:00
David E. O'Brien
4c86458b9a
Mention the user account for 'pf' is "proxy".
2004-03-18 00:50:40 +00:00
David E. O'Brien
40c11c90c9
Cleanup hints, given that no hammer machine have (nor ever will have)
...
ISA slots.
Submitted by: Peter
2004-03-18 00:18:45 +00:00
Alan Cox
9508f75c23
Revise socow_iodone() in light of recent sf_buf changes. Specifically,
...
use sf_buf_free() instead of sf_buf_mext() to consolidate all actions
that require the page queues lock in one critical section. While I'm
here remove unnecessary splvm() and splx() calls.
2004-03-17 23:25:04 +00:00
Garance A Drosehn
4e8b6a6fb0
Improvements to 'ps -p <x>'. If <x> is a process id that does not exist, then
...
just print the header (if any) and exit, thus matching the behavior on -stable
and other OS's.
Also adds support for <x> being a comma-separated list of processes, and does
a much better checking for invalid-values of <x>, such as 'ps -p someword'.
Reviewed by: mentioned on freebsd-current
MFC after: 10 days
2004-03-17 22:46:58 +00:00
Brian Feldman
7e7a65a6fa
Eliminate bogus usage of WI_RSSI_TO_DBM(). Not only does it bogusly
...
clip/destroy the dB value contained in the wi(4)'s receive frames,
it doesn't match with the flag set in the radiotap header
(unperturbed dB versus dBm).
2004-03-17 21:54:52 +00:00
Nate Lawson
e5ada020f1
Fix border error to allow systems that specify 100 for latency also use
...
C2 and 1000 to use C3.
Submitted by: Bruno Ducrot <ducrot@poupinou.org>
Tested by: Scott Lambert <lambert@lambertfam.org>
2004-03-17 21:49:47 +00:00
John-Mark Gurney
4de27366d1
sync comment with i386's isa.c.. This removes a comment that is YEARS
...
old...
2004-03-17 21:45:55 +00:00
Max Laier
cc7e902276
Style(9) round for the pf kernel parts. Mostly #if defined() -> #ifdef
...
Also set HOOK_HACK to true (remove the related #ifdef's) as we have the
hooks in the kernel this was missed during the merge from the port.
Noticed by: Amir S. (for the HOOK_HACK part)
Approved by: bms(mentor)
2004-03-17 21:11:02 +00:00
Pawel Jakub Dawidek
512af1646c
Add a comment with an explanation why we don't report EPIPE errors on
...
nfs sockets.
Requested by: ru
2004-03-17 21:10:20 +00:00
Ruslan Ermilov
a58a272a0e
NULL -> 0.
2004-03-17 20:50:25 +00:00
Ruslan Ermilov
52ded959f5
NULL -> 0.
2004-03-17 20:19:45 +00:00
Ruslan Ermilov
ec57a38507
Fixed a warning.
2004-03-17 20:10:59 +00:00
John Baldwin
b7e23e826c
- Replace wait1() with a kern_wait() function that accepts the pid,
...
options, status pointer and rusage pointer as arguments. It is up to
the caller to copyout the status and rusage to userland if needed. This
lets us axe the 'compat' argument and hide all that functionality in
owait(), by the way. This also cleans up some locking in kern_wait()
since it no longer has to drop locks around copyout() since all the
copyout()'s are deferred.
- Convert owait(), wait4(), and the various ABI compat wait() syscalls to
use kern_wait() rather than wait1() or wait4(). This removes a bit
more stackgap usage.
Tested on: i386
Compiled on: i386, alpha, amd64
2004-03-17 20:00:00 +00:00
John-Mark Gurney
cb8c2e1cd2
remove stale comment since these limits have been increased YEARS ago...
2004-03-17 19:04:58 +00:00
David E. O'Brien
7863752724
I accidently spammed rev. 1.18, back out rev 1.19.
2004-03-17 18:38:07 +00:00
Pawel Jakub Dawidek
41eda4e2b1
Don't report EPIPE errors on nfs sockets. These can be due to idle tcp
...
mounts which will be closed by netapp, solaris, etc. if left idle too long.
Obtained from: NetBSD
2004-03-17 18:10:38 +00:00
Nate Lawson
5f96beb9e0
Convert callers to the new bus_alloc_resource_any(9) API.
...
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
2004-03-17 17:50:55 +00:00
Jacques Vidrine
902aa2e784
Resolve conflicts after import of OpenSSL 0.9.7d.
2004-03-17 17:44:39 +00:00
Nate Lawson
bdffb39f34
Add bus_alloc_resource_any(9), which does bus_alloc_resource() with the
...
appropriate default values. Document it in the manpage.
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Abstains: bde
2004-03-17 17:40:34 +00:00
Jacques Vidrine
03886b3681
Update manual pages for OpenSSL 0.9.7d.
2004-03-17 16:15:46 +00:00
Jacques Vidrine
8f1200ff6f
This commit was generated by cvs2svn to compensate for changes in r127128,
...
which included commits to RCS files with non-trunk default branches.
2004-03-17 15:49:33 +00:00
Jacques Vidrine
ced566fd0b
Vendor import of OpenSSL 0.9.7d.
2004-03-17 15:49:33 +00:00
Christian Brueffer
535277d5e8
Fix typo
2004-03-17 14:07:44 +00:00
Christian Brueffer
1e3082a5fc
o Start sentences on new lines
...
o misc format fixes
2004-03-17 14:06:57 +00:00
Christian Brueffer
b4f0219958
Language cleanup
2004-03-17 13:55:40 +00:00
Christian Brueffer
c13256fab9
Language cleanup
2004-03-17 13:41:37 +00:00
Pawel Jakub Dawidek
9cdb62160b
Fix information leakage.
...
Without this fix it is possible to cheat policies like:
- sysctl security.bsd.see_other_[gu]ids=0,
- mac_seeotheruids(4),
- jail(2)
and get full processes list with their arguments.
This problem exists from revision 1.62 of kern_proc.c when it was
introduced.
Reviewed by: nectar, rwatson.
2004-03-17 13:19:43 +00:00
Robert Watson
34f74e1ed8
Make ddp_ports static, as it's not used outside of ddp_usrreq.c.
...
Inspired by: Day spent hiking to hot springs in Taiwan
Powered by: Asia BSDCon 2004
2004-03-17 12:54:21 +00:00
Tim J. Robbins
3236e08bf8
Update list of macros defined in <stdio.h>.
2004-03-17 12:54:06 +00:00
Tim J. Robbins
7a0fae27c9
Re-add description of putc() macro (back out rev. 1.13.)
2004-03-17 12:46:17 +00:00
Tim J. Robbins
0ac162b7cc
Re-add text that says getc() is a macro (back out rev. 1.16.)
2004-03-17 12:37:28 +00:00
Jacques Vidrine
81ac585294
Correct a denial-of-service vulnerability in OpenSSL (CAN-2004-0079).
...
Obtained from: OpenSSL CVS (http://cvs.openssl.org/chngview?cn=12033 )
2004-03-17 12:11:08 +00:00
Jacques Vidrine
1612471010
This commit was generated by cvs2svn to compensate for changes in r127114,
...
which included commits to RCS files with non-trunk default branches.
2004-03-17 12:11:08 +00:00
Ceri Davies
f60e8ef7b1
Correct a grammatical error.
...
PR: docs/63984
Submitted by: Ulrich Spoerlein <q@uni.de>
MFC after: 1 day
2004-03-17 11:35:23 +00:00
Ruslan Ermilov
0222d5bc2d
Improved incorrect usage diagnostics.
2004-03-17 11:06:40 +00:00
Ruslan Ermilov
5d8fdf31dd
Trust bsd.prog.mk to set SRCS correctly.
2004-03-17 10:52:12 +00:00
Ruslan Ermilov
2dc7343e8e
GC unnecessary include file.
2004-03-17 10:51:18 +00:00
Colin Percival
018e32c194
Adjust the number of processes waiting on a semaphore properly if we're
...
woken up in the middle of sleeping.
PR: misc/64347
Reviewed by: tjr
MFC after: 7 days
2004-03-17 09:37:13 +00:00
Yoshihiro Takahashi
d67e2df265
Move the _arlconfig define in the existing i386 section.
...
Suggested by: ru
2004-03-17 08:50:17 +00:00
David E. O'Brien
d65c9ff559
This commit was generated by cvs2svn to compensate for changes in r127105,
...
which included commits to RCS files with non-trunk default branches.
2004-03-17 07:58:36 +00:00