selinux
- Version 5.2 and earlier: selinux variable not available.
- Version 6.0 and later: selinux variable available.
Data Type
Integer, read-only
Description
The selinux variable indicates whether the pbrun client that is requesting the secured task is running confined in the SELinux environment. This variable is not present when the submit host is not integrated with SELinux. You can use the isset() function to determine if pbrun is running confined.
Valid Values
An integer, as described above. If pbrun is running unconfined, the variable is not present.
if (isset("selinux") { print ("SELINUX: ", selinux); }