17713 SMB 3.1.1 should support GMAC signing
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Robert Mustacchi <rm+illumos at fingolfin.org>
Approved by: Patrick Mooney <pmooney at pfmooney.com>
17712 smb: support signing capabilities negotiation context
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Robert Mustacchi <rm+illumos at fingolfin.org>
Approved by: Patrick Mooney <pmooney at pfmooney.com>
17711 SMB: use single-shot scatter/gather interfaces for signing
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Robert Mustacchi <rm+illumos at fingolfin.org>
Approved by: Patrick Mooney <pmooney at pfmooney.com>
[RISCV] Consistently name AVL operands as $vl. NFC (#182174)
Looking into using getNamedOperandIndex so we need to be consistent.
To avoid a conflict, I renamed the $vl output of vleff pseudos to
$vl_out. Arguably the AVL inputs should be $avl, but that requires more
changes and may interact with out of tree vendor specific instructions.
[ProfCheck] Remove now passing tests
There were quite a few tests in the profcheck-xfail.txt list that now
pass, likely due to other fixes coincidentally helping or someone
forgetting to update the list. Remove them from the list to ensure we
have test coverage.
17710 SMB: want unified mac functions
Reviewed by: Gordon Ross <gordon.w.ross at gmail.com>
Reviewed by: Robert Mustacchi <rm+illumos at fingolfin.org>
Approved by: Patrick Mooney <pmooney at pfmooney.com>
tests/ipfw: fix log:bpf test flakyness
There were several problems:
o Using 'netstat -B' is not a reliable way to make sure that all tcpdumps
have attached to bpf(4). The problem is that tcpdump (via libpcap) does
several ioctl(2)s after the attach including two BIOCSETF. Each of them
flushes the input buffer. So we can see tcpdump attached in 'netstat -B'
and start sending packets and the packet will be captured by bpf(4)
before BIOCSETF and freed and tcpdump won't read anything. Instead of
using netstat(1), use ps(1) and make sure each tcpdump is blocked on the
"bpf" wait channel, which guarantees it is done with ioctl(2)s and is now
blocked in read(2).
o Using 'nc -w 0' sets timeout not only on the connect(2) (as documented)
but also on poll(2), which is not documented. There is a race in shell
that will make stdin not yet filled by 'echo foo' when nc(1) does
poll(2). With zero timeout, this poll(2) will immediately return and nc
will exit.
o The waiting loop had two errors: using wrong variable name as well as
[7 lines not shown]
[modules] Add diagnostic about performed input file validation when encounter unrecoverable changed input file. (#180899)
The expected behavior for implicitly built modules is to validate input
files and to rebuild a module if there are any input file changes. But
if for some reason a module hasn't been rebuilt, it is useful to know if
the validation has been done and what kind of validation.
The goal is to make investigations for fixes like
f2a3079a1b48033a92d0a7d9f03251ebeb4a0c30 and
ada79f4c2691ab6546d379a144377162fd4f5191 easier.
rdar://159857416
---------
Co-authored-by: Cyndy Ishida <cyndyishida at gmail.com>
[RISCV] Rename PALUVINoVm->ZvkALUVINoVm. NFC (#182077)
OP_VE was originally named OP_P which is how these classes got P in
their name. Replace P with Zvk.
shlib inspection: Consider base libprivate*.so libs too.
Packages such as misc/compat14x depend on libprivate libraries
so we must consider them as base-provided.
Reported by: jrm
shlib inspection: Remove the 'misses all shlibs' case.
This was being called, mostly as an optimization, in the case
where a package has no dependencies, and was flagged as
having required libraries earlier in delete_old_pkg().
The problem with it is that is was not indicating _which_ library
was required-but-not-provided for.
Keep the code for now as it may prove useful later for odd
cases.
Remove parent ZIO from dbuf_prefetch()
I am not sure why it was added there 10 years ago, but it seems not
needed now. According to my tests removing it improves sequential
read performance with recordsize=4K by 5-10% by reducing the CPU
overhead in prefetcher.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Rob Norris <robn at despairlabs.com>
Reviewed-by: Ameer Hamza <ahamza at ixsystems.com>
Reviewed-by: Akash B <akash-b at hpe.com>
Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #18214
[libclc] Enable -ffp-contract=fast-honor-pragmas globally (#153137)
Enable -ffp-contract=fast-honor-pragmas globally improves performance.
Verified that exp, trig, and hyperbolic functions pass the OpenCL CTS on
Intel GPUs with this flag enabled.
Note: exp/exp2 still require the fixes proposed in #179875; however,
those failures are independent of the fp-contract changes in this patch.
[TableGen] Introduce RegisterByHwMode
This is useful for `InstAlias` where a fixed register may depend on the
HwMode. The motivating use case for this is the RISC-V RVY ISA where
certain instructions mnemonics are remapped to take a different
register class depending on the HwMode and can be used as follows:
```
def NullReg : RegisterByHwMode<PtrRC, [RV32I, RV64I, RV64Y, RV64Y],
[X0, X0, X0_Y, X0_Y]>;
```
Pull Request: https://github.com/llvm/llvm-project/pull/175227
HBSD: Bring in candidate patch to fix dns/unbound
This patch fixes the build of dns/unbound. We enable python support for
unbound by default, which is why we're hitting this.
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
Obtained-from: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292625