Print this page
uts: Allow for address space randomisation.
Randomise the base addresses of shared objects, non-fixed mappings, the
stack and the heap.  Introduce a service, svc:/system/process-security,
and a tool psecflags(1) to control and observe it


  83 @ MSG_AUXV_AT_SUN_GID                   "SUN_GID"
  84 @ MSG_AUXV_AT_SUN_RGID                  "SUN_RGID"
  85 @ MSG_AUXV_AT_SUN_LDELF                 "SUN_LDELF"
  86 @ MSG_AUXV_AT_SUN_LDSHDR                "SUN_LDSHDR"
  87 @ MSG_AUXV_AT_SUN_LDNAME                "SUN_LDNAME"
  88 @ MSG_AUXV_AT_SUN_LPAGESZ               "SUN_LPAGESZ"
  89 @ MSG_AUXV_AT_SUN_PLATFORM              "SUN_PLATFORM"
  90 @ MSG_AUXV_AT_SUN_HWCAP                 "SUN_HWCAP"
  91 @ MSG_AUXV_AT_SUN_IFLUSH                "SUN_IFLUSH"
  92 @ MSG_AUXV_AT_SUN_CPU                   "SUN_CPU"
  93 @ MSG_AUXV_AT_SUN_EXECNAME              "SUN_EXECNAME"
  94 @ MSG_AUXV_AT_SUN_MMU                   "SUN_MMU"
  95 @ MSG_AUXV_AT_SUN_LDDATA                "SUN_LDDATA"
  96 @ MSG_AUXV_AT_SUN_AUXFLAGS              "SUN_AUXFLAGS"
  97 @ MSG_AUXV_AT_SUN_EMULATOR              "SUN_EMULATOR"
  98 @ MSG_AUXV_AT_SUN_BRANDNAME             "SUN_BRANDNAME"
  99 @ MSG_AUXV_AT_SUN_BRAND_AUX1            "SUN_BRAND_AUX1"
 100 @ MSG_AUXV_AT_SUN_BRAND_AUX2            "SUN_BRAND_AUX2"
 101 @ MSG_AUXV_AT_SUN_BRAND_AUX3            "SUN_BRAND_AUX3"
 102 @ MSG_AUXV_AT_SUN_HWCAP2                "SUN_HWCAP2"

 103 
 104 
 105 @ MSG_CC_CONTENT_STACK          "STACK"
 106 @ MSG_CC_CONTENT_HEAP           "HEAP"
 107 @ MSG_CC_CONTENT_SHFILE         "SHFILE"
 108 @ MSG_CC_CONTENT_SHANON         "SHANON"
 109 @ MSG_CC_CONTENT_TEXT           "TEXT"
 110 @ MSG_CC_CONTENT_DATA           "DATA"
 111 @ MSG_CC_CONTENT_RODATA         "RODATA"
 112 @ MSG_CC_CONTENT_ANON           "ANON"
 113 @ MSG_CC_CONTENT_SHM            "SHM"
 114 @ MSG_CC_CONTENT_ISM            "ISM"
 115 @ MSG_CC_CONTENT_DISM           "DISM"
 116 @ MSG_CC_CONTENT_CTF            "CTF"
 117 @ MSG_CC_CONTENT_SYMTAB         "SYMTAB"
 118 
 119 
 120 @ MSG_ERRNO_EPERM               "[ EPERM ]"                     # 1
 121 @ MSG_ERRNO_ENOENT              "[ ENOENT ]"            # 2
 122 @ MSG_ERRNO_ESRCH               "[ ESRCH ]"                     # 3


 260 @ MSG_PR_FLAGS_IDLE             "PR_IDLE"
 261 @ MSG_PR_FLAGS_ISSYS            "PR_ISSYS"
 262 @ MSG_PR_FLAGS_VFORKP           "PR_VFORKP"
 263 @ MSG_PR_FLAGS_ORPHAN           "PR_ORPHAN"
 264 @ MSG_PR_FLAGS_NOSIGCHLD        "PR_NOSIGCHLD"
 265 @ MSG_PR_FLAGS_WAITPID          "PR_WAITPID"
 266 @ MSG_PR_FLAGS_FORK             "PR_FORK"
 267 @ MSG_PR_FLAGS_RLC              "PR_RLC"
 268 @ MSG_PR_FLAGS_KLC              "PR_KLC"
 269 @ MSG_PR_FLAGS_ASYNC            "PR_ASYNC"
 270 @ MSG_PR_FLAGS_MSACCT           "PR_MSACCT"
 271 @ MSG_PR_FLAGS_BPTADJ           "PR_BPTADJ"
 272 @ MSG_PR_FLAGS_PTRACE           "PR_PTRACE"
 273 @ MSG_PR_FLAGS_MSFORK           "PR_MSFORK"
 274 @ MSG_PR_FLAGS_PCOMPAT          "PR_PCOMPAT"
 275 
 276 
 277 @ MSG_PROC_FLAG_SSYS            "SSYS"
 278 @ MSG_PROC_FLAG_SMSACCT         "SMSACCT"
 279 


 280 @ MSG_PS_NONE                   "[ PS_NONE ]"
 281 @ MSG_PS_QUERY                  "[ PS_QUERY ]"
 282 @ MSG_PS_MYID                   "[ PS_MYID ]"
 283 @ MSG_PS_SOFT                   "[ PS_SOFT ]"
 284 @ MSG_PS_HARD                   "[ PS_HARD ]"
 285 @ MSG_PS_QUERY_TYPE             "[ PS_QUERY_TYPE ]"
 286 
 287 
 288 @ MSG_REG_SPARC_G0              "[ r0/g0 ]"
 289 @ MSG_REG_SPARC_G1              "[ r1/g1 ]"
 290 @ MSG_REG_SPARC_G2              "[ r2/g2 ]"
 291 @ MSG_REG_SPARC_G3              "[ r3/g3 ]"
 292 @ MSG_REG_SPARC_G4              "[ r4/g4 ]"
 293 @ MSG_REG_SPARC_G5              "[ r5/g5 ]"
 294 @ MSG_REG_SPARC_G6              "[ r6/g6 ]"
 295 @ MSG_REG_SPARC_G7              "[ r7/g7 ]"
 296 @ MSG_REG_SPARC_O0              "[ r8/o0 ]"
 297 @ MSG_REG_SPARC_O1              "[ r9/o1 ]"
 298 @ MSG_REG_SPARC_O2              "[ r10/o2 ]"
 299 @ MSG_REG_SPARC_O3              "[ r11/o3 ]"




  83 @ MSG_AUXV_AT_SUN_GID                   "SUN_GID"
  84 @ MSG_AUXV_AT_SUN_RGID                  "SUN_RGID"
  85 @ MSG_AUXV_AT_SUN_LDELF                 "SUN_LDELF"
  86 @ MSG_AUXV_AT_SUN_LDSHDR                "SUN_LDSHDR"
  87 @ MSG_AUXV_AT_SUN_LDNAME                "SUN_LDNAME"
  88 @ MSG_AUXV_AT_SUN_LPAGESZ               "SUN_LPAGESZ"
  89 @ MSG_AUXV_AT_SUN_PLATFORM              "SUN_PLATFORM"
  90 @ MSG_AUXV_AT_SUN_HWCAP                 "SUN_HWCAP"
  91 @ MSG_AUXV_AT_SUN_IFLUSH                "SUN_IFLUSH"
  92 @ MSG_AUXV_AT_SUN_CPU                   "SUN_CPU"
  93 @ MSG_AUXV_AT_SUN_EXECNAME              "SUN_EXECNAME"
  94 @ MSG_AUXV_AT_SUN_MMU                   "SUN_MMU"
  95 @ MSG_AUXV_AT_SUN_LDDATA                "SUN_LDDATA"
  96 @ MSG_AUXV_AT_SUN_AUXFLAGS              "SUN_AUXFLAGS"
  97 @ MSG_AUXV_AT_SUN_EMULATOR              "SUN_EMULATOR"
  98 @ MSG_AUXV_AT_SUN_BRANDNAME             "SUN_BRANDNAME"
  99 @ MSG_AUXV_AT_SUN_BRAND_AUX1            "SUN_BRAND_AUX1"
 100 @ MSG_AUXV_AT_SUN_BRAND_AUX2            "SUN_BRAND_AUX2"
 101 @ MSG_AUXV_AT_SUN_BRAND_AUX3            "SUN_BRAND_AUX3"
 102 @ MSG_AUXV_AT_SUN_HWCAP2                "SUN_HWCAP2"
 103 @ MSG_AUXV_AT_SUN_SECFLAGS              "SUN_SECFLAGS"
 104 
 105 
 106 @ MSG_CC_CONTENT_STACK          "STACK"
 107 @ MSG_CC_CONTENT_HEAP           "HEAP"
 108 @ MSG_CC_CONTENT_SHFILE         "SHFILE"
 109 @ MSG_CC_CONTENT_SHANON         "SHANON"
 110 @ MSG_CC_CONTENT_TEXT           "TEXT"
 111 @ MSG_CC_CONTENT_DATA           "DATA"
 112 @ MSG_CC_CONTENT_RODATA         "RODATA"
 113 @ MSG_CC_CONTENT_ANON           "ANON"
 114 @ MSG_CC_CONTENT_SHM            "SHM"
 115 @ MSG_CC_CONTENT_ISM            "ISM"
 116 @ MSG_CC_CONTENT_DISM           "DISM"
 117 @ MSG_CC_CONTENT_CTF            "CTF"
 118 @ MSG_CC_CONTENT_SYMTAB         "SYMTAB"
 119 
 120 
 121 @ MSG_ERRNO_EPERM               "[ EPERM ]"                     # 1
 122 @ MSG_ERRNO_ENOENT              "[ ENOENT ]"            # 2
 123 @ MSG_ERRNO_ESRCH               "[ ESRCH ]"                     # 3


 261 @ MSG_PR_FLAGS_IDLE             "PR_IDLE"
 262 @ MSG_PR_FLAGS_ISSYS            "PR_ISSYS"
 263 @ MSG_PR_FLAGS_VFORKP           "PR_VFORKP"
 264 @ MSG_PR_FLAGS_ORPHAN           "PR_ORPHAN"
 265 @ MSG_PR_FLAGS_NOSIGCHLD        "PR_NOSIGCHLD"
 266 @ MSG_PR_FLAGS_WAITPID          "PR_WAITPID"
 267 @ MSG_PR_FLAGS_FORK             "PR_FORK"
 268 @ MSG_PR_FLAGS_RLC              "PR_RLC"
 269 @ MSG_PR_FLAGS_KLC              "PR_KLC"
 270 @ MSG_PR_FLAGS_ASYNC            "PR_ASYNC"
 271 @ MSG_PR_FLAGS_MSACCT           "PR_MSACCT"
 272 @ MSG_PR_FLAGS_BPTADJ           "PR_BPTADJ"
 273 @ MSG_PR_FLAGS_PTRACE           "PR_PTRACE"
 274 @ MSG_PR_FLAGS_MSFORK           "PR_MSFORK"
 275 @ MSG_PR_FLAGS_PCOMPAT          "PR_PCOMPAT"
 276 
 277 
 278 @ MSG_PROC_FLAG_SSYS            "SSYS"
 279 @ MSG_PROC_FLAG_SMSACCT         "SMSACCT"
 280 
 281 @ MSG_PROC_SEC_ASLR             "ASLR"
 282 
 283 @ MSG_PS_NONE                   "[ PS_NONE ]"
 284 @ MSG_PS_QUERY                  "[ PS_QUERY ]"
 285 @ MSG_PS_MYID                   "[ PS_MYID ]"
 286 @ MSG_PS_SOFT                   "[ PS_SOFT ]"
 287 @ MSG_PS_HARD                   "[ PS_HARD ]"
 288 @ MSG_PS_QUERY_TYPE             "[ PS_QUERY_TYPE ]"
 289 
 290 
 291 @ MSG_REG_SPARC_G0              "[ r0/g0 ]"
 292 @ MSG_REG_SPARC_G1              "[ r1/g1 ]"
 293 @ MSG_REG_SPARC_G2              "[ r2/g2 ]"
 294 @ MSG_REG_SPARC_G3              "[ r3/g3 ]"
 295 @ MSG_REG_SPARC_G4              "[ r4/g4 ]"
 296 @ MSG_REG_SPARC_G5              "[ r5/g5 ]"
 297 @ MSG_REG_SPARC_G6              "[ r6/g6 ]"
 298 @ MSG_REG_SPARC_G7              "[ r7/g7 ]"
 299 @ MSG_REG_SPARC_O0              "[ r8/o0 ]"
 300 @ MSG_REG_SPARC_O1              "[ r9/o1 ]"
 301 @ MSG_REG_SPARC_O2              "[ r10/o2 ]"
 302 @ MSG_REG_SPARC_O3              "[ r11/o3 ]"