| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
- redo updating.
rijndael-api-fst.[ch]:
- switch to use new low level rijndael api.
- stop using u8, u16 and u32.
- space cleanup.
Tested by: gbde(8) and phk's test program
|
|
|
|
|
|
|
|
|
| |
do only unlink the file if we could indeed overwrite the file.
Old behaviour: rm -P /tmp/foo (foo mode 0444) would NOT overwrite foo,
but still delete it (with a warning: rm: foo: Permission denied)
New behaviour: Just the EPERM warning, but no deletion
Reviewed by: bde
|
| |
|
|
|
|
| |
for the NgATM ILMI daemon and for the tree parsing helper program.
|
| |
|
|
|
|
| |
netgraph module for the SNMP daemon.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
library build to install tree definition files and MIBS.
Okay'ed by: ru
|
|
|
|
| |
ILMI daemon.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
free one sem_undo with un_cnt == 0 instead of all of them. This is a
temporary workaround until the SLIST_FOREACH_PREVPTR loop gets fixed so
that it doesn't cause cycles in semu_list when removing multiple adjacent
items. It might be easier to just use (doubly-linked) LISTs here instead
of complicated SLIST code to achieve O(1) removals.
This bug manifested itself as a complete lockup under heavy semaphore use
by multiple processes with the SEM_UNDO flag set.
PR: 58984
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only update them in the newly created context to reflect the state
after copying the dirty registers onto the user stack. If we were to
update the trapframe, we lose the state at entry into the kernel. We
may need that after we create the context, such as for KSE upcalls.
We have to update the trapframe after writing the dirty registers to
the user stack for signal delivery to work. But this is best done in
sendsig() itself where it applies, not in get_mcontext() where it's
done unconditionally.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Notify BUS RESET to CAM in sbp_attach().
- Use last bus reset time to determine login delay.
Tested by: imura
* Add some sysctl MIB and tunables.
|
|
|
|
|
|
| |
with debugger, so testing P_TRACED in SIGPENDING is useless. This test also
is the culprit which causes lots of 'failed to set signal flags properly for
ast()' to be printed on console which is just a false complaint.
|
|
|
|
| |
properly belongs.
|
|
|
|
|
|
|
|
| |
must return EINVAL if size is zero. Submitted by: tegge
- In order to avoid a race condition in multithreaded applications, the
check and removal operations by munmap(2) must be in the same critical
section. To accomodate this, vm_map_check_protection() is modified to
require its caller to obtain at least a read lock on the map.
|
|
|
|
| |
Reviewed by: alc
|
|
|
|
|
|
| |
date: 2003/10/18 04:50:35; author: simonb
Remove assigned-to but otherwise unused variables.
Remove unreachable break after return statements.
|
|
|
|
|
|
|
|
|
|
| |
revision 1.142
date: 2003/10/11 03:04:26; author: toshii
Fix a done list handling bug which exhibits under high shared
interrupt rate and bus traffic. As the interrupt register is
read after checking hcca_done_head, there was a small chance
of dropping a done list. Ignore OHCI_WDH interrupt bit if
hcca_done_head is zero so that OHCI_WDH is processed later.
|
|
|
|
|
|
|
| |
revision 1.141
date: 2003/09/10 20:08:29; author: mycroft;
Update actlen even in the case where a TD returns an error --
this is critical for the umass bulk-only STALL case.
|
|
|
|
|
|
|
| |
revision 1.176
date: 2003/11/04 19:11:21; author: mycroft;
Ignore a CRCTO error on a SETUP transaction in combination with
STALLED or NAK. This fixes problems with the GL641.
|
|
|
|
|
| |
date: 2003/09/12 16:18:08; author: mycroft;
Tweak a debugging printf().
|
| |
|
|
|
|
|
|
| |
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
|
|
|
|
|
|
|
|
|
|
|
|
| |
ahc(4) sections.
Trim devices from sis(4), de(4), and ex(4).
Don't bother saying what standards are supported by the ATM stack;
this list is kind of misplaced here (and may not even be accurate
anymore).
Delete mention of pca; this driver has been removed.
|
|
|
|
| |
Submitted by: Len Widra
|
|
|
|
|
| |
have a pointer in the PCPU to the PCB of the thread that currently
has its high FP registers loaded.
|
| |
|
| |
|
|
|
|
|
|
| |
the last commit.
MFC after: 1 week
|
|
|
|
|
|
|
| |
driver source code.
- Use a mdoc list for the list of supported devices.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use set_mcontext() to restore the context in sigreturn(). Since we
put the syscall number and the syscall arguments in the trapframe
(we don't save the scratch registers for syscalls, which allows us
to reuse the space to our advantage), create a MD specific flag so
that we save the scratch registers even for syscalls. We would not
be able to restart a syscall otherwise.
The signal trampoline does not need to flush the regiters anymore,
because get_mcontext() already handles that. In fact, if we set up
the context correctly, we do not need to have a trampoline at all.
This change however only minimally changes the trampoline code. In
follow-up commits this can be further optimized.
Note that normally we preserve cfm and iip in the trapframe created
by the EPC syscall path when we restore a context in set_mcontext()
because those fields are not normally set for a synchronuous context.
The kernel puts the return address and frame info of the syscall
stub in there. By preserving these fields we hide this detail from
userland which allows us to use setcontext(2) for user created
contexts. However, sigreturn() is commonly called from the trampoline,
which means that if we preserve cfm and iip in all cases, we would
return to the trampoline after the sigreturn(), which means we hit
the safety net: we call exit(2). So, we do not preserve cfm and iip
when we have a synchronous context that also has scratch registers
(the uncommon context created by sendsig() only), under the assumption
that if such a context is created in userland, something special is
going on and the use of cfm and iip is then just another quirk. All
this is invisible in the common case.
|
|
|
|
|
|
|
|
|
|
| |
if we drop into the pmap or vnode layers.
- Migrate the handling of zero-length msync(2)s into vm_map_sync() so that
multithread applications can't change the map between implementing the
zero-length hack in msync(2) and reacquiring the map lock in
vm_map_sync().
Reviewed by: tegge
|
|
|
|
| |
the memory leak seen when using ATAPICAM.
|
|
|
|
|
|
| |
Total being shorter than interrupt)..
Pointed out by: bde
|
|
|
|
|
|
|
|
|
|
| |
Since all callers either passed 0 or 1 for clear_ret, define bit 0 in
the flags for use as clear_ret. Reserve bits 1, 2 and 3 for use by MI
code for possible (but unlikely) future use. The remaining bits are for
use by MD code.
This change is triggered by a need on ia64 to have another knob for
get_mcontext().
|
|
|
|
| |
Also some minor whitespace nits.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o When we're resetting the board, make sure that we error out the pending
CCBs first. Otherwise the aha_cmd won't accept further commands, such
as those that are used to reset the card (AOP_INITIALIZE_MBOX). This
appears to cause a cascade failure where no more commands are possible
to the card.
o Reduce from 10s down to 1s the amount of time we're willing to tolerate
the card being awol. This helps the above case.
o Add some error checking to two commands issued in the probe.
I have a dim memory of gibbs@ trying to tell me about this problem a
few years ago, so pointy hat to imp@ for sitting on it so long.
|
| |
|
|
|
|
|
| |
This means we can avoid using the stack gap for most send* syscalls
now (it is still used in the IP_HDRINCL case).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
list of supported controllers into a list.
Note that the 53C875A has not been included in the list of supported
devices, since this controller does not seem to be supported by the
version of the sym(4) driver currently in FreeBSD.
PR: docs/55557
Submitted by: Lukas Ertl <l.ertl@univie.ac.at> (original version)
MFC after: 1 week
53C875A omission reviewed by: silence from -scsi and groudier
|
| |
|