Security

如何“完全”從 OpenBSD 中刪除熔斷器支持?

  • January 26, 2018

有人如何從 OpenBSD 中刪除熔斷器支持?

是否需要重新編譯核心?

或者只是配置修改或刪除一些二進製文件?如何?

核心支持FUSE

# grep FUSE /sys/conf/GENERIC
option          FUSE            # FUSE

需要刪除;假設sys.tar.gz已被強加到系統上並應用了所有最新和最好的更新檔

# cd /sys/conf
# cp GENERIC NOFUSE
# (echo /FUSE; echo d; echo w; echo q) | ed NOFUSE
4048
option          FUSE            # FUSE
4027
# grep FUSE NOFUSE
# cd /sys/arch/`uname -m`/conf
# cp GENERIC NOFUSE
# grep GENERIC NOFUSE
#       $OpenBSD: GENERIC,v 1.445 2017/08/28 19:32:53 jasper Exp $
include         "../../../conf/GENERIC"
# ed NOFUSE
20842
/\/GENERIC
include         "../../../conf/GENERIC"
s/GENERIC/NOFUSE
include         "../../../conf/NOFUSE"
w
20841
q
# config NOFUSE
...
# cd ../compile/NOFUSE
# make
...
# make install
...
# reboot

手冊頁,例如config(8)release(8)boot(8)可能值得一看,並且上面建構了適合系統的MP或核心……SP

引用自:https://unix.stackexchange.com/questions/419916