| #
45d47917 |
| 28-Mar-2024 |
Antonio Huete Jimenez <tuxillo@quantumachine.net> |
sys/conf: remove referenced to non exisitng file
Reported-by: kworr
|
| #
f2d4759b |
| 16-Jan-2024 |
Aaron LI <aly@aaronly.me> |
kernel: Add the 'wg' option and list it in LINT64
|
| #
6f63b8fa |
| 22-Nov-2023 |
Aaron LI <aly@aaronly.me> |
crypto: Add ChaCha20-Poly1305 and XChaCha20-Poly1305 AEAD
Derived from OpenBSD with significant modifications by me:
- Removed unused code to hook into the cryptosoft framework. - Adjusted the inte
crypto: Add ChaCha20-Poly1305 and XChaCha20-Poly1305 AEAD
Derived from OpenBSD with significant modifications by me:
- Removed unused code to hook into the cryptosoft framework. - Adjusted the interface to align with the IETF RFC document (e.g., make the nonce a byte string other than a uint64_t), so that the code becomes more generic.
References: - RFC 8439: ChaCha20 and Poly1305 for IETF Protocols - RFC draft: XChaCha: eXtended-nonce ChaCha and AEAD_XChaCha20_Poly1305
show more ...
|
| #
a163f8c4 |
| 17-Nov-2023 |
Aaron LI <aly@aaronly.me> |
crypto: Adjust curve25519 and hook to build
- Fix header inclusions. - Add necessary '__inline' for '__always_inline' to fix build. - Replace 'letoh32()' with 'le32toh()'. - Adjust style a bit to be
crypto: Adjust curve25519 and hook to build
- Fix header inclusions. - Add necessary '__inline' for '__always_inline' to fix build. - Replace 'letoh32()' with 'le32toh()'. - Adjust style a bit to be more consistent.
show more ...
|
| #
69e8d0ef |
| 17-Nov-2023 |
Aaron LI <aly@aaronly.me> |
crypto: Adjust poly1305 and hook to build
- Use all uppercase for macro constant (i.e., POLY1305_BLOCK_SIZE). - Add 'inline' to two helper functions: U8TO32(), U32TO8()
|
| #
15b48a60 |
| 17-Nov-2023 |
Aaron LI <aly@aaronly.me> |
crypto: Adjust blake2 and hook to build
Make necessary changes to make it build. Meanwhile, adjust the style a bit to look more consistent.
|
| #
025d8334 |
| 17-Nov-2023 |
Aaron LI <aly@aaronly.me> |
crypto: Adjust siphash a bit and hook to build
|
| #
e008caa2 |
| 10-Nov-2023 |
Aaron LI <aly@aaronly.me> |
crypto: Include chacha20 into this module
|
| #
4104d691 |
| 08-Nov-2023 |
Aaron LI <aly@aaronly.me> |
csprng: Update to use crypto/chacha20 (a better version)
The CSPRNG code was already using Chacha20 (from crypto/chacha) to generate the random stream. However, the 'crypto/chacha20' version has be
csprng: Update to use crypto/chacha20 (a better version)
The CSPRNG code was already using Chacha20 (from crypto/chacha) to generate the random stream. However, the 'crypto/chacha20' version has been tweaked for and better suited to random stream generation. The enhancements include:
- Provide the KEYSTREAM_ONLY mode to help ease the invocation and improve performance. - Allow to use a 128-bit counter to avoid worrying about overflow (i.e., nonce reuse). This also remove the burden on the caller to check for counter overflow and rotate nonce. - Can be embedded for better compiler optimization.
The 'crypto/chacha20' was imported on 2023-02-25 from FreeBSD to implement the libc arc4random(3) API. After the CSPRNG migration, the old 'crypto/chacha' version become unused and will be removed in a later commit.
Referred to FreeBSD and OpenBSD.
show more ...
|
| #
529f21ee |
| 19-Oct-2023 |
Aaron LI <aly@aaronly.me> |
libkern: Add karc4random_uniform()
Obtained-from: FreeBSD
|
| #
500fd09e |
| 15-Oct-2023 |
Aaron LI <aly@aaronly.me> |
sys/conf: Sort libkern files
|
| #
47b738bf |
| 15-Oct-2023 |
Aaron LI <aly@aaronly.me> |
libkern: Import explicit_bzero() from FreeBSD
Obtained-from: FreeBSD
|
| #
2b3f93ea |
| 13-Oct-2023 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Add per-process capability-based restrictions
* This new system allows userland to set capability restrictions which turns off numerous kernel features and root accesses. These restricti
kernel - Add per-process capability-based restrictions
* This new system allows userland to set capability restrictions which turns off numerous kernel features and root accesses. These restrictions are inherited by sub-processes recursively. Once set, restrictions cannot be removed.
Basic restrictions that mimic an unadorned jail can be enabled without creating a jail, but generally speaking real security also requires creating a chrooted filesystem topology, and a jail is still needed to really segregate processes from each other. If you do so, however, you can (for example) disable mount/umount and most global root-only features.
* Add new system calls and a manual page for syscap_get(2) and syscap_set(2)
* Add sys/caps.h
* Add the "setcaps" userland utility and manual page.
* Remove priv.9 and the priv_check infrastructure, replacing it with a newly designed caps infrastructure.
* The intention is to add path restriction lists and similar features to improve jailess security in the near future, and to optimize the priv_check code.
show more ...
|
| #
0085a56d |
| 11-Mar-2023 |
Antonio Huete Jimenez <tuxillo@quantumachine.net> |
backlight(9): Initial port.
- backlight(9) is a generic panel backlight driver. - backlight(8) is the userland program to control backlight devices' properties. - Required by linuxkpi
Taken f
backlight(9): Initial port.
- backlight(9) is a generic panel backlight driver. - backlight(8) is the userland program to control backlight devices' properties. - Required by linuxkpi
Taken from: FreeBSD
show more ...
|
| #
1c0b11ab |
| 28-Feb-2023 |
Sascha Wildner <saw@online.de> |
kernel/pvscsi: Port pvscsi(4) over to DragonFly.
* Currently, MSI-X support is missing.
* If loaded as a module, it has to be in loader.conf. I don't know if that is different on FreeBSD.
Report
kernel/pvscsi: Port pvscsi(4) over to DragonFly.
* Currently, MSI-X support is missing.
* If loaded as a module, it has to be in loader.conf. I don't know if that is different on FreeBSD.
Reported-by: Georg Bege <georg@bege.email> Tested-by: Georg Bege <georg@bege.email> (on a VPS from IONOS) Pierre-Alain TORET <pierre-alain.toret@protonmail.com> (on Linux Workstation Pro 17) myself (on Windows Workstation 17 Player)
show more ...
|
| #
6d3dff5f |
| 15-Feb-2023 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - fbsd kpi support, add sleepq*() API (untested)
* Initial sleepq*() API. We use our tsleep*() API underneath it. This is a horrible API so add a note that it should only be used for Fr
kernel - fbsd kpi support, add sleepq*() API (untested)
* Initial sleepq*() API. We use our tsleep*() API underneath it. This is a horrible API so add a note that it should only be used for FreeBSD compat stuff.
- Add tsleep/wakeup domains to implement the two sleepq*() queues.
- Track blocking refs per queue in the sleepq API
- Do not track individual threads (just let tsleep*()/wakeup*() do its thing).
- objcache for wchan, 1K hash table for now, and retain a cache of available wchan structures in the hash table (up to 4 per slot).
- Include the hash-slot spin lock as FreeBSD compat code will use it for interlock tests.
- Relax sleepq_signal() a bit, allowing it to wakeup more than one thread (the DragonFly wakeup_*_one*() is a bit non-deterministic).
* For now add discrete fields to the thread structure. Its a bit of bloat but its better than dynamically allocating a side-structure. We already use our tsleep*() API and related fields underneath. Add a few more needed for tracking the wchan structure, the queue, and the timeout.
* Add sbintime_t type (as 64-bit ticks), and a sbticks global counter. Monotonic ticks since boot, 64 bits.
show more ...
|
|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2 |
|
| #
fab26bfa |
| 31-May-2022 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Add kern/subr_gtaskqueue.c
* Add the gtaskqueue API
Taken-from: FreeBSD
|
| #
ee3ffe9a |
| 15-Apr-2022 |
Aaron LI <aly@aaronly.me> |
libkern: Import timingsafe_bcmp() from FreeBSD
Will be used by WireGuard.
Obtained-from: FreeBSD
|
| #
1682b5f4 |
| 01-Apr-2022 |
Sascha Wildner <saw@online.de> |
sys/conf/files: Remove duplicate line.
|
|
Revision tags: v6.2.1, v6.3.0 |
|
| #
08f7a79f |
| 16-Dec-2021 |
Sascha Wildner <saw@online.de> |
kernel: Remove a.out and gzipped a.out executable support.
This isn't useful for anything anymore. Likely never was.
Also point out that our current executable format is ELF on the a.out(5) manual
kernel: Remove a.out and gzipped a.out executable support.
This isn't useful for anything anymore. Likely never was.
Also point out that our current executable format is ELF on the a.out(5) manual page, which we keep along with <sys/a.out.h> because ports need it.
show more ...
|
| #
fcfd9e22 |
| 05-Dec-2021 |
Tomohiro Kusumi <tkusumi@netbsd.org> |
ext2fs: Remove sys/gnu/vfs/ext2fs and make sys/vfs/ext2fs the default
This commit removes the old+unstable GPL ext2 implementation, and makes the new FreeBSD based ext2 implementation (since cfe6039
ext2fs: Remove sys/gnu/vfs/ext2fs and make sys/vfs/ext2fs the default
This commit removes the old+unstable GPL ext2 implementation, and makes the new FreeBSD based ext2 implementation (since cfe603905713d4e92a7956678970d5dff8e913f2) the default.
- Remove sys/gnu/vfs. - Rename sys/vfs/ext2fs/ext2fs_freebsd.ko -> ext2fs.ko. - Modify unusual userspace program which includes kernel struct. - Bump __DragonFly_version to 600107.
show more ...
|
| #
73722087 |
| 07-Nov-2021 |
Sascha Wildner <saw@online.de> |
drm/radeon: Remove some unused code.
The last usage of it was removed in 857ba049f77abf52192114507b738ab0.
Reported-by: Sergey Zigachev <s.zi@outlook.com>
|
| #
3dbf45c4 |
| 04-Nov-2021 |
Sascha Wildner <saw@online.de> |
kernel: Fix LINT64 build.
* Add a needed file to sys/conf/files.
* Shield the drm code from 'DEBUG' being defined via opt_global.h (DEBUG is a kernel configuration option). This was breaking amdg
kernel: Fix LINT64 build.
* Add a needed file to sys/conf/files.
* Shield the drm code from 'DEBUG' being defined via opt_global.h (DEBUG is a kernel configuration option). This was breaking amdgpu's atom.c that defines its own 'DEBUG' macro.
show more ...
|
| #
61dc2d09 |
| 03-Nov-2021 |
Sascha Wildner <saw@online.de> |
kernel/files: Remove duplicate line.
|
| #
9490b513 |
| 02-Nov-2021 |
Sascha Wildner <saw@online.de> |
kernel: Add xdisk to LINT64.
|