| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
approved by the vendor and will be present in future releases.
|
| |
| |
| |
| | |
Submitted by: Yoshihiko SARUMARU <mistral@imasy.or.jp>
|
| | |
|
| |
| |
| |
| |
| |
| | |
(random() or arc4random())
Reviewed by: bde
|
|\ \
| | |
| | |
| | | |
which included commits to RCS files with non-trunk default branches.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
aiocb's allocated by zalloc(). In other words, zfree() was never
called. Now, we call zfree(). Why eliminate this micro-
optimization? At some later point, when we multithread the AIO
system, we would need a mutex to synchronize access to aio_freejobs,
making its use nearly indistinguishable in cost from zalloc() and
zfree().
Remove unnecessary fhold() and fdrop() calls from aio_qphysio(),
undo'ing a part of revision 1.86. The reference count on the file
structure is already incremented by _aio_aqueue() before it calls
aio_qphysio(). (Update the comments to document this fact.)
Remove unnecessary casts from _aio_aqueue(), aio_read(), aio_write()
and aio_waitcomplete().
Remove an unnecessary "return;" from aio_process().
Add "static" in various places.
|
| | |
| | |
| | |
| | | |
Kind-of obtained from: NetBSD
|
| | | |
|
| | |
| | |
| | |
| | | |
this on real hardware.
|
| | |
| | |
| | |
| | |
| | | |
state. It is possible that we could be preempted part way through the
check.
|
| | |
| | |
| | |
| | | |
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
|
| | |
| | |
| | |
| | | |
values that aren't updated for a particular network-layer address.
|
| | |
| | |
| | |
| | | |
Requested by: Farooq Mela <fmela0@sm.socccd.cc.ca.us>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
However, if the RTF_DELCLONE and RTF_WASCLONED condition passes, but the ref
count is > 1, we won't decrement the count at all. This could lead to
route entries never being deleted.
Here, we call rtfree() not only if the initial two conditions fail, but
also if the ref count is > 1 (and we therefore don't immediately delete
the route, but let rtfree() handle it).
This is an urgent MFC candidate. Thanks go to Mike Silbersack for the
fix, once again. :-)
Submitted by: Mike Silbersack <silby@silby.com>
|
| | | |
|
| | |
| | |
| | |
| | | |
This allows some of the conditionals to be combined.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Fix a missed conversion of 32 to 16 bit handles.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
is supposed to inform the user of all steps it would take.
The current code does not issue any messages regarding actions
that would be performed by delete_package (removing files and
executing @unexec commands), because when the Fake variable
is 1, delete_package (which itself respects Fake and prints
messages rather than taking action when it is 1) is not called
at all.
Fix this.
PR: bin/24971
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
pccardc's stdout to /dev/null and outputting short messages on succesful
completion instead much like other rc scripts.
Reviewed by: imp
|
| | | |
|
| | |
| | |
| | |
| | | |
while I'm here, fix bitrotted debug code generating template.
|
| | |
| | |
| | |
| | |
| | | |
If one runs an un-branded Linux static binary that calls Linux's fcntl
the machine will reboot when interupted by the FreeBSD syscall ABI.
|
| | |
| | |
| | |
| | | |
Fixed spacing messed up in rev 1.244.
|
| | | |
|
| | |
| | |
| | |
| | | |
daemons.
|
| | |
| | |
| | |
| | | |
since revision 1.69 of kern/vfs_aio.c.
|
| | |
| | |
| | |
| | |
| | |
| | | |
stuff for other OS's. Also remove stuff (libraries) that are
already present in FreeBSD and must not get mixed up in our
code.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
uncompilable bits in here (like X stuff), nor should we have
too much "ports material".
|
| | |
| | |
| | |
| | |
| | |
| | | |
symlinks
Pointed out by: bde
|
| | |
| | |
| | |
| | | |
Obtained from: NetBSD
|
| | |
| | |
| | |
| | |
| | |
| | | |
CPUTYPE, and I forgot I used it here already)
Pointed out by: bde
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Chris Johnson <cjohnson@palomine.net> tested this fix in -stable.
|
| | |
| | |
| | |
| | | |
only have one patented algorithm in make.conf.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is done by using the same ssh messages for v4 and v5 authentication
(since the ssh.com does not now anything about v4) and looking at the
contents after unpacking it to see if it is v4 or v5.
Based on code from Björn Grönvall <bg@sics.se>
PR: misc/20504
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
addressed to the interface on the other side of the box follow their
historical path.
Explicitly block packets sent to the loopback network sent from the outside,
which is consistent with the behavior of the forwarding path between
interfaces as implemented in in_canforward().
Always check the arrival interface when matching the packet destination
against the interface broadcast addresses. This bug allowed TCP
connections to be made to the broadcast address of an interface on the
far side of the system because the M_BCAST flag was not set because the
packet was unicast to the interface on the near side. This was broken
when the directed broadcast code was removed from revision 1.32. If
the directed broadcast code was stil present, the destination would not
have been recognized as local until the packet was forwarded to the output
interface and ether_output() looped a copy back to ip_input() with
M_BCAST set and the receive interface set to the output interface.
Optimize the order of the tests.
Reviewed by: jlemon
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
related code from aio_read() and aio_write(). This field was
intended, but never used, to allow a mythical user-level library to
make an aio_read() or aio_write() behave like an ordinary read() or
write(), i.e., a blocking I/O operation.
|
|\ \ \
| | | |
| | | |
| | | | |
which included commits to RCS files with non-trunk default branches.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
POSIX locale.
|
| | | | |
|
| | | | |
|