History log of /dragonfly/lib/ (Results 101 – 125 of 3795)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
b8ee5f9f04-Jul-2021 Aaron LI <aly@aaronly.me>

libnvmm: Misc cleanups

* Remove unused arguments.
* Use literal numbers instead of __BITS().
* Improve two printf()s.
* Remove NetBSD VCS markers and update copyright.

ec2ba06403-Jul-2021 Aaron LI <aly@aaronly.me>

Revert "libnvmm: Fix mmap() failure with 'permission denied'"

Because libnvmm no longer calls mmap() to map the VCPU comm page, revert
to the original code to distinguish root owner (open '/dev/nvmm

Revert "libnvmm: Fix mmap() failure with 'permission denied'"

Because libnvmm no longer calls mmap() to map the VCPU comm page, revert
to the original code to distinguish root owner (open '/dev/nvmm' with
O_WRONLY) vs. non-root owner (open with O_RDONLY).

show more ...

9aa070ef03-Jul-2021 Aaron LI <aly@aaronly.me>

nvmm: Create comm page in nvmm_vcpu_create() rather than via mmap()

Create the VCPU comm page in nvmm_vcpu_create() in kernel, rather than
via mmap() in userland. With this change, the 'mmap' opera

nvmm: Create comm page in nvmm_vcpu_create() rather than via mmap()

Create the VCPU comm page in nvmm_vcpu_create() in kernel, rather than
via mmap() in userland. With this change, the 'mmap' operation support
is no longer needed by the '/dev/nvmm' device.

This change breaks ABI, so bump NVMM_KERN_VERSION accordingly.

No API change.

show more ...

23b2397d03-Jul-2021 Aaron LI <aly@aaronly.me>

nvmm: Make FPU state more OS-indenpendent

* Introduce an OS-indenpendent 'nvmm_x64_state_fpu' structure, derived
from NetBSD's current FPU implementation.
* Also introduce the 'nvmm_x86_xsave' str

nvmm: Make FPU state more OS-indenpendent

* Introduce an OS-indenpendent 'nvmm_x64_state_fpu' structure, derived
from NetBSD's current FPU implementation.
* Also introduce the 'nvmm_x86_xsave' structure, containing the FPU area
and the XSAVE header.
* Add the 'nvmm_x86_xsave_size()' that determines the XSAVE area size to
simplify the code.
* Rename gfpu -> gxsave, for clarity.
* Define 'CTASSERT' because 'nvmm.h' and 'nvmm_x86.h' headers will
be used by libnvmm(3), but <sys/cdefs.h> only defines 'CTASSERT' for
kernel.
* Update libnvmm.3 man page accordingly.

show more ...

9cc8047e03-Jul-2021 Aaron LI <aly@aaronly.me>

libnvmm: Clarify x86 MOVS emulation

cb12118830-Jun-2021 Aaron LI <aly@aaronly.me>

libnvmm: Fix a memory leak in nvmm_machine_create()

Also free the allocated 'pages' when ioctl(NVMM_IOC_MACHINE_CREATE)
fails.

0fd9ec5016-Jun-2021 Aaron LI <aly@aaronly.me>

libnvmm.3: Mention regression tests in FILES section

297ce72807-Jun-2021 Aaron LI <aly@aaronly.me>

libnvmm.3: Mention 'calc-vm' and 'demo' test code in FILES

Also sort the items in FILES section.


libnvmm/libnvmm.3
/dragonfly/sys/cpu/x86_64/include/cpu.h
/dragonfly/sys/dev/virtual/nvmm/nvmm.c
/dragonfly/sys/dev/virtual/nvmm/nvmm_compat.h
/dragonfly/sys/dev/virtual/nvmm/nvmm_internal.h
/dragonfly/sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
/dragonfly/sys/dev/virtual/nvmm/x86/nvmm_x86_svmfunc.S
/dragonfly/sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
/dragonfly/sys/dev/virtual/nvmm/x86/nvmm_x86_vmxfunc.S
/dragonfly/sys/kern/sys_vmm.c
/dragonfly/sys/kern/usched_dfly.c
/dragonfly/sys/platform/pc64/apic/apic_vector.s
/dragonfly/sys/platform/pc64/include/pmap.h
/dragonfly/sys/platform/pc64/x86_64/genassym.c
/dragonfly/sys/platform/pc64/x86_64/pmap.c
/dragonfly/sys/platform/pc64/x86_64/pmap_inval.c
/dragonfly/sys/sys/globaldata.h
/dragonfly/sys/sys/param.h
/dragonfly/sys/vm/pmap.h
/dragonfly/test/nvmm/Makefile
/dragonfly/test/nvmm/calc-vm.c
/dragonfly/test/nvmm/demo/Makefile
/dragonfly/test/nvmm/demo/README.txt
/dragonfly/test/nvmm/demo/smallkern/Makefile
/dragonfly/test/nvmm/demo/smallkern/asm.h
/dragonfly/test/nvmm/demo/smallkern/console.c
/dragonfly/test/nvmm/demo/smallkern/locore.S
/dragonfly/test/nvmm/demo/smallkern/main.c
/dragonfly/test/nvmm/demo/smallkern/pdir.h
/dragonfly/test/nvmm/demo/smallkern/smallkern.h
/dragonfly/test/nvmm/demo/smallkern/smallkern.ldscript
/dragonfly/test/nvmm/demo/smallkern/trap.S
/dragonfly/test/nvmm/demo/smallkern/trap.h
/dragonfly/test/nvmm/demo/toyvirt/Makefile
/dragonfly/test/nvmm/demo/toyvirt/common.h
/dragonfly/test/nvmm/demo/toyvirt/elf.c
/dragonfly/test/nvmm/demo/toyvirt/main.c
/dragonfly/test/nvmm/demo/toyvirt/toydev.c
/dragonfly/test/nvmm/looprun.sh
7f0e1ce226-Jun-2021 Aaron LI <aly@aaronly.me>

NVMM: Sync with NetBSD #1: copyright headers

1e15a2fd12-Jun-2021 Aaron LI <aly@aaronly.me>

libnvmm: Adapt to also build on NetBSD

Adapt the libnvmm code to build and work on both DragonFly and NetBSD.
So it can help debug the porting issues.

7f94978c30-May-2021 Aaron LI <aly@aaronly.me>

libnvmm: Fix mmap() failure with 'permission denied'

The mmap() in nvmm_vcpu_create() was always failing with the EACCES
(permission denied) error code. It was because mmap() was requesting
prot =

libnvmm: Fix mmap() failure with 'permission denied'

The mmap() in nvmm_vcpu_create() was always failing with the EACCES
(permission denied) error code. It was because mmap() was requesting
prot = PROT_READ|PROT_WRITE and flags = MAP_SHARED, but the fd was
opened with O_RDONLY (or O_WRONLY in nvmm_root_init()) and thus
disallowed such a mmap request.

Fix this issue by opening the nvmm fd with O_RDWR flag. This also
requires to change the mode of '/dev/nvmm' from 0640 to 0660.
However, this makes root owner distinguishing in nvmm kernel module
useless. So change to identify root owner by checking whether the
caller has root privilege.

In addition, refactor nvmm_root_init() to also check for root privilege
first and then call nvmm_init().

show more ...

e79c930509-May-2021 Aaron LI <aly@aaronly.me>

libnvmm: Update makefiles and hook to build

3a9a09d309-May-2021 Aaron LI <aly@aaronly.me>

libnvmm: Port to DragonFly

* Add 'nvmm_compat.h' to adapt some macros/constants for DragonFly.
* Add some '__unused' attributes to fix compilation warnings/errors.
* Adjust header inclusions.
* Upda

libnvmm: Port to DragonFly

* Add 'nvmm_compat.h' to adapt some macros/constants for DragonFly.
* Add some '__unused' attributes to fix compilation warnings/errors.
* Adjust header inclusions.
* Update nvmm(4) kernel source path in the man page, also update
'struct nvmm_x64_state' to match DragonFly's version.

show more ...

9034eadb05-May-2021 Aaron LI <aly@aaronly.me>

Import libnvmm(3) from NetBSD 9-stable

This is the virtualization API that provides a way for VMM software to
effortlessly create and manage virtual machines via NVMM(4).

Branch: NetBSD 9-stable
Da

Import libnvmm(3) from NetBSD 9-stable

This is the virtualization API that provides a way for VMM software to
effortlessly create and manage virtual machines via NVMM(4).

Branch: NetBSD 9-stable
Date: Fri Apr 30 14:08:16 2021 +0000
Path: lib/libnvmm

show more ...

cf4b26be20-Jul-2021 Sascha Wildner <saw@online.de>

pam_passwdqc: Local modifications.


/dragonfly/Makefile_upgrade.inc
/dragonfly/contrib/openpam/CREDITS
/dragonfly/contrib/openpam/HISTORY
/dragonfly/contrib/openpam/LICENSE
/dragonfly/contrib/openpam/RELNOTES
/dragonfly/contrib/openpam/doc/man/openpam.3
/dragonfly/contrib/openpam/doc/man/openpam_borrow_cred.3
/dragonfly/contrib/openpam/doc/man/openpam_free_data.3
/dragonfly/contrib/openpam/doc/man/openpam_free_envlist.3
/dragonfly/contrib/openpam/doc/man/openpam_get_feature.3
/dragonfly/contrib/openpam/doc/man/openpam_get_option.3
/dragonfly/contrib/openpam/doc/man/openpam_log.3
/dragonfly/contrib/openpam/doc/man/openpam_nullconv.3
/dragonfly/contrib/openpam/doc/man/openpam_readline.3
/dragonfly/contrib/openpam/doc/man/openpam_readlinev.3
/dragonfly/contrib/openpam/doc/man/openpam_readword.3
/dragonfly/contrib/openpam/doc/man/openpam_restore_cred.3
/dragonfly/contrib/openpam/doc/man/openpam_set_feature.3
/dragonfly/contrib/openpam/doc/man/openpam_set_option.3
/dragonfly/contrib/openpam/doc/man/openpam_straddch.3
/dragonfly/contrib/openpam/doc/man/openpam_subst.3
/dragonfly/contrib/openpam/doc/man/openpam_ttyconv.3
/dragonfly/contrib/openpam/doc/man/pam.3
/dragonfly/contrib/openpam/doc/man/pam.conf.5
/dragonfly/contrib/openpam/doc/man/pam_acct_mgmt.3
/dragonfly/contrib/openpam/doc/man/pam_authenticate.3
/dragonfly/contrib/openpam/doc/man/pam_chauthtok.3
/dragonfly/contrib/openpam/doc/man/pam_close_session.3
/dragonfly/contrib/openpam/doc/man/pam_conv.3
/dragonfly/contrib/openpam/doc/man/pam_end.3
/dragonfly/contrib/openpam/doc/man/pam_error.3
/dragonfly/contrib/openpam/doc/man/pam_get_authtok.3
/dragonfly/contrib/openpam/doc/man/pam_get_data.3
/dragonfly/contrib/openpam/doc/man/pam_get_item.3
/dragonfly/contrib/openpam/doc/man/pam_get_user.3
/dragonfly/contrib/openpam/doc/man/pam_getenv.3
/dragonfly/contrib/openpam/doc/man/pam_getenvlist.3
/dragonfly/contrib/openpam/doc/man/pam_info.3
/dragonfly/contrib/openpam/doc/man/pam_open_session.3
/dragonfly/contrib/openpam/doc/man/pam_prompt.3
/dragonfly/contrib/openpam/doc/man/pam_putenv.3
/dragonfly/contrib/openpam/doc/man/pam_set_data.3
/dragonfly/contrib/openpam/doc/man/pam_set_item.3
/dragonfly/contrib/openpam/doc/man/pam_setcred.3
/dragonfly/contrib/openpam/doc/man/pam_setenv.3
/dragonfly/contrib/openpam/doc/man/pam_sm_acct_mgmt.3
/dragonfly/contrib/openpam/doc/man/pam_sm_authenticate.3
/dragonfly/contrib/openpam/doc/man/pam_sm_chauthtok.3
/dragonfly/contrib/openpam/doc/man/pam_sm_close_session.3
/dragonfly/contrib/openpam/doc/man/pam_sm_open_session.3
/dragonfly/contrib/openpam/doc/man/pam_sm_setcred.3
/dragonfly/contrib/openpam/doc/man/pam_start.3
/dragonfly/contrib/openpam/doc/man/pam_strerror.3
/dragonfly/contrib/openpam/doc/man/pam_verror.3
/dragonfly/contrib/openpam/doc/man/pam_vinfo.3
/dragonfly/contrib/openpam/doc/man/pam_vprompt.3
/dragonfly/contrib/openpam/include/security/openpam_version.h
/dragonfly/contrib/openpam/lib/libpam/pam_getenv.c
/dragonfly/contrib/pam_passwdqc/LICENSE
/dragonfly/contrib/pam_passwdqc/README
/dragonfly/contrib/pam_passwdqc/README.DELETED
/dragonfly/contrib/pam_passwdqc/README.DRAGONFLY
/dragonfly/contrib/pam_passwdqc/concat.c
/dragonfly/contrib/pam_passwdqc/concat.h
/dragonfly/contrib/pam_passwdqc/md4.c
/dragonfly/contrib/pam_passwdqc/md4.h
/dragonfly/contrib/pam_passwdqc/pam_macros.h
/dragonfly/contrib/pam_passwdqc/pam_passwdqc.8
/dragonfly/contrib/pam_passwdqc/pam_passwdqc.c
/dragonfly/contrib/pam_passwdqc/passwdqc.conf.5
/dragonfly/contrib/pam_passwdqc/passwdqc.h
/dragonfly/contrib/pam_passwdqc/passwdqc_check.c
/dragonfly/contrib/pam_passwdqc/passwdqc_filter.c
/dragonfly/contrib/pam_passwdqc/passwdqc_filter.h
/dragonfly/contrib/pam_passwdqc/passwdqc_i18n.h
/dragonfly/contrib/pam_passwdqc/passwdqc_load.c
/dragonfly/contrib/pam_passwdqc/passwdqc_memzero.c
/dragonfly/contrib/pam_passwdqc/passwdqc_parse.c
/dragonfly/contrib/pam_passwdqc/passwdqc_random.c
/dragonfly/contrib/pam_passwdqc/wordset_4k.c
/dragonfly/contrib/pam_passwdqc/wordset_4k.h
libpam/modules/pam_passwdqc/Makefile
/dragonfly/sbin/hammer2/cmd_debug.c
/dragonfly/share/misc/pci_vendors
/dragonfly/share/mk/bsd.libnames.mk
/dragonfly/stand/boot/libstand32/Makefile
/dragonfly/stand/lib/Makefile
/dragonfly/stand/lib/uuid_from_string.c
/dragonfly/stand/lib/uuid_to_string.c
/dragonfly/sys/platform/pc64/acpica/acpi_madt.c
/dragonfly/sys/vfs/hammer2/hammer2.h
/dragonfly/sys/vfs/hammer2/hammer2_freemap.c
/dragonfly/sys/vfs/hammer2/hammer2_io.c
479ab7f012-Jul-2021 Sascha Wildner <saw@online.de>

boot: Move boot source code /usr/src/stand.

sys/boot becomes stand/boot and lib/libstand becomes stand/lib.

My main reason is to have boot out of the way when for example grepping
in sys/. It also

boot: Move boot source code /usr/src/stand.

sys/boot becomes stand/boot and lib/libstand becomes stand/lib.

My main reason is to have boot out of the way when for example grepping
in sys/. It also makes more sense since it's not really userland or
kernel code.

Other BSDs have moved their boot/standalone code around too, but maybe
with different directory layouts.

Approved-by: dillon, zrj

show more ...


/dragonfly/Makefile.inc1
/dragonfly/contrib/bzip2/README.DRAGONFLY
/dragonfly/etc/defaults/periodic.conf
/dragonfly/etc/periodic/daily/310.accounting
/dragonfly/etc/periodic/daily/330.news
/dragonfly/etc/periodic/daily/999.local
/dragonfly/etc/periodic/monthly/999.local
/dragonfly/etc/periodic/weekly/320.whatis
/dragonfly/etc/periodic/weekly/999.local
Makefile
libefivar/Makefile
libz/Makefile.stand
/dragonfly/share/man/man5/loader.conf.5
/dragonfly/stand/Makefile
/dragonfly/stand/boot/Makefile
/dragonfly/stand/boot/common/Makefile.inc
/dragonfly/stand/boot/common/bcache.c
/dragonfly/stand/boot/common/boot.c
/dragonfly/stand/boot/common/boot2.h
/dragonfly/stand/boot/common/bootstrap.h
/dragonfly/stand/boot/common/commands.c
/dragonfly/stand/boot/common/console.c
/dragonfly/stand/boot/common/dev_net.c
/dragonfly/stand/boot/common/dev_net.h
/dragonfly/stand/boot/common/devopen.c
/dragonfly/stand/boot/common/dinode.h
/dragonfly/stand/boot/common/do_dloader.c
/dragonfly/stand/boot/common/fs.h
/dragonfly/stand/boot/common/help.common
/dragonfly/stand/boot/common/interp_backslash.c
/dragonfly/stand/boot/common/interp_parse.c
/dragonfly/stand/boot/common/isapnp.c
/dragonfly/stand/boot/common/isapnp.h
/dragonfly/stand/boot/common/load_elf.c
/dragonfly/stand/boot/common/load_elf32.c
/dragonfly/stand/boot/common/load_elf32_obj.c
/dragonfly/stand/boot/common/load_elf64.c
/dragonfly/stand/boot/common/load_elf64_obj.c
/dragonfly/stand/boot/common/load_elf_obj.c
/dragonfly/stand/boot/common/loader.8
/dragonfly/stand/boot/common/ls.c
/dragonfly/stand/boot/common/merge_help.awk
/dragonfly/stand/boot/common/misc.c
/dragonfly/stand/boot/common/module.c
/dragonfly/stand/boot/common/newvers.sh
/dragonfly/stand/boot/common/panic.c
/dragonfly/stand/boot/common/pnp.c
/dragonfly/stand/boot/common/rel_open.c
/dragonfly/stand/boot/common/reloc_elf.c
/dragonfly/stand/boot/common/reloc_elf32.c
/dragonfly/stand/boot/common/reloc_elf64.c
/dragonfly/stand/boot/common/ufsread.c
/dragonfly/stand/boot/dloader/Makefile
/dragonfly/stand/boot/dloader/cmds.c
/dragonfly/stand/boot/dloader/dloader.h
/dragonfly/stand/boot/dloader/dloader.menu
/dragonfly/stand/boot/dloader/loader-bootp.conf
/dragonfly/stand/boot/dloader/loader.conf
/dragonfly/stand/boot/dloader/subs.c
/dragonfly/stand/boot/dloader32/Makefile
/dragonfly/stand/boot/efi/Makefile
/dragonfly/stand/boot/efi/Makefile.inc
/dragonfly/stand/boot/efi/boot1/Makefile
/dragonfly/stand/boot/efi/boot1/boot1.c
/dragonfly/stand/boot/efi/boot1/boot_module.h
/dragonfly/stand/boot/efi/boot1/ufs_module.c
/dragonfly/stand/boot/efi/include/efi.h
/dragonfly/stand/boot/efi/include/eficonsctl.h
/dragonfly/stand/boot/efi/include/efilib.h
/dragonfly/stand/boot/efi/libefi/Makefile
/dragonfly/stand/boot/efi/libefi/delay.c
/dragonfly/stand/boot/efi/libefi/efi_console.c
/dragonfly/stand/boot/efi/libefi/efinet.c
/dragonfly/stand/boot/efi/libefi/efipart.c
/dragonfly/stand/boot/efi/libefi/errno.c
/dragonfly/stand/boot/efi/libefi/handles.c
/dragonfly/stand/boot/efi/libefi/libefi.c
/dragonfly/stand/boot/efi/libefi/time.c
/dragonfly/stand/boot/efi/loader/Makefile
/dragonfly/stand/boot/efi/loader/arch/x86_64/Makefile.inc
/dragonfly/stand/boot/efi/loader/arch/x86_64/amd64_tramp.S
/dragonfly/stand/boot/efi/loader/arch/x86_64/elf64_freebsd.c
/dragonfly/stand/boot/efi/loader/arch/x86_64/framebuffer.c
/dragonfly/stand/boot/efi/loader/arch/x86_64/framebuffer.h
/dragonfly/stand/boot/efi/loader/arch/x86_64/ldscript.x86_64
/dragonfly/stand/boot/efi/loader/arch/x86_64/start.S
/dragonfly/stand/boot/efi/loader/autoload.c
/dragonfly/stand/boot/efi/loader/bootinfo.c
/dragonfly/stand/boot/efi/loader/conf.c
/dragonfly/stand/boot/efi/loader/copy.c
/dragonfly/stand/boot/efi/loader/devicename.c
/dragonfly/stand/boot/efi/loader/efi_main.c
/dragonfly/stand/boot/efi/loader/loader_efi.h
/dragonfly/stand/boot/efi/loader/main.c
/dragonfly/stand/boot/efi/loader/self_reloc.c
/dragonfly/stand/boot/efi/loader/version
/dragonfly/stand/boot/libstand32/Makefile
/dragonfly/stand/boot/pc32/Makefile
/dragonfly/stand/boot/pc32/Makefile.inc
/dragonfly/stand/boot/pc32/asmdef/Makefile
/dragonfly/stand/boot/pc32/boot0/Makefile
/dragonfly/stand/boot/pc32/boot0/boot0.S
/dragonfly/stand/boot/pc32/boot0sio/Makefile
/dragonfly/stand/boot/pc32/boot2/Makefile
/dragonfly/stand/boot/pc32/boot2/boot1.S
/dragonfly/stand/boot/pc32/boot2/boot2.c
/dragonfly/stand/boot/pc32/boot2/boot2.ldscript
/dragonfly/stand/boot/pc32/boot2/lib.h
/dragonfly/stand/boot/pc32/boot2/scrc32.c
/dragonfly/stand/boot/pc32/boot2/sio.S
/dragonfly/stand/boot/pc32/bootasm.h
/dragonfly/stand/boot/pc32/bootasmdef.c
/dragonfly/stand/boot/pc32/btx/Makefile
/dragonfly/stand/boot/pc32/btx/Makefile.inc
/dragonfly/stand/boot/pc32/btx/btx/Makefile
/dragonfly/stand/boot/pc32/btx/btx/btx.S
/dragonfly/stand/boot/pc32/btx/btx/btx.ldscript
/dragonfly/stand/boot/pc32/btx/btxldr/Makefile
/dragonfly/stand/boot/pc32/btx/btxldr/btxldr.S
/dragonfly/stand/boot/pc32/btx/btxldr/btxldr.ldscript
/dragonfly/stand/boot/pc32/btx/lib/Makefile
/dragonfly/stand/boot/pc32/btx/lib/btxcsu.S
/dragonfly/stand/boot/pc32/btx/lib/btxsys.S
/dragonfly/stand/boot/pc32/btx/lib/btxv86.S
/dragonfly/stand/boot/pc32/btx/lib/btxv86.h
/dragonfly/stand/boot/pc32/btxld/Makefile
/dragonfly/stand/boot/pc32/btxld/btx.h
/dragonfly/stand/boot/pc32/btxld/btxld.c
/dragonfly/stand/boot/pc32/btxld/elfh.c
/dragonfly/stand/boot/pc32/btxld/elfh.h
/dragonfly/stand/boot/pc32/cdboot/Makefile
/dragonfly/stand/boot/pc32/cdboot/cdboot.S
/dragonfly/stand/boot/pc32/libi386/Makefile
/dragonfly/stand/boot/pc32/libi386/biosacpi.c
/dragonfly/stand/boot/pc32/libi386/bioscd.c
/dragonfly/stand/boot/pc32/libi386/biosdisk.c
/dragonfly/stand/boot/pc32/libi386/biosmem.c
/dragonfly/stand/boot/pc32/libi386/biospci.c
/dragonfly/stand/boot/pc32/libi386/biospnp.c
/dragonfly/stand/boot/pc32/libi386/biossmap.c
/dragonfly/stand/boot/pc32/libi386/bootinfo.c
/dragonfly/stand/boot/pc32/libi386/bootinfo32.c
/dragonfly/stand/boot/pc32/libi386/bootinfo64.c
/dragonfly/stand/boot/pc32/libi386/comconsole.c
/dragonfly/stand/boot/pc32/libi386/devicename.c
/dragonfly/stand/boot/pc32/libi386/elf32_freebsd.c
/dragonfly/stand/boot/pc32/libi386/elf64_freebsd.c
/dragonfly/stand/boot/pc32/libi386/i386_copy.c
/dragonfly/stand/boot/pc32/libi386/i386_module.c
/dragonfly/stand/boot/pc32/libi386/libi386.h
/dragonfly/stand/boot/pc32/libi386/nullconsole.c
/dragonfly/stand/boot/pc32/libi386/pxe.c
/dragonfly/stand/boot/pc32/libi386/pxe.h
/dragonfly/stand/boot/pc32/libi386/pxetramp.s
/dragonfly/stand/boot/pc32/libi386/smbios.c
/dragonfly/stand/boot/pc32/libi386/smbios.h
/dragonfly/stand/boot/pc32/libi386/time.c
/dragonfly/stand/boot/pc32/libi386/vidconsole.c
/dragonfly/stand/boot/pc32/libi386/x86_64_tramp.S
/dragonfly/stand/boot/pc32/loader/Makefile
/dragonfly/stand/boot/pc32/loader/conf.c
/dragonfly/stand/boot/pc32/loader/dloader.rc
/dragonfly/stand/boot/pc32/loader/help.i386
/dragonfly/stand/boot/pc32/loader/loader.ldscript
/dragonfly/stand/boot/pc32/loader/main.c
/dragonfly/stand/boot/pc32/loader/version
/dragonfly/stand/boot/pc32/loader_tftp/Makefile
/dragonfly/stand/boot/pc32/loader_tftp/version
/dragonfly/stand/boot/pc32/mbr/Makefile
/dragonfly/stand/boot/pc32/mbr/mbr.S
/dragonfly/stand/boot/pc32/pxeldr/Makefile
/dragonfly/stand/boot/pc32/pxeldr/pxeboot.8
/dragonfly/stand/boot/pc32/pxeldr/pxeldr.S
/dragonfly/stand/boot/pc32/pxeldr_tftp/Makefile
/dragonfly/stand/boot/pc32/pxeldr_tftp/pxeboot_tftp.8
/dragonfly/stand/boot/pc64/Makefile.inc
/dragonfly/stand/lib/Makefile
/dragonfly/stand/lib/__main.c
/dragonfly/stand/lib/arp.c
/dragonfly/stand/lib/assert.c
/dragonfly/stand/lib/bcd.c
/dragonfly/stand/lib/bootp.c
/dragonfly/stand/lib/bootp.h
/dragonfly/stand/lib/bootparam.c
/dragonfly/stand/lib/bootparam.h
/dragonfly/stand/lib/bswap.c
/dragonfly/stand/lib/bzipfs.c
/dragonfly/stand/lib/cd9660.c
/dragonfly/stand/lib/close.c
/dragonfly/stand/lib/closeall.c
/dragonfly/stand/lib/dev.c
/dragonfly/stand/lib/dosfs.c
/dragonfly/stand/lib/dosfs.h
/dragonfly/stand/lib/environment.c
/dragonfly/stand/lib/ether.c
/dragonfly/stand/lib/ext2fs.c
/dragonfly/stand/lib/fstat.c
/dragonfly/stand/lib/getopt.c
/dragonfly/stand/lib/gets.c
/dragonfly/stand/lib/globals.c
/dragonfly/stand/lib/gzipfs.c
/dragonfly/stand/lib/hammer1.c
/dragonfly/stand/lib/hammer2.c
/dragonfly/stand/lib/i386/_setjmp.S
/dragonfly/stand/lib/if_ether.h
/dragonfly/stand/lib/in_cksum.c
/dragonfly/stand/lib/inet_ntoa.c
/dragonfly/stand/lib/ioctl.c
/dragonfly/stand/lib/iodesc.h
/dragonfly/stand/lib/libstand.3
/dragonfly/stand/lib/lseek.c
/dragonfly/stand/lib/net.c
/dragonfly/stand/lib/net.h
/dragonfly/stand/lib/netif.c
/dragonfly/stand/lib/netif.h
/dragonfly/stand/lib/nfs.c
/dragonfly/stand/lib/nfsv2.h
/dragonfly/stand/lib/nullfs.c
/dragonfly/stand/lib/open.c
/dragonfly/stand/lib/pager.c
/dragonfly/stand/lib/printf.c
/dragonfly/stand/lib/qdivrem.c
/dragonfly/stand/lib/quad.h
/dragonfly/stand/lib/random.c
/dragonfly/stand/lib/rarp.c
/dragonfly/stand/lib/read.c
/dragonfly/stand/lib/readdir.c
/dragonfly/stand/lib/rpc.c
/dragonfly/stand/lib/rpc.h
/dragonfly/stand/lib/rpcv2.h
/dragonfly/stand/lib/sbrk.c
/dragonfly/stand/lib/splitfs.c
/dragonfly/stand/lib/stand.h
/dragonfly/stand/lib/stat.c
/dragonfly/stand/lib/strcasecmp.c
/dragonfly/stand/lib/strdup.c
/dragonfly/stand/lib/strerror.c
/dragonfly/stand/lib/strtol.c
/dragonfly/stand/lib/strtoul.c
/dragonfly/stand/lib/tftp.c
/dragonfly/stand/lib/tftp.h
/dragonfly/stand/lib/twiddle.c
/dragonfly/stand/lib/udp.c
/dragonfly/stand/lib/ufs.c
/dragonfly/stand/lib/uuid_from_string.c
/dragonfly/stand/lib/uuid_to_string.c
/dragonfly/stand/lib/write.c
/dragonfly/stand/lib/x86_64/_setjmp.S
/dragonfly/stand/lib/zalloc.c
/dragonfly/stand/lib/zalloc_defs.h
/dragonfly/stand/lib/zalloc_malloc.c
/dragonfly/stand/lib/zalloc_mem.h
/dragonfly/stand/lib/zalloc_protos.h
/dragonfly/sys/Makefile
/dragonfly/sys/libkern/stack_protector.c
/dragonfly/sys/platform/pc64/x86_64/npx.c
/dragonfly/sys/platform/vkernel64/x86_64/npx.c
/dragonfly/sys/sys/disklabel32.h
/dragonfly/sys/sys/imgact_aout.h
/dragonfly/sys/vfs/hammer2/hammer2.h
/dragonfly/sys/vfs/hammer2/hammer2_chain.c
/dragonfly/sys/vfs/hammer2/hammer2_disk.h
/dragonfly/sys/vfs/hammer2/hammer2_flush.c
/dragonfly/usr.bin/uname/uname.1
/dragonfly/usr.bin/uname/uname.c
/dragonfly/usr.sbin/efibootmgr/Makefile
fe44073207-Jul-2021 Sascha Wildner <saw@online.de>

mknod(2): Allow for the creation of fifos with mknod() to satisfy POSIX.

Calling mknod() and mknodat() with S_IFIFO shall be equivalent to
calling mkfifo() and mkfifoat().

Note that we ignore 'dev'

mknod(2): Allow for the creation of fifos with mknod() to satisfy POSIX.

Calling mknod() and mknodat() with S_IFIFO shall be equivalent to
calling mkfifo() and mkfifoat().

Note that we ignore 'dev' if S_IFIFO is passed, like Linux does, but
different from what {Free,Net,Open}BSD do, which require it to be 0.
It's true that the standard leaves anything but 0 undefined for this
case but also note the standard's example which does indeed pass a
'dev' arg and doesn't take any precautions of initializing it:

https://pubs.opengroup.org/onlinepubs/9699919799/functions/mknod.html#tag_16_328_06

I don't think it makes any difference in practice, though.

Reported-by: DanDan

While here, fix the manual page's HISTORY a bit (taken from FreeBSD).

show more ...

f3b6f99f06-Jul-2021 Sascha Wildner <saw@online.de>

file: Update README.DRAGONFLY and config.h.


/dragonfly/contrib/file/ChangeLog
/dragonfly/contrib/file/README
/dragonfly/contrib/file/README.DRAGONFLY
/dragonfly/contrib/file/doc/file.man
/dragonfly/contrib/file/magic/Magdir/aes
/dragonfly/contrib/file/magic/Magdir/amigaos
/dragonfly/contrib/file/magic/Magdir/android
/dragonfly/contrib/file/magic/Magdir/animation
/dragonfly/contrib/file/magic/Magdir/archive
/dragonfly/contrib/file/magic/Magdir/audio
/dragonfly/contrib/file/magic/Magdir/avm
/dragonfly/contrib/file/magic/Magdir/biosig
/dragonfly/contrib/file/magic/Magdir/bm
/dragonfly/contrib/file/magic/Magdir/bsi
/dragonfly/contrib/file/magic/Magdir/c64
/dragonfly/contrib/file/magic/Magdir/cad
/dragonfly/contrib/file/magic/Magdir/cafebabe
/dragonfly/contrib/file/magic/Magdir/citrus
/dragonfly/contrib/file/magic/Magdir/clipper
/dragonfly/contrib/file/magic/Magdir/coff
/dragonfly/contrib/file/magic/Magdir/compress
/dragonfly/contrib/file/magic/Magdir/console
/dragonfly/contrib/file/magic/Magdir/coverage
/dragonfly/contrib/file/magic/Magdir/crypto
/dragonfly/contrib/file/magic/Magdir/database
/dragonfly/contrib/file/magic/Magdir/der
/dragonfly/contrib/file/magic/Magdir/diff
/dragonfly/contrib/file/magic/Magdir/editors
/dragonfly/contrib/file/magic/Magdir/elf
/dragonfly/contrib/file/magic/Magdir/filesystems
/dragonfly/contrib/file/magic/Magdir/fonts
/dragonfly/contrib/file/magic/Magdir/forth
/dragonfly/contrib/file/magic/Magdir/fsav
/dragonfly/contrib/file/magic/Magdir/games
/dragonfly/contrib/file/magic/Magdir/git
/dragonfly/contrib/file/magic/Magdir/gnome
/dragonfly/contrib/file/magic/Magdir/gnu
/dragonfly/contrib/file/magic/Magdir/gpt
/dragonfly/contrib/file/magic/Magdir/hitachi-sh
/dragonfly/contrib/file/magic/Magdir/ibm370
/dragonfly/contrib/file/magic/Magdir/iff
/dragonfly/contrib/file/magic/Magdir/images
/dragonfly/contrib/file/magic/Magdir/intel
/dragonfly/contrib/file/magic/Magdir/jpeg
/dragonfly/contrib/file/magic/Magdir/lammps
/dragonfly/contrib/file/magic/Magdir/lif
/dragonfly/contrib/file/magic/Magdir/linux
/dragonfly/contrib/file/magic/Magdir/lisp
/dragonfly/contrib/file/magic/Magdir/locoscript
/dragonfly/contrib/file/magic/Magdir/lua
/dragonfly/contrib/file/magic/Magdir/mach
/dragonfly/contrib/file/magic/Magdir/macintosh
/dragonfly/contrib/file/magic/Magdir/mail.news
/dragonfly/contrib/file/magic/Magdir/mathematica
/dragonfly/contrib/file/magic/Magdir/measure
/dragonfly/contrib/file/magic/Magdir/mozilla
/dragonfly/contrib/file/magic/Magdir/msdos
/dragonfly/contrib/file/magic/Magdir/msooxml
/dragonfly/contrib/file/magic/Magdir/netware
/dragonfly/contrib/file/magic/Magdir/ole2compounddocs
/dragonfly/contrib/file/magic/Magdir/os2
/dragonfly/contrib/file/magic/Magdir/pcjr
/dragonfly/contrib/file/magic/Magdir/pdf
/dragonfly/contrib/file/magic/Magdir/pgf
/dragonfly/contrib/file/magic/Magdir/pgp
/dragonfly/contrib/file/magic/Magdir/pgp-binary-keys
/dragonfly/contrib/file/magic/Magdir/riff
/dragonfly/contrib/file/magic/Magdir/rtf
/dragonfly/contrib/file/magic/Magdir/sccs
/dragonfly/contrib/file/magic/Magdir/sgml
/dragonfly/contrib/file/magic/Magdir/sniffer
/dragonfly/contrib/file/magic/Magdir/sosi
/dragonfly/contrib/file/magic/Magdir/statistics
/dragonfly/contrib/file/magic/Magdir/terminfo
/dragonfly/contrib/file/magic/Magdir/timezone
/dragonfly/contrib/file/magic/Magdir/tplink
/dragonfly/contrib/file/magic/Magdir/virtual
/dragonfly/contrib/file/magic/Magdir/vorbis
/dragonfly/contrib/file/magic/Magdir/windows
/dragonfly/contrib/file/magic/Magdir/xenix
/dragonfly/contrib/file/magic/Magdir/zip
/dragonfly/contrib/file/src/apprentice.c
/dragonfly/contrib/file/src/ascmagic.c
/dragonfly/contrib/file/src/compress.c
/dragonfly/contrib/file/src/der.c
/dragonfly/contrib/file/src/encoding.c
/dragonfly/contrib/file/src/file.c
/dragonfly/contrib/file/src/file.h
/dragonfly/contrib/file/src/file_opts.h
/dragonfly/contrib/file/src/funcs.c
/dragonfly/contrib/file/src/is_csv.c
/dragonfly/contrib/file/src/magic.c
/dragonfly/contrib/file/src/magic.h.in
/dragonfly/contrib/file/src/readelf.c
/dragonfly/contrib/file/src/softmagic.c
libmagic/libmagic/config.h
a3b4d6d806-Jul-2021 Sascha Wildner <saw@online.de>

libmagic/mkmagic: Add generated header(s) to CLEANFILES.

5aa5765204-Jul-2021 Sascha Wildner <saw@online.de>

libc: Sync namespace.h and un-namespace.h a bit more pedantically.

3856b43402-Jul-2021 Sascha Wildner <saw@online.de>

Fix a few mdoc issues in various manual pages.

4b15fa4d29-Jun-2021 Sascha Wildner <saw@online.de>

printf.3: Add reference to snprintb.3.

b25b44b129-Jun-2021 Sascha Wildner <saw@online.de>

sysctl.3: Remove wrong Dv's.

feaf060127-Jun-2021 Sascha Wildner <saw@online.de>

libdevinfo: Remove enum devinfo_state (duplicate of enum device_state).

For maintenance reasons, use <sys/bus.h> defintions.

Taken-from: FreeBSD

While here, adjust the manual page to show the corr

libdevinfo: Remove enum devinfo_state (duplicate of enum device_state).

For maintenance reasons, use <sys/bus.h> defintions.

Taken-from: FreeBSD

While here, adjust the manual page to show the correct type of dd_state.

show more ...

8afbe03724-Jun-2021 Matthew Dillon <dillon@apollo.backplane.com>

pthreads - Improve low level lock performance when heavily contested

* The low-level __thr_umtx_lock()/unlock and related primitives are
used by pthreads, but have very poor performance when heavi

pthreads - Improve low level lock performance when heavily contested

* The low-level __thr_umtx_lock()/unlock and related primitives are
used by pthreads, but have very poor performance when heavily contested:

* Calling sched_yield() just doesn't work well.

* Attempts to sleep too quickly, which costs a great deal of
system overhead.

* And issues broadcast wakeups for waiters, causing excessive IPIs.

* Stop calling sched_yield() in the loop. Let the userland scheduler's
dynamic priority deal with it.

* Scale the spin count up significantly, and then further based on
the number of pthreads in the application. If the program is stupid
enough to cause excessive contention, then the penalty for making that
perform well is going to be more cpu time.

* Issue a wakeup1() equivalent on unlock if there are any waiters,
significantly reducing system IPIs.

To make this work reliably, the primary lock loop, when it sleeps,
will now always do so with a 1mS timeout, then loop/recheck. If
an API timeout is specified in excess of 1mS, the timo variable
is reduced on each loop and proper timeout handling occurs on
the last call.

* Running qemu w/ 32-cores specified (on a 64/128 threadripper host),
with nvmm, reduces build-all time from 9:10 to 8:20, relative to
a native host build time (usched restricted to 32 cores) of 6:11.
So this is a significant improvement.

(currently qemi-6.0.0 w/nvmm has some significant contention when a
high cpu count is configured, due to the implementation).

show more ...

12345678910>>...152