Make system(3) and popen(3) use posix_spawn(3) internally
https://blog.netbsd.org/tnf/entry/gsoc_reports_make_system_3 [blog.netbsd.org]
2020-07-13 17:55
tags:
netbsd
systems
unix
update
After 1 week of reading POSIX and writing code, 2 weeks of coding and another 1.5 weeks of bugfixes I have successfully implemented posix_spawn in usage in system(3) and popen(3) internally.
source: L
Fakecracker: NetBSD as a Function Based MicroVM
https://imil.net/blog/posts/2020/fakecracker-netbsd-as-a-function-based-microvm/ [imil.net]
2020-06-18 19:13
tags:
admin
netbsd
virtualization
This is fun and all, but we can’t really talk about security only with chroot, and the Firecracker solution seemed about right for this matter, yet the overall NetBSD boot process was a bit too long for my taste. So how exactly can we significantly improve NetBSD‘s boot speed?
source: L
Announcing NetBSD 9.0
https://www.netbsd.org/releases/formal-9/NetBSD-9.0.html [www.netbsd.org]
2020-02-15 23:52
tags:
netbsd
release
This release brings significant improvements in terms of hardware support, quality assurance, security, along with new features and hundreds of bug fixes.
source: Dfly
Improvements in forking, threading, and signal code
http://blog.netbsd.org/tnf/entry/improvements_in_forking_threading_and [blog.netbsd.org]
2019-05-11 18:00
tags:
concurrency
netbsd
programming
systems
unix
update
I am improving signaling code in the NetBSD kernel, covering corner cases with regression tests, and improving the documentation. I’ve been working at the level of sytems calls (syscalls): forking, threading, handling these with GDB, and tracing syscalls. Some work happens behind the scenes as I support the work of Michal Gorny on LLDB/ptrace features.
source: Dfly
From Zero to NVMM
https://blog.netbsd.org/tnf/entry/from_zero_to_nvmm [blog.netbsd.org]
2019-04-10 13:57
tags:
netbsd
systems
virtualization
Six months ago, I told myself I would write a small hypervisor for an old x86 AMD CPU I had. Just to learn more about virtualization, and see how far I could go alone on my spare time. Today, it turns out that I’ve gone as far as implementing a full, fast and flexible virtualization stack for NetBSD. I’d like to present here some aspects of it.
source: L
Increasing coverage of signal semantics in regression tests
https://blog.netbsd.org/tnf/entry/increasing_coverage_of_signal_semantics [blog.netbsd.org]
2019-03-11 16:56
tags:
netbsd
systems
testing
unix
update
Kernel signal code is a complex maze, it’s very difficult to introduce non-trivial changes without regressions. Over the past month I worked on covering missing elementary scenarios involving the ptrace(2) API. Part of the new tests were marked as expected to success, however a number of them are expected to fail.
source: vermaden
Announcing NetBSD 8.0
https://www.netbsd.org/releases/formal-8/NetBSD-8.0.html [www.netbsd.org]
2018-07-22 17:07
tags:
netbsd
release
This release brings stability improvements, hundreds of bug fixes, and many new features.
We support older releases, but due to the mass of recent urgent fixes and a lot of work having been done to harden NetBSD in general, we are not backporting the CPU errata related workarounds and mitigations to older release branches!
source: L
GSoC 2018 report: Kernel Address Sanitizer, Part 2
http://blog.netbsd.org/tnf/entry/gsoc_2018_report_kernel_address [blog.netbsd.org]
2018-07-17 18:42
tags:
netbsd
programming
systems
update
The Kernel Address Sanitizer or KASAN is a fast and efficient memory error detector designed by developers at Google. It is heavily based on compiler optimization and has been very effective in reporting bugs in the Linux Kernel. The aim of my project is to build the NetBSD kernel with the KASAN and use it to find bugs and improve code quality in the kernel. This Sanitizer will help detect a lot of memory errors that otherwise would be hard to detect.
source: Dfly
=?iso-8859-8-i?Q? Handling non-UTF-8 Hebrew email
https://blog.netbsd.org/tnf/entry/handling_non_utf_8_hebrew [blog.netbsd.org]
2018-06-11 12:12
tags:
email
netbsd
text
In the dark ages before Unicode, Hebrew used its own encodings which allowed typing both Latin and Hebrew letters: Windows-1255, ISO-8859-8. I speculate that people initially expected input to be written in reverse order (aka “visual order“), assuming that everything will display text left to right.
source: L
NetBSD 7.1.1 released
http://www.netbsd.org/releases/formal-7/NetBSD-7.1.1.html [www.netbsd.org]
2017-12-30 00:28
tags:
netbsd
release
The NetBSD Project is pleased to announce NetBSD 7.1.1, the first security/critical update of the NetBSD 7.1 release branch. It represents a selected subset of fixes deemed important for security or stability reasons.
source: L
One year checkpoint and Thread Sanitizer update
http://blog.netbsd.org/tnf/entry/one_year_checkpoint_and_thread [blog.netbsd.org]
2017-11-02 03:03
tags:
compiler
concurrency
netbsd
swtools
update
The past year has been started with bugfixes and the development of regression tests for ptrace(2) and related kernel features, as well as the continuation of bringing LLDB support and LLVM sanitizers (ASan + UBsan and partial TSan + Msan) to NetBSD.
source: L
NetBSD dtrace and ZFS update
https://mail-index.netbsd.org/tech-kern/2017/10/13/msg022436.html [mail-index.netbsd.org]
2017-10-22 00:43
tags:
beta
netbsd
update
I’ve been working on updating netbsd’s copy of the dtrace and zfs code to rebase from the existing ancient opensolaris version to a recent freebsd version. most of the freebsd changes are pretty close to what netbsd needs, so that seems like a more useful upstream for us. I have things working well enough now that I want to share the code in preparation for committing.
source: Dfly
Are all BSDs created equally? A survey of BSD kernel vulnerabilies.
https://media.defcon.org/DEF%20CON%2025/DEF%20CON%2025%20presentations/DEFCON-25-Ilja-van-Sprundel-BSD-Kern-Vulns.pdf [media.defcon.org]
2017-07-27 19:15
tags:
c
freebsd
netbsd
openbsd
pdf
programming
security
slides
systems
A sampling of bugs, here, there, and everywhere.
source: L
Porting NetBSD to Allwinner H3 SoCs
http://blog.netbsd.org/tnf/entry/porting_netbsd_to_allwinner_h3 [blog.netbsd.org]
2017-07-09 19:43
tags:
netbsd
systems
update
This is one of the first evbarm ports built from the ground up with device tree support, which helps us to use a single kernel config to support many different boards.
source: L
Episode 198: BSDNorth or You can’t handle the libtruth
http://www.bsdnow.tv/episodes/2017_06_14-you_cant_handle_the_libtruth [www.bsdnow.tv]
2017-06-16 19:43
tags:
event
freebsd
netbsd
openbsd
video
secmodel sandbox : An application sandbox for NetBSD
http://www.bsdcan.org/2017/schedule/attachments/404_smherwig-sandbox-bsdcan2017.pdf [www.bsdcan.org]
2017-06-11 16:13
tags:
defense
netbsd
paper
pdf
security
We introduce a new security model for NetBSD – sec-model sandbox – that allows per-process policies for re- stricting privileges. Privileges correspond to kauth authorization requests, such as a request to create a socket or read a file, and policies specify the sandbox’s decision: deny, defer, or allow. Processes may apply multiple sandbox policies to themselves, in which case the policies stack, and child processes inherit their parent’s sandbox. Sandbox policies are expressed in Lua, and the evaluation of policies uses NetBSD 7’s experimental in-kernel Lua interpreter. As such, policies may express static authorization decisions, or may register Lua functions that secmodel sandbox invokes for a decision.
source: L
EuroBSDcon 2017 Talks & Schedule
https://2017.eurobsdcon.org/talks-schedule/ [2017.eurobsdcon.org]
2017-06-05 17:25
tags:
event
freebsd
netbsd
openbsd
21-24 September, Paris, France
NetBSD 7.1 released
https://www.netbsd.org/releases/formal-7/NetBSD-7.1.html [www.netbsd.org]
2017-03-15 18:04
tags:
netbsd
release
RPi Zero, maybe nvidia graphics, and Adobe Flash Player 24.
source: L
ptrace(2) tasks segment finished
http://blog.netbsd.org/tnf/entry/ptrace_2_tasks_segment_finished [blog.netbsd.org]
2017-03-01 19:57
tags:
netbsd
slides
swtools
systems
update
During this month I’ve finished the needed work in the base distribution in order to host fully featured LLDB. Currently the ptrace(2) interfaces in NetBSD are, in terms of features, closely related to FreeBSD and Linux.
source: L
NetBSD fully reproducible builds
http://blog.netbsd.org/tnf/entry/netbsd_fully_reproducible_builds [blog.netbsd.org]
2017-02-21 00:41
tags:
compiler
development
netbsd
swtools
I did not think at the time it would take as long or be so difficult, so I did not keep a log of all the changes I needed to make. I was also not the only one working on this.
Here’s is what we found that we needed to fix, how we chose to fix it and why, and where are we now. There are many reasons why two separate builds from the same sources can be different. Here’s an (incomplete) list:
source: L