History log of /dragonfly/lib/ (Results 76 – 100 of 3795)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ee5a591814-Sep-2021 Sascha Wildner <saw@online.de>

Some additions and fixes related to fdatasync(2) and posix_fallocate(2).

* Fix a small issue in VOP_FDATASYNC()'s definition in <sys/vfsops.h>.

* Mention fdatasync() in fsync.2 (this basically sync

Some additions and fixes related to fdatasync(2) and posix_fallocate(2).

* Fix a small issue in VOP_FDATASYNC()'s definition in <sys/vfsops.h>.

* Mention fdatasync() in fsync.2 (this basically syncs that manual page
with FreeBSD, with a few adjustments).

* Add a manual page for posix_fallocate() (from FreeBSD, with a few
adjustments).

* Mention fdatasync() in the list of reentrant functions in sigaction.2.

* In pthread_testcancel.3, mention fdatasync() in the list of functions
for which a cancellation point will occur.

* Mention VOP_FDATASYNC() in VOP_FSYNC.9 (partly taken from FreeBSD).

* Remove a compatibility define in the fsstress tool.

Thanks to tkusumi for reviewing.

show more ...

74fa256011-Sep-2021 Tomohiro Kusumi <tkusumi@netbsd.org>

sys/kern: Add fdatasync(2)

Based on the following FreeBSD commits in 2016.
295af703a0d7987c6cf4987e7b7f5f07b3ca1221
1c1cc89580f0fbfabaf6f6c7f0f6440eef0c128e

Add the syscall and also add it to pthre

sys/kern: Add fdatasync(2)

Based on the following FreeBSD commits in 2016.
295af703a0d7987c6cf4987e7b7f5f07b3ca1221
1c1cc89580f0fbfabaf6f6c7f0f6440eef0c128e

Add the syscall and also add it to pthread's cancellation point.
The default behavior is same as fsync(2), which is fine but inefficient.

show more ...

fef0a4be11-Sep-2021 Sascha Wildner <saw@online.de>

libc: Remove __NO_TLS checks inherited from FreeBSD.

c89c874711-Sep-2021 Sascha Wildner <saw@online.de>

libc: Move posix_fallocate() to the right place in Symbol.map.

09d96b9c08-Sep-2021 Tomohiro Kusumi <tkusumi@netbsd.org>

sys/kern: Add posix_fallocate(2)

Based on the initial posix_fallocate(2) implementation in FreeBSD
from d91f88f7f38078ac6dd4b0f0e77470d605d1518e in 2011.

There is nothing special or efficient about

sys/kern: Add posix_fallocate(2)

Based on the initial posix_fallocate(2) implementation in FreeBSD
from d91f88f7f38078ac6dd4b0f0e77470d605d1518e in 2011.

There is nothing special or efficient about the default behavior.
VFS has no knowledge of fs details.

show more ...

1f2cfeb107-Sep-2021 Sascha Wildner <saw@online.de>

<sys/*.h>: Fix some include guard names.

5229377c07-Sep-2021 Sascha Wildner <saw@online.de>

kernel/libc: Remove the old vmm code.

Removes the kernel code and two system calls.

Bump __DragonFly_version too.

Reviewed-by: aly, dillon

6b07d4ee27-Aug-2021 Sascha Wildner <saw@online.de>

Make a number of headers self-sufficient.

Also, do not trust headers to bring in needed headers.

79118a5023-Aug-2021 Sascha Wildner <saw@online.de>

libnvmm.3: Fix some typos.

19d7904621-Aug-2021 Sascha Wildner <saw@online.de>

Some trivial changes to better comply with strict aliasing. (2)

Now that the warnings are fixed, do not pass -fno-strict-aliasing
anymore.

1b586c5707-Mar-2013 Gwenio <gwenio@live.com>

Some trivial changes to better comply with strict aliasing.

d1f6457720-Aug-2021 Sascha Wildner <saw@online.de>

sysconf.3: Document more constants.

38c3a22e15-Aug-2021 Sascha Wildner <saw@online.de>

<signal.h>/<ucontext.h>: Split those two headers better.

<signal.h> needs only ucontext_t and stack_t from <ucontext.h>. Split
those out to <sys/_ucontext.h> and stop including the full <ucontext.h>

<signal.h>/<ucontext.h>: Split those two headers better.

<signal.h> needs only ucontext_t and stack_t from <ucontext.h>. Split
those out to <sys/_ucontext.h> and stop including the full <ucontext.h>
from <signal.h> and vice versa, for userland.

In <ucontext.h>, continue defining siginfo_t for non-POSIX because
third party code expects us to.

This has been tested with a full dports bulk build.

show more ...

0c8103dd05-Aug-2021 Sascha Wildner <saw@online.de>

Include <inttypes.h> instead of <cpu/inttypes.h> in world.

Remove the unneeded inclusions otherwise.

dd01051413-Aug-2021 Sascha Wildner <saw@online.de>

libc: Clean up the Symbol.maps a bit.

* Remove sysv_cond_wait and sysv_cond_signal because these functions
were always static.

* Remove tre_have_approx because this function is only available wit

libc: Clean up the Symbol.maps a bit.

* Remove sysv_cond_wait and sysv_cond_signal because these functions
were always static.

* Remove tre_have_approx because this function is only available with
-DTRE_APPROX which we never used, nor build with right away.

* Remove pthread_init since there was never a pthread_init in libc.
Seems to be just a typo.

* Remove mexitcount which was kernel only.

* Add a comment to a symbol that will only show up when libc is built
with a debug option.

show more ...

f54c5bc114-Aug-2021 Sascha Wildner <saw@online.de>

libc: Clean up some kernel profiling bits.

c907b81a08-Aug-2021 Sascha Wildner <saw@online.de>

<errno.h>: Add ENOTRECOVERABLE and EOWNERDEAD.

These errno constants are really for robust mutexes which we do not
support. However, llvm seems to be abusing ENOTRECOVERABLE for other
purposes, so j

<errno.h>: Add ENOTRECOVERABLE and EOWNERDEAD.

These errno constants are really for robust mutexes which we do not
support. However, llvm seems to be abusing ENOTRECOVERABLE for other
purposes, so just add them both.

Reported-by: tuxillo

show more ...


/dragonfly/gnu/lib/gcc47/libstdc++/config.h
/dragonfly/gnu/lib/gcc80/libstdcxx/headers/config.h
libc/gen/errlst.c
libc/nls/C.msg
libc/sys/intro.2
/dragonfly/sbin/mount/mount.8
/dragonfly/share/man/man4/gdb.4
/dragonfly/share/man/man4/nvmm.4
/dragonfly/share/man/man9/sysctl.9
/dragonfly/sys/contrib/dev/acpica/changes.txt
/dragonfly/sys/contrib/dev/acpica/generate/release/build.sh
/dragonfly/sys/contrib/dev/acpica/source/common/adisasm.c
/dragonfly/sys/contrib/dev/acpica/source/common/ahtable.c
/dragonfly/sys/contrib/dev/acpica/source/common/dmtable.c
/dragonfly/sys/contrib/dev/acpica/source/common/dmtbdump1.c
/dragonfly/sys/contrib/dev/acpica/source/common/dmtbdump3.c
/dragonfly/sys/contrib/dev/acpica/source/common/dmtbinfo1.c
/dragonfly/sys/contrib/dev/acpica/source/common/dmtbinfo3.c
/dragonfly/sys/contrib/dev/acpica/source/compiler/aslmethod.c
/dragonfly/sys/contrib/dev/acpica/source/compiler/aslutils.c
/dragonfly/sys/contrib/dev/acpica/source/compiler/dtcompiler.h
/dragonfly/sys/contrib/dev/acpica/source/compiler/dtfield.c
/dragonfly/sys/contrib/dev/acpica/source/compiler/dttable1.c
/dragonfly/sys/contrib/dev/acpica/source/compiler/dttable2.c
/dragonfly/sys/contrib/dev/acpica/source/compiler/dttemplate.h
/dragonfly/sys/contrib/dev/acpica/source/compiler/dtutils.c
/dragonfly/sys/contrib/dev/acpica/source/components/dispatcher/dswexec.c
/dragonfly/sys/contrib/dev/acpica/source/include/acdisasm.h
/dragonfly/sys/contrib/dev/acpica/source/include/acnames.h
/dragonfly/sys/contrib/dev/acpica/source/include/acoutput.h
/dragonfly/sys/contrib/dev/acpica/source/include/acpixf.h
/dragonfly/sys/contrib/dev/acpica/source/include/actbinfo.h
/dragonfly/sys/contrib/dev/acpica/source/include/actbl1.h
/dragonfly/sys/contrib/dev/acpica/source/include/actbl2.h
/dragonfly/sys/contrib/dev/acpica/source/include/actbl3.h
/dragonfly/sys/contrib/dev/acpica/source/tools/acpihelp/ahdecode.c
/dragonfly/sys/contrib/dev/acpica/source/tools/acpisrc/astable.c
/dragonfly/sys/cpu/x86_64/include/sigframe.h
/dragonfly/sys/cpu/x86_64/include/signal.h
/dragonfly/sys/sys/errno.h
/dragonfly/sys/sys/signal2.h
/dragonfly/usr.bin/mkdep/Makefile
/dragonfly/usr.bin/mkdep/mkdep.sh
/dragonfly/usr.sbin/ndp/ndp.c
41376a9b29-Jul-2021 Sascha Wildner <saw@online.de>

libnvmm.3: Oops, forgot one .Cd correction.

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

libnvmm.3: Fix .Cd misuse.

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

libnvmm.3: Extend NAME section and add MLINKS for functions.

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

nvmm: Some documentation adjustments.

* Fix '.Lb libnvmm' for mandoc(1).

* Use standard list in libnvmm.3's ERRORS section.

* Add a SYNOPSIS to nvmm.4.

* Use short form .Nm in nvmmctl.8.

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

libnvmm: Remove unneeded header inclusions and defines

They are now provided by the <dev/virtual/nvmm/nvmm.h> header file.

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

nvmm: Fix comm page unmapping issue by doing it on userland side

Previously, we're mapping and unmapping the comm page for userland
process both on the kernel side. The unmapping was called at the

nvmm: Fix comm page unmapping issue by doing it on userland side

Previously, we're mapping and unmapping the comm page for userland
process both on the kernel side. The unmapping was called at the point
of closing the fd.

However, the kernel may destroy process' vmspace before or after closing
the fd, so there is no guarantee that kernel can get the correct address
space to unmap the comm page for the userland process. Therefore, do
the comm page unmapping on the userland side in libnvmm to fix the above
issue.

In addition, add the 'comm_size' member to 'struct nvmm_capability' to
expose the comm page size to userland, which is required for the
unmapping operation. This breaks ABI, so bump NVMM_KERN_VERSION.
Update nvmmctl(8) accordingly to print the comm page size.

This commit partially reverts:
"nvmm: Add missing comm page unmapping"

show more ...


libnvmm/libnvmm.3
libnvmm/libnvmm.c
/dragonfly/sys/conf/files
/dragonfly/sys/cpu/x86_64/include/cpu.h
/dragonfly/sys/cpu/x86_64/include/segments.h
/dragonfly/sys/dev/misc/syscons/syscons.c
/dragonfly/sys/dev/virtual/nvmm/Makefile
/dragonfly/sys/dev/virtual/nvmm/nvmm.c
/dragonfly/sys/dev/virtual/nvmm/nvmm.h
/dragonfly/sys/dev/virtual/nvmm/nvmm_dragonfly.c
/dragonfly/sys/dev/virtual/nvmm/nvmm_internal.h
/dragonfly/sys/dev/virtual/nvmm/nvmm_netbsd.c
/dragonfly/sys/dev/virtual/nvmm/nvmm_os.h
/dragonfly/sys/dev/virtual/nvmm/x86/nvmm_x86.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/kern_synch.c
/dragonfly/sys/kern/lwkt_thread.c
/dragonfly/sys/kern/subr_prf.c
/dragonfly/sys/platform/pc64/apic/apic_vector.s
/dragonfly/sys/platform/pc64/include/globaldata.h
/dragonfly/sys/platform/pc64/x86_64/machdep.c
/dragonfly/sys/platform/pc64/x86_64/mp_machdep.c
/dragonfly/sys/platform/pc64/x86_64/pmap.c
/dragonfly/sys/platform/pc64/x86_64/pmap_inval.c
/dragonfly/sys/platform/pc64/x86_64/trap.c
/dragonfly/sys/sys/globaldata.h
/dragonfly/test/nvmm/calc-vm.c
/dragonfly/test/nvmm/demo/smallkern/main.c
/dragonfly/test/nvmm/demo/smallkern/smallkern.ldscript
/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/testcases/libnvmm/h_io_assist.c
/dragonfly/test/testcases/libnvmm/h_io_assist_asm.S
/dragonfly/test/testcases/libnvmm/h_mem_assist.c
/dragonfly/test/testcases/libnvmm/h_mem_assist_asm.S
/dragonfly/usr.sbin/nvmmctl/nvmmctl.c
b677250204-Jul-2021 Aaron LI <aly@aaronly.me>

NVMM: Update libnvmm.3 and TODO.nvmm

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

libnvmm: More OS independence

* Define PTE_* values in 'libnvmm_x86.c' to avoid including some OS
headers: <machine/pte.h>, <machine/vmparam.h> and <machine/pmap.h>.
* Redefine __BIT() macro to av

libnvmm: More OS independence

* Define PTE_* values in 'libnvmm_x86.c' to avoid including some OS
headers: <machine/pte.h>, <machine/vmparam.h> and <machine/pmap.h>.
* Redefine __BIT() macro to avoid handling its difference between NetBSD
and DragonFly.
* 'nvmm_compat.h' is no longer needed and thus removed.

show more ...

12345678910>>...152