Print this page
7029 want per-process exploit mitigation features (secflags)
7030 want basic address space layout randomization (aslr)
7031 noexec_user_stack should be a secflag
7032 want a means to forbid mappings around NULL.

@@ -43,10 +43,11 @@
 #include <rtld_db.h>
 #include <libproc.h>
 #include <libctf.h>
 #include <limits.h>
 #include <libproc.h>
+#include <sys/secflags.h>
 
 #ifdef  __cplusplus
 extern "C" {
 #endif
 

@@ -162,10 +163,11 @@
         prpriv_t *core_priv;    /* process privileges from core file */
         size_t core_priv_size;  /* size of the privileges */
         void *core_privinfo;    /* system privileges info from core file */
         priv_impl_info_t *core_ppii;    /* NOTE entry for core_privinfo */
         char *core_zonename;    /* zone name from core file */
+        prsecflags_t *core_secflags; /* secflags from core file */
 #if defined(__i386) || defined(__amd64)
         struct ssd *core_ldt;   /* LDT entries from core file */
         uint_t core_nldt;       /* number of LDT entries in core file */
 #endif
 } core_info_t;