mirror of https://github.com/rust-lang/rust.git
Fix unnecessary tool detection at non-Linux OSes, fix GRSecurity detection documentation error.
This commit is contained in:
parent
e3f458e639
commit
039110ba22
|
@ -344,8 +344,11 @@ probe CFG_PDFLATEX pdflatex
|
||||||
probe CFG_XETEX xetex
|
probe CFG_XETEX xetex
|
||||||
probe CFG_LUATEX luatex
|
probe CFG_LUATEX luatex
|
||||||
probe CFG_NODE nodejs node
|
probe CFG_NODE nodejs node
|
||||||
probe CFG_PAXCTL paxctl /sbin/paxctl
|
if [ "$CFG_OSTYPE" = "unknown-linux-gnu" ]
|
||||||
probe CFG_ZCAT zcat
|
then
|
||||||
|
probe CFG_PAXCTL paxctl /sbin/paxctl
|
||||||
|
probe CFG_ZCAT zcat
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -z "$CFG_PANDOC" ]
|
if [ ! -z "$CFG_PANDOC" ]
|
||||||
then
|
then
|
||||||
|
@ -370,8 +373,7 @@ then
|
||||||
GRSEC_DETECTED=
|
GRSEC_DETECTED=
|
||||||
|
|
||||||
# /dev/grsec only exists if CONFIG_GRKERNSEC_NO_RBAC is not set.
|
# /dev/grsec only exists if CONFIG_GRKERNSEC_NO_RBAC is not set.
|
||||||
# /proc is normally only available to root and users in the CONFIG_GRKERNSEC_PROC_GID group,
|
# /proc/sys/kernel/grsecurity is not available if ÇONFIG_GRKERNSEC_SYSCTL is not set.
|
||||||
# and /proc/sys/kernel/grsecurity is not available if ÇONFIG_GRKERNSEC_SYSCTL is not set.
|
|
||||||
if [ -e /dev/grsec -o -d /proc/sys/kernel/grsecurity ]
|
if [ -e /dev/grsec -o -d /proc/sys/kernel/grsecurity ]
|
||||||
then
|
then
|
||||||
GRSEC_DETECTED=1
|
GRSEC_DETECTED=1
|
||||||
|
|
Loading…
Reference in New Issue