| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
and sysctl kern_proc_vmmap handlers.
Reported and tested by: pho
Reviewed by: rwatson, des
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
error is not EAGAIN. Several sysctls that inspect another process use
p_candebug() for checking access right for the curproc. p_candebug()
returns EAGAIN for some reasons, in particular, for the process doing
exec() now. If execing process tries to lock Giant, we get a livelock,
because sysctl handlers are covered by Giant, and often do not sleep.
Break the livelock by dropping Giant and allowing other threads to
execute in the EAGAIN loop.
Also, do not return EAGAIN from p_candebug() when process is executing,
use more appropriate EBUSY error [1].
Reported and tested by: pho
Suggested by: rwatson [1]
Reviewed by: rwatson, des
MFC after: 1 week
|
|
|
|
|
| |
portion of sysinstall. Leave it to be treated as a regular package
along with all the other packages...
|
|
|
|
| |
binary compatibility.
|
|
|
|
| |
Another pointy hat for my collection.
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
| |
- Tweak a word choice.
- Drop a reference to Alpha.
|
|
|
|
| |
Approved by: kib (implicit)
|
|
|
|
| |
apologies to thompsa
|
|
|
|
|
|
| |
recursive lock panic on inet6 detach.
Reviewed by: kmacy
|
|
|
|
|
|
|
|
|
|
|
| |
state changes. This change modifies tunopen and tunclose to call the
if_link_state_change() function. Among other things, this will result in
devd(8) receiving events from devctl(4) for linkup/link down. This allows
us to do several useful things, including initializing tunnel parameters
and adding routes.
Discussed on: freebsd-net@
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
Disable it until I find spare time to analyze the issue.
Reported by: Goran Lowkrantz <glz <> hidden-powers DOT com>
MFC after: 3 days
|
|
|
|
|
| |
Reviewed by: arch
Approved by: kib
|
|
|
|
|
|
|
| |
properly translated to their component names.
Reviewed by: arch
Approved by: kib
|
|
|
|
|
| |
Reviewed by: arch
Approved by: kib
|
|
|
|
|
| |
Reviewed by: arch
Approved by: kib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on a best-effort basis. Teach vn_fullpath to use this new VOP if a
regular VFS cache lookup fails. This VOP is designed to supplement the
VFS cache to provide a better chance that a vnode-to-name lookup will
succeed.
Currently, an implementation for devfs is being committed. The default
implementation is to return ENOENT.
A big thanks to kib for the mentorship on this, and to pho for running it
through his stress test suite.
Reviewed by: arch
Approved by: kib
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One thing I didn't expect many applications to use, was kqueue() on
pseudo-terminal master devices. There are applications that use kqueue()
on the TTY itself (rtorrent, etc). That doesn't mean we shouldn't
implement this. Libraries like libevent use kqueue() by default, which
means they wouldn't be able to use kqueue().
The old TTY layer implements a very broken version of kqueue() by
performing the actual polling on the TTY device.
Discussed with: peter
|
| |
|
|
|
|
|
|
|
|
|
| |
When I added RLIMIT_NPTS, I forgot to add it to rlimit_ident[]. Make
sure the rlimit_ident[] array is always RLIM_NLIMITS elements big. So if
we ever forget to add new rlimits to this list again. it will contain a
null pointer, instead of random data.
Spotted by: rwatson
|
|
|
|
| |
we've successfully found a zfs pool.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
missed under VIMAGE_GLOBAL.
Start putting the extern declarations of the virtualized globals
under VIMAGE_GLOBAL as the globals themsevles are already.
This will help by the time when we are going to remove the globals
entirely.
While there garbage collect a few dead externs from ip6_var.h.
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
are in vinet.h not in vinet6.h
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
routine to read it.
|
|
|
|
|
|
| |
the (temporary) option VIMAGE_GLOBALS.
Sponsored by: The FreeBSD Foundation:
|
|
|
|
|
|
| |
somehow, when moving the code from p4 to svn.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
| |
to the SO_HEADERS_ON_OUTPUT case and set that instead.
MFC after: 1 week
Found with: Coverity Prevent(tm)
Coverity ID: 3988
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: Mike Tancsa <mike@sentex.net>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Try to be smarter about reading the ExCA CSC register. Now, we only
do it for 16-bit cards. Add some experimental code to treat it like
a power interrupt, but I'm not 100% sure that I like it. It may be
removed upon further testing. It seemed to help in one test case, but
the evidence may be inconclusive. This may be beneficial for cleaning up
exca_reset and exca_wait_ready.
o Check for CSTS events on the socket event register. We ask for it when
we're powering up a card, but I don't think we're otherwise using
it. Just ACK the interrupt for now. In theory, we can use it
instead of the busy wait we do in cbb_cardbus_reset. More research
is necessary to see if we can optimize things there when we're
waiting for the DEVVENDOR register to become valid.
o Rework the comments a bit. Minor tidying up. Etc.
|
|
|
|
| |
Coverity ID: 4159
|
|
|
|
| |
Coverity ID: 4151
|
| |
|
|
|
|
|
|
| |
explicit command to enable Rx MAC prior to entering D3.
Tested by: Cyrus Rahman <crahman <> gmail DOT com>
|
|
|
|
|
| |
in zfs_dev_open. This stops a panic in the loader when trying to
read from a zfs device and no zfs devices exist.
|
|
|
|
|
|
|
| |
have no such register. While here clear undocumented PHY
register 0x0B for RTL8110S.
Obtained from: RealTek FreeBSD driver
|
|
|
|
| |
terminate active Tx/Rx operation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
outside the prison_states array.
When checking if there is a name configured for the prison, check the
first character to not be '\0' instead of checking if the char array
is present, which it always is. Note, that this is different for the
*jailname in the syscall.
Found with: Coverity Prevent(tm)
CID: 4156, 4155
MFC after: 4 weeks (just that I get the mail)
|
|
|
|
|
|
|
| |
jhb probably forgot to commit this file with r185878 and will want to
review this. It unbreaks the build here.
Obtained from: p4 //depot/user/jhb/lock/compat/freebsd32/freebsd32_signal.h#2
|
|
|
|
|
| |
While here remove re_reset calls invoked in system error case as
controller reset is always done in device initialization.
|
|
|
|
|
|
|
|
| |
GMII access while Tx/Rx is in progress.
Reported by: Jaakko Heinonen <jh <> saunalahti DOT fi>,
Anton Yuzhaninov <citrin <> citrin DOT ru>
Tested by: Jaakko Heinonen <jh <> saunalahti DOT fi>
|