| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Submitted by: alc
MFC after: 3 days
Notes:
svn path=/head/; revision=347946
|
|
|
|
|
|
|
|
|
|
| |
This removes non-functional SCTP checksum offload support.
More information in the log message of r347233.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=347944
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix stack unwinding such that requesting N stack frames in lockstat will
actually give you N frames, not anywhere from 0-3 as had been before.
lockstat prints the mutex function instead of the caller as the reported
locker, but the stack frame is detailed enough to find the real caller.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=347943
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to make the find_veriexec_file() function available publicly, so
rename it to mac_veriexec_metadata_find_file_info() and make it non-static.
Bump the version of the veriexec device interface so user space will know
the labelized version of fingerprint loading is available.
Approved by: sjg
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D20295
Notes:
svn path=/head/; revision=347942
|
|
|
|
|
|
|
|
| |
Obtained from: Juniper Networks, Inc.
MFC after: 1 week
Notes:
svn path=/head/; revision=347941
|
|
|
|
| |
Notes:
svn path=/head/; revision=347940
|
|
|
|
| |
Notes:
svn path=/head/; revision=347939
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MAC_VERIEXEC_CHECK_PATH_SYSCALL per-MAC policy system call.
When we are checking the status of the fingerprint on a vnode using the
per-MAC-policy syscall, we do not need an exclusive lock on the vnode.
Even if there is more than one thread requesting the status at the same time,
the worst we can end up doing is processing the file more than once.
This can potentially be improved in the future with offloading the fingerprint
evaluation to a separate thread and blocking until the update completes. But
for now the race is acceptable.
Obtained from: Juniper Networks, Inc.
MFC after: 1 week
Notes:
svn path=/head/; revision=347938
|
|
|
|
|
|
|
|
|
|
|
|
| |
be restricted when veriexec is enforced.
Add mpo_system_check_sysctl method to mac_veriexec which does this.
Obtained from: Juniper Networks, Inc.
MFC after: 1 week
Notes:
svn path=/head/; revision=347936
|
|
|
|
|
|
|
|
|
|
|
| |
are different types across architectures by using %ju and typecasting to
uintmax_t, where appropriate.
Obtained from: Juniper Networks, Inc.
MFC after: 1 week
Notes:
svn path=/head/; revision=347935
|
|
|
|
|
|
|
|
|
|
|
| |
priv. This allows for MAC/veriexec to prevent apps that are not "trusted"
from using these commands.
Obtained from: Juniper Networks, Inc.
MFC after: 1 week
Notes:
svn path=/head/; revision=347934
|
|
|
|
|
|
|
|
|
|
|
| |
mac_veriexec_get_executable_flags(). Only try locking/unlocking if the caller
has not already acquired the process lock.
Obtained from: Juniper Networks, Inc.
MFC after: 1 week
Notes:
svn path=/head/; revision=347933
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
type, use a table to make it easier to add more in the future, if needed.
Add VirtualBox detection to the table ("VBoxVBoxVBox" is the hypervisor
vendor string to look for.) Also add VM_GUEST_VBOX to the VM_GUEST
enumeration to indicate VirtualBox.
Save the CPUID base for the hypervisor entry that we detected. Driver code
may need to know about it in order to obtain additional CPUID features.
Approved by: bryanv, jhb
Differential Revision: https://reviews.freebsd.org/D16305
Notes:
svn path=/head/; revision=347932
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With lockless DI, pmap_remove() requires operational thread lock,
which is initialized at SI_SUB_RUN_QUEUE for thread0. Move it even
later where APs are started, the moment after which other boot memory
like trampoline stacks is already being freed.
Reported by: gtetlow
Sponsored by: The FreeBSD Foundation
MFC after: 30 days
Notes:
svn path=/head/; revision=347931
|
|
|
|
|
|
|
|
|
|
|
|
| |
When activating a resource do not compare the resource id to the adress.
Treat IO region as MEMORY region too.
Submitted by: Tuan Phan <tphan@amperecomputing.com> (Original Version)
Sponsored by: Ampere Computing, LLC
Differential Revision: https://reviews.freebsd.org/D20214
Notes:
svn path=/head/; revision=347930
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We cannot know the bus end number before parsing the MCFG table
so don't set the bus_end before that. If the MCFG table doesn't
exist we will set the configuration base address based on the _CBA
value and set the bus_end to the maximal number allowed by PCI.
Sponsored by: Ampere Computing, LLC
Differential Revision: https://reviews.freebsd.org/D20213
Notes:
svn path=/head/; revision=347929
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cpufunc, in terms of __builtin_ffs and the like, for arm64
architectures, and use those, rather than the simple libkern
implementations, in building arm64 kernels.
Tested by: greg_unrelenting.technology (earlier version)
Reviewed by: alc
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D20250
Notes:
svn path=/head/; revision=347927
|
|
|
|
| |
Notes:
svn path=/head/; revision=347926
|
|
|
|
|
|
|
|
|
| |
Bump accidentally omitted from r347924 due to a rebase accident.
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347925
|
|
|
|
|
|
|
|
|
| |
Remove gone_by_fcp101_dev macro.
Remove orphaned comment.
Notes:
svn path=/head/; revision=347924
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347923
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347922
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347921
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347920
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347919
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347918
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347917
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347916
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347915
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347914
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347913
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347912
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347911
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347910
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347909
|
|
|
|
|
|
|
|
|
|
| |
Relnotes: yes
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347908
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initial commit adding comment to ObsoleteFiles. Each driver will be
removed in a seperate commit to allow later reverts if required.
FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md
Reviewed by: jhb, imp
Differential Revision: https://reviews.freebsd.org/D20230
Notes:
svn path=/head/; revision=347907
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=347903
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=347896
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In all practical situations, the resolver visibility is static.
Requested by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: so (emaste)
Differential revision: https://reviews.freebsd.org/D20281
Notes:
svn path=/head/; revision=347895
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check the legacy directory and use it instead if present.
Install these first if using beinstall.
UPDATING entry to follow.
Approved by: allanjude (mentor, in person)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D20279
Notes:
svn path=/head/; revision=347893
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
seq_file.h and linux_seq_file.c was imported form ports earlier but
linux_seq_file.c was never compiled in with the module. With this
commit base seq_file will replace ports seq_file and it required a
few modifications to not break functionality and build.
Reviewed by: hps
Approved by: imp (mentor), hps
MFC after: 1 week
Notes:
svn path=/head/; revision=347892
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is part of D19565
Reviewed by: hps, bwidawsk
Approved by: imp (mentor), hps
Obtained from: bwidawsk
MFC after: 1 week
Notes:
svn path=/head/; revision=347891
|
|
|
|
|
|
|
|
|
| |
Reviewed by: kib
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D20277
Notes:
svn path=/head/; revision=347890
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use cmpset instead of testandset in tasklet lock code.
Reviewed by: hps
Approved by: imp (mentor), hps
Obtained from: hps
MFC after: 1 week
Notes:
svn path=/head/; revision=347889
|
|
|
|
|
|
|
|
|
|
|
| |
Unbreak mips.BERI_DE4_SDROOT build, which uses device xdma. Device xdma
depends on the pmap_kenter_device APIs.
Reported by: tinderbox (local)
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=347888
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in RFC 4620, ICMPv6 Node Information Queries. A vnet jail with an
IPv6 address sent a hostname of the host environment, not the
jail, even if another hostname was set to the jail.
This change can be tested by the following commands:
# ifconfig epair0 create
# jail -c -n j1 vnet host.hostname=vnetjail path=/ persist
# ifconfig epair0b vnet j1
# ifconfig epair0a inet6 -ifdisabled auto_linklocal up
# jexec j1 ifconfig epair0b inet6 -ifdisabled auto_linklocal up
# ping6 -w ff02::1%epair0a
Differential Revision: https://reviews.freebsd.org/D20207
MFC after: 1 week
Notes:
svn path=/head/; revision=347887
|
|
|
|
| |
Notes:
svn path=/head/; revision=347886
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DRM drivers expect tasklets to have a counter for enable/disable calls.
Also, add a few more tasklet locking functions.
This patch is part of D19565
Reviewed by: hps
Approved by: imp (mentor), hps
MFC after: 1 week
Notes:
svn path=/head/; revision=347852
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Assign self as group leader at creation to act as the only member of a
new process group.
This patch is part of D19565
Reviewed by: hps
Approved by: imp (mentor), hps
MFC after: 1 week
Notes:
svn path=/head/; revision=347843
|