Summary of this year's development & hack on OpenBSD/luna88k. Also rough explanation about KARL, one of new features on OpenBSD 6.2.
This short talk is held at NBUG meeting 2017-02.
Recent OpenBSD/luna88k status and introduction of LUNA-88K emulators.
This talk was held in "BSD na hitotoki" at Kansai Open Forum (KOF) 2021.
Written in Japanese.
Recent OpenBSD/luna88k status and introduction of LUNA-88K emulators.
This talk was held in "BSD na hitotoki" at Kansai Open Forum (KOF) 2021.
Written in Japanese.
Recent OpenBSD/luna88k status and introduction of LUNA-88K emulators.
This talk was held in Nagoya *BSD Users' Group session at Open Source Conference 2021 Online Nagoya.
Written in Japanese.
OpenBSD/luna88k yearly progress report (from May 2017 to May 2018)Kenji Aoyama
Recent OpenBSD/luna88k progress and brief explanation of OpenBSD's new feature KARL (Kernel Address Randomized Link).
This talk was held in Nagoya *BSD Users' Group session at Open Source Conference 2018 Nagoya.
Play PSG music on LUNA-88K - Utilization of I/O prosessorKenji Aoyama
Make LUNA-88K's PSG chip available by hardware patch and play music with private driver for I/O processor. Also run ancient CP/M on I/O processor.
This talk was held in Nagoya *BSD Users' Group session at Open Source Conference 2017 Nagoya.
Recent OpenBSD/luna88k status and introduction of LUNA-88K emulators.
This talk was held in Nagoya *BSD Users' Group session at Open Source Conference 2021 Online Nagoya.
Written in Japanese.
OpenBSD/luna88k yearly progress report (from May 2017 to May 2018)Kenji Aoyama
Recent OpenBSD/luna88k progress and brief explanation of OpenBSD's new feature KARL (Kernel Address Randomized Link).
This talk was held in Nagoya *BSD Users' Group session at Open Source Conference 2018 Nagoya.
Play PSG music on LUNA-88K - Utilization of I/O prosessorKenji Aoyama
Make LUNA-88K's PSG chip available by hardware patch and play music with private driver for I/O processor. Also run ancient CP/M on I/O processor.
This talk was held in Nagoya *BSD Users' Group session at Open Source Conference 2017 Nagoya.
7. 7
リリース編:なんとか間に合いました
•OpenBSD 6.1, Released April 11, 2017
•OpenBSD 6.2, Released October 9, 2017
•最近は tree locked からリリースまでが短縮
•5⽉1日、11⽉1日より早くなった
•CD-ROM作らなくなったから?
•Luna88kだとリリースバイナリ作成に2週間 :-<
2017年のLUNA
8. 8
OpenBSD 6.2の新機能:KARL
•KARL: Kernel Address Randomized Link (KARL)
a new "link-kit" allows the .o files of the kernel to be
relinked in a random order, creating a unique kernel
for each boot.
•カーネルのメモリ配置を毎回変えてセキュリティを
高める
•ちなみに 6.0 以降は、libc も起動時に毎回ランダム
にリンクし直すようになっています
(luna88kでは起動が遅くなるのでコメントアウト運用:-)
Port maintainerから⾒た
10. 10
KARL:ざっくりと解説(2)
•起動時、/etc/rc の最後で再度カーネルをリンク
•次回起動時はこのカーネルが使われる
:
# Re-link the kernel, placing the objects in a random order.
# Replace current with relinked kernel and inform root about it.
/usr/libexec/reorder_kernel &
:
cd $COMPILE_DIR/$KERNEL
make newbsd
make newinstall
echo "¥nKernel has been relinked and is active on next reboot.¥n"
/usr/libexec/reorder_kernel の最後
/etc/rc の最後
カーネルの .o ファイルがあるディレクトリで
make && make install する
… もう一度リンクすると何が変わるのか?