| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
doesn't appear to be protecting anything. Most of consumers funsetownlst(9)
do not appear to be picking up Giant anywhere. This was originally a part
of my Giant exit(2) clean up revision 1.272 but I thought it was a good idea
to leave it out until we were able to analyze it better.
Tested by: kris
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
latest commit.
Reminded by: simon
Approved by: cpercival (mentor, implicit)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
which means that devices will be destroyed on last close.
This fixes destruction order problems when, eg. RAID3 array is build on
top of RAID1 arrays.
Requested, reviewed and tested by: ru
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
PR: usb/95346
Submitted by: Matthieu Guegan <lesaint@gcu.info>
Approved by: cperciva (mentor)
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
properly closed on shutdown.
Requested by: ru
Reviewed by: alc
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: pjd
Found by: Coverity Prevent (tm)
|
|
|
|
| |
protect thread list.
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Add mount and umount actions so that partitions can be in use.
o Extend the testing of the add verb to include overlapping
partitions.
o Add tests for the remove verb. this includes tests to remove
a partition when in use (i.e. is mounted).
o Add a MD5 checksum to the output of the conf action so that
it can be tested. Make sure the MD5 doesn't vary based on
certain dynamic behaviour that is irrelevant to the output.
o Add MD5 checksums to the expected result of conf actions.
|
|
|
|
|
|
| |
Add support for read-write parameters. Allow an optional initializer
for read-write parameters. Print the value of those parameters on
success following the PASS.
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Implement the remove verb to remove a partition entry.
o Improve error reporting by first checking that the verb is valid.
o Add an entry parameter to the add verb. this parameter can be
both read-only as welll as read-write and specifies the entry
number of the newly added partition.
o Make sure that the provider is alive when passed to us. It may
be withering away.
o When adding a new partition entry, test for overlaps with existing
partitions.
|
|
|
|
|
|
| |
particular provider. Use this function where g_orphan_provider()
is being called so that the flags are updated correctly and
g_orphan_provider() is called only when allowed.
|
|
|
|
| |
better performances.
|
|
|
|
|
|
|
| |
Radeon memmap code, which with a new DDX driver and DRI drivers should fix
long-term stability issues with Radeons. Also adds support for r200's
ATI_fragment_shader, r300 texrect support and texture caching fixes, i915
vblank support and bugfixes, and new PCI IDs.
|
| |
|
|
|
|
| |
apparently only needed because skyeye has bugs in its cache emulation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This speeds up my testing a bit. Because truncate(1) doesn't allocate
blocks on file system before they are used, it is very useful to
emulate huge file systems:
# truncate -s 16T fs.img
# mdconfig -a -f fs.img
# newfs /dev/mdX
(-t swap can be used as well)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
net.inet.ipsec.test_replay - When set to 1, IPsec will send packets with
the same sequence number. This allows to verify if the other side
has proper replay attacks detection.
net.inet.ipsec.test_integrity - When set 1, IPsec will send packets with
corrupted HMAC. This allows to verify if the other side properly
detects modified packets.
I used the first one to discover that we don't have proper replay attacks
detection in ESP (in fast_ipsec(4)).
|
| |
|
|
|
|
|
|
|
|
|
| |
natm_usr_detach(), which actually does the right thing. This code has
never worked properly, but also was never invoked since we only abort
connections associated with listen sockets, and netnam doesn't support
listen sockets.
MFC after: 3 months
|
|
|
|
|
| |
Reminded by: brueffer
X-MFC after: 3 days (or so)
|
|
|
|
|
|
|
|
|
|
| |
reference. For now, we allow the possibility that the in_ppcb
pointer in the inpcb may be NULL if a timewait socket has had its
tcptw structure recycled. This allows tcp_timewait() to
consistently unlock the inpcb.
Reported by: Kazuaki Oda <kaakun at highway dot ne dot jp>
MFC after: 3 months
|
|
|
|
|
|
| |
PR: 95546
Submitted by: Jan Schaumann <jschauma@netmeister.org>
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: pjd
MFC after: 3 months
|
|
|
|
|
|
|
|
|
|
| |
as being undocumented in Stevens, and was broken in 1997 during network
stack infrastructure work. It is the one remaining (and incorrect)
direct protocol reference to raw_usrreq.pru_attach; this is incorrect
because the raw socket code assumes that raw_uattach is called only after
the protocol has allocated a PCB.
MFC after: 3 months
|
|
|
|
|
| |
Submitted by: Pavel Martynenko <mpv -at- ip.net.ua>
X-MFC after: 3 days (or so)
|
|
|
|
|
|
|
|
|
| |
protocols invoke after allocating a PCB, so so_pcb should be non-NULL.
It is only used by the two IPSEC implementations, so I didn't hit it in
my testing.
Reported by: pjd
MFC after: 3 months
|
|
|
|
|
| |
and confirms that only SOCK_RAW works with socket(), and nothing works
with socketpair().
|
|
|
|
|
| |
socket() and socketpair() of SOCK_STREAM and SOCK_DGRAM types. It
also confirms that SOCK_RAW fails.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
demanded by POSIX.
- A redirection error is only fatal (meaning the execution of a shell script is
terminated) for special built-ins. Previously it was fatal for all shell
builtins, causing problems like the one reported in PR 88845.
- Variable assignments remain in effect for special built-ins.
- Option or operand errors are only fatal for special built-ins.
This change also makes errors from 'fc' non-fatal (I could not find any reasons
for this behaviour).
Somewhat independently from the above down-grade the error handling in the
shift built-in if the operand is bigger than $# from an error() call (which is
now fatal) to a return 1. I'm not sure if this should be considered a POSIX
"operand error", however this change is needed for now as we trigger that error
while building libncurses. Comparing with other shells, zsh does the same as
our sh before this change (write a diagnostic, return 1), bash behaves as our
sh after this commit (no diagnostic, return 1) and ksh93 and NetBSD's sh treat
it as a fatal error.
|
|
|
|
|
| |
shell environment, eg after "VAR=val eval" VAR remains set. Currently fails
but will be implemented soon.
|
| |
|
|
|
|
|
| |
initialized. Some application may reset RES_INIT. Use the
way in __res_vinit(), instead.
|
|
|
|
|
| |
Completly drop recursive mutex in pthread_cond_wait and restore recursive
after resumption. Reorganize code to make gcc to generate better code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
set:
* jail_mount_enable
* jail_devfs_ruleset
* jail_devfs_enable
* jail_fdescfs_enable
* jail_procfs_enable
* jail_fstab
* jail_flags
- Add a jail_interface / jail_<jid>_interface option. An ip alias will be
created (jail_<jid>_ip) on jail_interface or jail_<jid>_interface if set.
This is not a mandatory option.
- Document all missing jail_* options in rc.conf(5).
Approved by: cperciva (mentor)
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
Reviewed by: harti
Obtained from: NetBSD (mostly)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The real problem was that ioctl handlers needed to call amr_wait_command()
with the list lock held. This not only solves the completion race, it also
prevents bounce buffer corruption that could arise from amr_start() being
called without the proper locks held.
Discussed with: ps
MFC After: 3 days
|
|
|
|
|
|
|
|
| |
the completion of the command can occur before tsleep is called and
the command ends up blocking forever since the wakeup has already
been called.
Submitted by: ups
|
| |
|
|
|
|
| |
trick on a PowerBook G4 and friends to get the USB keyboard as ukbd0.
|
|
|
|
|
|
|
|
| |
provide a lock method, and want the default unlock, but it is a bug...
PR: 95356
Submitted by: Stephen Corteselli
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
error on the request. Add a wrapper, gctl_set_param_err(), that
sets the error on the request from the error returned by
gctl_set_param() and update current callers of gctl_set_param()
to call gctl_set_param_err() instead.
This makes gctl_set_param() much more usable in situations where
the caller knows better what to do with certain (apparent) error
conditions and setting an error on the request is not one of the
things that need to be done.
|
|
|
|
| |
MFC after: 2 days
|
|
|
|
| |
Noticed by: mjacob
|
| |
|
| |
|