SECURITY-FLAGS(5) | Standards, Environments, and Macros | SECURITY-FLAGS(5) |
There are two sets of these flags for each process, the effective set (abbreviated E) are the set which currently apply to the process and are immutable. The inheritable set (abbreviated I) are the flags which will become effective the next time the process calls one of the exec(2) family of functions, and will be inherited as both the effective and inheritable sets by any child processes. The inheritable set may be changed at any time, subject to permissions.
To change the security-flags of a process one must have both permissions equivalent to those required to send a signal to the process and have the PRIV_PROC_SECFLAGS privilege.
Currently available features are:
Currently, executable base addresses are not randomised, due to which the mitigation provided by this feature is currently limited.
This flag may also be enabled by the presence of the DT_SUNW_ASLR dynamic tag in the .dynamic section of the executable file. If this tag has a value of 1, ASLR will be enabled. If the flag has a value of 0 ASLR will be disabled. If the tag is not present, the value of the ASLR flag will be inherited as normal.
This can be done by any user with the solaris.smf.value.process-security authorization.
Since security-flags are strictly inherited, this will not take effect until the system or zone is next booted.
May 5, 2014 |