File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -344,8 +344,11 @@ probe CFG_PDFLATEX pdflatex
344
344
probe CFG_XETEX xetex
345
345
probe CFG_LUATEX luatex
346
346
probe CFG_NODE nodejs node
347
- probe CFG_PAXCTL paxctl /sbin/paxctl
348
- probe CFG_ZCAT zcat
347
+ if [ " $CFG_OSTYPE " = " unknown-linux-gnu" ]
348
+ then
349
+ probe CFG_PAXCTL paxctl /sbin/paxctl
350
+ probe CFG_ZCAT zcat
351
+ fi
349
352
350
353
if [ ! -z " $CFG_PANDOC " ]
351
354
then
370
373
GRSEC_DETECTED=
371
374
372
375
# /dev/grsec only exists if CONFIG_GRKERNSEC_NO_RBAC is not set.
373
- # /proc is normally only available to root and users in the CONFIG_GRKERNSEC_PROC_GID group,
374
- # and /proc/sys/kernel/grsecurity is not available if ÇONFIG_GRKERNSEC_SYSCTL is not set.
376
+ # /proc/sys/kernel/grsecurity is not available if ÇONFIG_GRKERNSEC_SYSCTL is not set.
375
377
if [ -e /dev/grsec -o -d /proc/sys/kernel/grsecurity ]
376
378
then
377
379
GRSEC_DETECTED=1
You can’t perform that action at this time.
0 commit comments