27ea30e3 | 23-Aug-2021 |
Sascha Wildner <saw@online.de> |
Fix grammar issues in a few manual pages. |
34328c98 | 21-Aug-2021 |
Sascha Wildner <saw@online.de> |
boot0cfg(8): Use some constants from <sys/diskmbr.h>.
While here, rename DOSMAGICOFFSET to DOSMAGICOFF, like DOSPARTOFF. |
2574e737 | 21-Aug-2021 |
Sascha Wildner <saw@online.de> |
installer(8): Move the contents of sysids.h into <sys/diskmbr.h>.
It is needed by both fdisk(8) and the installer.
<sys/diskmbr.h> seems reasonable because it already has defines for various partit
installer(8): Move the contents of sysids.h into <sys/diskmbr.h>.
It is needed by both fdisk(8) and the installer.
<sys/diskmbr.h> seems reasonable because it already has defines for various partition types. Use them in the struct. Adjust the naming of the structure and the array to match the rest of <sys/diskmbr.h>.
Based on a patch by Alexander Kuleshov <kuleshovmail@gmail.com>.
Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2875>
show more ...
|
756621d5 | 30-Jul-2021 |
Sascha Wildner <saw@online.de> |
ndp(8): Use RT_ROUNDUP to correctly increase the position in the buffer.
Submitted-by: James Cook (falsifian) Dragonfly-bug: https://bugs.dragonflybsd.org/issues/3291 |
a5c0e10b | 29-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. |
101bb806 | 27-Jul-2021 |
Sascha Wildner <saw@online.de> |
nvmmctl(8): Fix installing to a ${DESTDIR} on hosts without the nvmm group.
This affects building master ISO/IMGs on older hosts, or any other such scenario involving a ${DESTDIR}. If the host's wor
nvmmctl(8): Fix installing to a ${DESTDIR} on hosts without the nvmm group.
This affects building master ISO/IMGs on older hosts, or any other such scenario involving a ${DESTDIR}. If the host's world is too old, let install(1) use the databases (master.passwd, group) from the source tree.
installworlds for the purpose of upgrading the machine without ${DESTDIR} had the databases upgraded earlier in the install and are not affected.
show more ...
|
ae46c164 | 19-Jul-2021 |
Aaron LI <aly@aaronly.me> |
syslogd(8): Fix klog may be broken into multiple incomplete lines
Fix readklog() to not emit partial lines by changing it to use a static buffer for reading log lines from /dev/klog. Thus we can ma
syslogd(8): Fix klog may be broken into multiple incomplete lines
Fix readklog() to not emit partial lines by changing it to use a static buffer for reading log lines from /dev/klog. Thus we can make it only emit the line for printing if there is a complete line.
This fixes the issue that a kernel log line may be broken into multiple incomplete lines that are written into log file by syslogd(8), especially when the system is under load.
Patch-by: Matt Dillon
show more ...
|
cca384e4 | 20-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 ...
|
7a511437 | 04-Jul-2021 |
Aaron LI <aly@aaronly.me> |
nvmmctl(8): Misc cleanups |
7f0e1ce2 | 26-Jun-2021 |
Aaron LI <aly@aaronly.me> |
NVMM: Sync with NetBSD #1: copyright headers |
cc0c2bc2 | 25-May-2021 |
Aaron LI <aly@aaronly.me> |
nvmmctl(8): Rewrite makefile and hook to build |
e1cb903e | 25-May-2021 |
Aaron LI <aly@aaronly.me> |
nvmmctl(8): Port to DragonFly
* Adjust header inclusions * Add 'XCR0_FLAGS1' macro define * Add several '__unused' attributes * Rename '__dead' to '__dead2' |
37de577a | 05-May-2021 |
Aaron LI <aly@aaronly.me> |
Import nvmmctl(8) from NetBSD 9-stable
This is a program to control NVMM(4) virtual machines. It currently implements the following two commands: - identify: display the capabilities of the system.
Import nvmmctl(8) from NetBSD 9-stable
This is a program to control NVMM(4) virtual machines. It currently implements the following two commands: - identify: display the capabilities of the system. - list: display information on each virtual machine registered in the system.
Branch: NetBSD 9-stable Date: Fri Apr 30 14:08:16 2021 +0000 Path: usr.sbin/nvmmctl
show more ...
|
479ab7f0 | 12-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 ...
|
16a14a31 | 06-Jul-2021 |
Sascha Wildner <saw@online.de> |
inetd: Adjust error message too (a la the removed fcntl one). |
bf91185c | 06-Jul-2021 |
Sascha Wildner <saw@online.de> |
inetd: Use pipe2() instead of pipe()/fcntl()/fcntl() combo. |
ae75c143 | 03-Jul-2021 |
Sascha Wildner <saw@online.de> |
kernel: Remove ndis(4) and associated tools and stuff.
ndis(4) was a wrapper to allow running binary Windows network drivers that conformed to the Network Driver Interface Specification, i.e. NDIS.
kernel: Remove ndis(4) and associated tools and stuff.
ndis(4) was a wrapper to allow running binary Windows network drivers that conformed to the Network Driver Interface Specification, i.e. NDIS.
It only ever supported drivers from the days of Windows XP and Windows Server 2003 (i.e. NDIS 5.1). And even if one was actually able to extract the .sys and .inf files from the driver package and successfully convert them to a building module, which both were adventures in itself, it could be any result when trying to run it, depending on the card and driver, from resonably working to not working, even crashing. But it did work for some cards, so it had some limited merit in its time.
NetBSD removed it in 2018, FreeBSD in January 2021, so let's follow suit now.
show more ...
|
b77ca7af | 03-Jul-2021 |
Sascha Wildner <saw@online.de> |
wpa_cli.8: command is actually optional. |
3856b434 | 02-Jul-2021 |
Sascha Wildner <saw@online.de> |
Fix a few mdoc issues in various manual pages. |
feaf0601 | 27-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 ...
|
961ff28f | 17-Jun-2021 |
Sascha Wildner <saw@online.de> |
mfiutil(8): Fix building with -DDEBUG. |
8f13a1c5 | 21-May-2021 |
Dan Cross <cross@gajendra.net> |
pw_scan: remove checks for (u|g)ids > USHRT_MAX.
Remove the check and simplify the logic for checking UID/GID validity in `pw_scan()` by calling `strtonum` instead of `strtoul`.
I ran into this bec
pw_scan: remove checks for (u|g)ids > USHRT_MAX.
Remove the check and simplify the logic for checking UID/GID validity in `pw_scan()` by calling `strtonum` instead of `strtoul`.
I ran into this because I use a non-default UID/GID numbering scheme where both are typically greater than 2^16 for normal users. The width of UIDs has been 32 bits since before 4.4BSD in 1994, almost 27 years ago; if larger UIDs were going to show up as a problem it would have already happened.
Signed-off-by: Dan Cross <cross@gajendra.net>
show more ...
|
1dfea00f | 05-May-2021 |
Tomohiro Kusumi <tkusumi@netbsd.org> |
usr.sbin/autofs: Best effort to maintain mounttab and mountdtab
from FreeBSD 88e531f38c2412bf030f4e8dd563efc45b70797e |
a383114d | 04-Apr-2021 |
Sascha Wildner <saw@online.de> |
newsyslog.8: Uncomment a reference to zstd.1. |
7bfdd632 | 02-Apr-2021 |
Sascha Wildner <saw@online.de> |
newsyslog.conf.5: Add zstd.1 reference and bump .Dd |