| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Pointed out by: stefanf
|
|
|
|
| |
Submitted by: stefanf
|
|
|
|
|
|
|
|
|
|
| |
- Add buffer size limitations (overflow will not be possible anymore).
- Add 'visible' option, which will allow for passphrase reading in the
future.
- Remove special treatment of '@' and '#', those two are only confusing.
Discussed with: rwatson
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
Fixed an off-by-one error when dealing with interface name
(if_xname is NUL-terminated).
Don't waste time making a copy of if_xname in constructor.
|
|
|
|
|
|
| |
(if_xname is NUL-terminated).
Don't waste time making a copy of if_xname in attach().
|
|
|
|
| |
(if_xname is IFNAMSIZ-sized and NUL-terminated).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
release) the sio spin mutex, as use of synchronization primitives in
the debugger can result in substantial problems. With this patch in
place entering the debugger via a serial console is made
substantially more reliable.
MFC after: 1 week
Tested by: kris
Discussed with: bde
|
| |
|
|
|
|
|
|
| |
- add -fno-omit-framepointer to CFLAGS if DDB is enabled so
backtraces will still work when optimization is enabled.
Stolen from Makefile.amd64.
|
| |
|
|
|
|
|
|
| |
default on PowerPC.
Approved by: mdodd
|
|
|
|
|
|
| |
# this hasn't compiled for two weeks and no one noticed!
MFC After: 7 days or so
|
| |
|
|
|
|
|
|
| |
memory modified after free errors.
Sponsored by: Isilon Systems, Inc.
|
|
|
|
|
|
|
|
| |
tond and not fromnd. This could lead us to leak Giant, or unlock it
twice, depending on the filesystems involved. renames within a single
filesystem would not have caused any problems.
Sponsored by: Isilon Systems, Inc.
|
|
|
|
|
|
|
| |
subsystem.
Obtained from: TrustedBSD Project
Submitted by: Wayne Salamon <wsalamon at computer dot org>
|
|
|
|
|
|
| |
AUE_NULL. This is a place-holder to allow other audit infrastructure
to be introduced, such as an updated syscalls.master file format,
while the license on the real audit_kevents.h is fixed.
|
|
|
|
| |
breaks.
|
| |
|
|
|
|
| |
(Gives the same object when compiled without NETGRAPH_DEBUG.)
|
|
|
|
|
| |
required for the port of SELinux FLASK/TE to FreeBSD using the MAC
Framework.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cause of "Duplicate mbuf free panic" is in the programming
error of hme_load_txmbuf(). The code path of the panic is the
following.
1. Due to unknown reason DMA engine was freezed. So TX descritors
of HME become full and the last failed attempt to transmit a
packet had set its associated mbuf address to hme_txdesc
structure. Also the failed packet is requeued into interface
queue structure in order to retrasmit it when there are more
available TX descritors.
2. Since DMA engine was freezed, if_timer starts to decrement its
counter. When if_timer expires it tries to reset HME. During
the reset phase, hme_meminit() is called and it frees all
associated mbuf with descriptors. The last failed mbuf is also
freed here.
3. After HME reset completed, HME starts to retransmit packets
by dequeing the first packet in interface queue.(Note! the
packet was already freed in hme_meminit()!)
4. When a TX completion interrupt is posted by the HME, driver
tries to free the successfylly transmitted mbuf. Since the
mbuf was freed in step2, now we get "Duplicate mbuf free panic".
However, the real cause is in DMA engine freeze. Since no fatal
errors reported via interrupts, there might be other cause of
the freeze. I tried hard to understand the cause of DMA engine
freeze but couldn't find any clues. It seems that the freeze
happens under very high network loads(e.g. 7.5-8.0 MB/s TX speed).
Though this fix is not enough to eliminate DMA engine freeze it's
better than panic.
Reported by: jhb via sparc64 ML
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
executed. This appears to violate most of the UNIX-ish standards.
One example quote from:
http://www.opengroup.org/onlinepubs/009695399/functions/exec.html
Upon successful completion, the exec functions shall mark for update
the st_atime field of the file. If an exec function failed but was
able to locate the process image file, whether the st_atime field is
marked for update is unspecified. Should the exec function succeed,
the process image file shall be considered to have been opened with
open().
This appears to take care of it for ufs filesystems, doing the necessary
sanity checks (read-only filesystem, etc) without violating any other
standards (setting atime for any open appears to be allowed in any standards
I could find).
Noticed by: cperciva
Reviewed by: kan, rwatson
|
|
|
|
|
|
| |
the LOOKUP_SHARED case.
Spotted by: jhb
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CIS, weren't actually used anywhere (other than the generic PC Card
code when certain variables are defined). They aren't used in NetBSD
either. Make things simpler by removing them. Change PLANEX_2 to
PLANEX and tweak wi and owi to use that instead. The PLANEX id seems
to actually be pci ID assigned to planex, not its pcmcia id. Ooops.
I don't know if this is a reporting error from where this entry came
from, or if it is a mistake on PLANEX's part. I suspect the latter,
as ACTIONTEC and NEWMEDIA made the same mistake (although new media
may be because it uses an advansys chip inside). Make a note of this
in the file. The 0xc entires may be JEITA assigned, so note that as
well.
# This leaves just 3 entries that are totally unknown: airvast, archos
# and edimax although the arivast number is the same assigned to
# avertec in usb...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This driver implements "unaddressed listen only mode", which is what
printers and plotters commonly do on GP-IB busses.
This means that you can capture print/plot like output from your
instruments by configuring them as necessary (good luck!) and
cat -u /dev/gpib0l > /tmp/somefile
Since there is no way to know when no more output is comming you
will have to ctrl-C the cat process when it is done (that is why
the -u is important).
|
|
|
|
|
|
|
|
|
| |
before entering ng_netflow. In this case it will have not NULL m_pkthdr.rcvif.
However, it will enter ng_iface soon with another index. So let in_ifIndex
value configured by user override m_pkthdr.rcvif.
Reported by: Damir Bikmuhametov
MFC after: 1 week
|
|
|
|
| |
- cast param for atomic_subtract_long, since Netgraph uses it.
|
|
|
|
| |
interface. Instead, move to the convenience _any interface.
|
| |
|
|
|
|
|
|
| |
all reserved, as the lisence makes clear), and strike the third clause
(now this is a 2-clause liberal BSDL as are the rest of files I hold
copyright over).
|
| |
|
|
|
|
|
|
| |
Calling ucom layer directly from interrupt context make a panic.
MFC after: 1 week
|
| |
|
|
|
|
| |
Submitted by: yongari
|
|
|
|
|
|
|
|
|
|
|
| |
The presence or absence of a keyboard does not change whether an
UART is designed as a keyboard port or not and thus whether we
can use the port as a TTY or not.
We now call sunkbd_attach() even when we didn't previously find
a keyboard. Emit a useful message stating that no keyboard was
found, but don't do anything else.
MFC after: 5 days
|
|
|
|
|
|
|
| |
It should be safe to attach to all Z8530 controllers again. In fact,
the keyboard works on Ultra 2 machines.
MFC after: 5 days
|
|
|
|
|
|
|
|
| |
missed in tcp_subr.c:1.216: projected_offset must also reflect how often
the tcp_isn_tick() callout will fire.
MFC after: 2 weeks
Submitted by: silby
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a UMA zone instead. This should eliminate a bit of the locking
overhead associated with with malloc and reduce the memory
consumption associated with each new state.
Reviewed by: rwatson, andre
Silence on: ipfw@
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
second; since the default hz has changed to 1000 times a second,
this resulted in unecessary work being performed.
MFC after: 2 weeks
Discussed with: phk, cperciva
General head nod: silby
|
|
|
|
| |
MFC after: 5 days
|
|
|
|
|
|
|
| |
Submitted by: tegge
Eliminate an unnecessary, temporary increment of the backing object's
reference count in vm_object_qcollapse(). Reviewed by: tegge
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
McAfee. Update copyright to McAfee from NETA.
|
|
|
|
|
|
|
|
|
| |
ServeRAID 4 - 7 models right now. Support for older cards is possible, but
I don't have any hardware to experiment with.
Thanks to Jack Hammer at Adaptec for providing debugging hints.
Sponsored by: ImproWare AG, Switzerland
|