| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
because if consumer is not attached, its provider never will be valid,
so we never reach this check.
Approved by: phk
|
| |
|
|
|
|
| |
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
|
|
|
|
|
|
|
| |
bus_alloc_resource_any commit.
Submitted by: bde
Pointy-hat: njl
|
|
|
|
|
|
| |
This should fix this error people get attaching cardbus controllers:
pcib0: _PRS resource entry has unsupported type 2
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
ISA slots.
Submitted by: Peter
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
C2 and 1000 to use C3.
Submitted by: Bruno Ducrot <ducrot@poupinou.org>
Tested by: Scott Lambert <lambert@lambertfam.org>
|
|
|
|
| |
old...
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
nfs sockets.
Requested by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
mounts which will be closed by netapp, solaris, etc. if left idle too long.
Obtained from: NetBSD
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
|
|
|
|
|
|
|
|
| |
appropriate default values. Document it in the manpage.
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Abstains: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Inspired by: Day spent hiking to hot springs in Taiwan
Powered by: Asia BSDCon 2004
|
|
|
|
|
|
|
|
| |
woken up in the middle of sleeping.
PR: misc/64347
Reviewed by: tjr
MFC after: 7 days
|
| |
|
|
|
|
|
|
|
|
| |
as the process that opens tun_softc can exit before the file
descriptor is closed.
Taiwan experience provided by: keichii
Crashing breakers provided by: Chia-liang Kao <clkao@clkao.org>
|
|
|
|
|
|
|
| |
(tap_pid, tap_flags). if_tap should now be entirely MPSAFE.
Committed from: Bamboo house by ocean in Taiwan
Tropical paradise provided by: Chia-liang Kao <clkao@clkao.org>
|
|
|
|
|
|
| |
Man pages fixes.
Submitted by: Stanislav A. Svirid <count@riss-telecom.ru>
|
|
|
|
|
|
|
|
|
|
| |
group block locked. If filesystem has any active snapshots, bawrite
can come back trying to allocate new snapshot data block from the same
cylinder group and cause panic due to recursive lock attempt.
PR: 64206
Reviewed by: mckusick
Tested by: pjd
|
|
|
|
|
| |
The result isn't quite knf, but it's knfer than the original, and far
more consistent.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
dependent function by the same name and a machine-independent function,
sf_buf_mext(). Aside from the virtue of making more of the code machine-
independent, this change also makes the interface more logical. Before,
sf_buf_free() did more than simply undo an sf_buf_alloc(); it also
unwired and if necessary freed the page. That is now the purpose of
sf_buf_mext(). Thus, sf_buf_alloc() and sf_buf_free() can now be used
as a general-purpose emphemeral map cache.
|
|
|
|
|
|
|
|
|
| |
might be enqueued on a sleep queue but not be asleep when the timeout fires
if it is blocked on a lock trying to check for pending signals before going
to sleep. In the case of fixing up the TDF_TIMEOUT race, however, the
thread must be marked asleep.
Reported by: kan (the bogus one)
|
| |
|
|
|
|
|
| |
'generic' OpenFirmware nexus nodes, since it uses bus_generic_probe.
Maybe the cpu device probe should be MD.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
mini-layer. I don't have time to bing it forward into the GEOM world, and
no one else has stepped forward to claim it. It'll be in the Attic for safe
keeping for now.
|
|
|
|
|
|
|
|
| |
Use kern_open() to implement creat() rather than taking the long route
through open(). Mark creat as MPSAFE.
While I'm at it, mark nosys() (syscall 0) as MPSAFE, for all the
difference it will make.
|
| |
|
|
|
|
| |
linprocfs doesn't support the old mount interface.
|
|
|
|
| |
linprocfs filesystems.
|
|
|
|
| |
and mntonname are both MNAMELEN characters long, not MFSNAMELEN.
|
|
|
|
|
|
|
|
|
|
|
|
| |
set it to avoid the need for a bunch of code that tests whether or
not the lock member is set to REQ_WIRED in order to determine which
length member should be used.
Fix another bug in the oldlen return value code.
Fix a potential wired memory leak if a sysctl handler uses
sysctl_wire_old_buffer() and returns an EAGAIN error to trigger
a retry.
|
|
|
|
|
|
|
|
|
|
|
|
| |
If vslock() returns ENOMEM, sysctl_wire_old_buffer() should set
wiredlen to zero and return zero (success) so that the handler will
operate according to sysctl(3):
The size of the buffer is given by the location specified by
oldlenp before the call, and that location gives the amount
of data copied after a successful call and after a call that
returns with the error code ENOMEM.
The handler will return an ENOMEM error because the zero length
buffer will overflow.
|
| |
|
|
|
|
|
|
| |
the kernel wait4() made these all panic() implementations otherwise.
- The i386 linux_ptrace() syscall is MP safe. Alpha was already marked
MP safe.
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
hardware with non-sucky clocks.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
ptrace_set_pc(), and cpu_ptrace() so that those functions are free to
acquire Giant, sleep, etc. We already do a PHOLD/PRELE around them so
that it is safe to sleep inside of these routines if necessary. This
allows ptrace() to be marked MP safe again as it no longer triggers lock
order reversals on Alpha.
Tested by: wilko
|