chroot 和 setuid 上的 PARANOIA 是什么意思?
What is PARANOIA meaning on chroot and setuid?
我知道偏执狂的意思,但我正在阅读 isc-dhcp 源代码,我对系统编程和 linux 世界中的这个术语感到困惑。
configure.ac
文件有以下代码:
# PARANOIA is off by default (until we can test it with all features)
AC_ARG_ENABLE(paranoia,
AS_HELP_STRING([--enable-paranoia],[enable support for chroot/setuid (default is no)]))
AC_ARG_ENABLE(early_chroot,
AS_HELP_STRING([--enable-early-chroot],[enable chrooting prior to configuration (default is no)]))
# If someone enables early chroot, but does not enable paranoia, do so for
# them.
if test "$enable_paranoia" != "yes" && \
test "$enable_early_chroot" = "yes" ; then
enable_paranoia="yes"
fi
if test "$enable_paranoia" = "yes" ; then
AC_DEFINE([PARANOIA], [1],
[Define to any value to include Ari's PARANOIA patch.])
isc 在他的源代码中使用了这个宏。
反正我不知道这个位置的偏执狂是什么意思
这是指安全限制和容器化吗?
我找不到很好的资源来理解这些条款。
内特
It seems to just be the author's own name for some configuration option. The help text suggests that what this option does is to enable support for chroot and setuid, which are concepts you can look up. "Paranoia" isn't a technical term at all, it's just an English word meaning "excessive fear that someone may attack you", so the author probably thought it seemed fitting for an option that increases security
我知道偏执狂的意思,但我正在阅读 isc-dhcp 源代码,我对系统编程和 linux 世界中的这个术语感到困惑。
configure.ac
文件有以下代码:
# PARANOIA is off by default (until we can test it with all features)
AC_ARG_ENABLE(paranoia,
AS_HELP_STRING([--enable-paranoia],[enable support for chroot/setuid (default is no)]))
AC_ARG_ENABLE(early_chroot,
AS_HELP_STRING([--enable-early-chroot],[enable chrooting prior to configuration (default is no)]))
# If someone enables early chroot, but does not enable paranoia, do so for
# them.
if test "$enable_paranoia" != "yes" && \
test "$enable_early_chroot" = "yes" ; then
enable_paranoia="yes"
fi
if test "$enable_paranoia" = "yes" ; then
AC_DEFINE([PARANOIA], [1],
[Define to any value to include Ari's PARANOIA patch.])
isc 在他的源代码中使用了这个宏。
反正我不知道这个位置的偏执狂是什么意思
这是指安全限制和容器化吗?
我找不到很好的资源来理解这些条款。
内特
It seems to just be the author's own name for some configuration option. The help text suggests that what this option does is to enable support for chroot and setuid, which are concepts you can look up. "Paranoia" isn't a technical term at all, it's just an English word meaning "excessive fear that someone may attack you", so the author probably thought it seemed fitting for an option that increases security