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


 142 #define DT_SUNW_SYMSZ           0x60000012      /* Size of SUNW_SYMTAB table */
 143 
 144 /*
 145  * DT_* encoding rules apply between DT_SUNW_ENCODING and DT_HIOS
 146  */
 147 #define DT_SUNW_ENCODING        0x60000013      /* DT_* encoding rules resume */
 148                                                 /*      after this */
 149 #define DT_SUNW_SORTENT         0x60000013      /* sizeof [SYM|TLS]SORT entry */
 150 #define DT_SUNW_SYMSORT         0x60000014      /* sym indices sorted by addr */
 151 #define DT_SUNW_SYMSORTSZ       0x60000015      /* size of SUNW_SYMSORT */
 152 #define DT_SUNW_TLSSORT         0x60000016      /* tls sym ndx sort by offset */
 153 #define DT_SUNW_TLSSORTSZ       0x60000017      /* size of SUNW_TLSSORT */
 154 #define DT_SUNW_CAPINFO         0x60000018      /* capabilities symbols */
 155 #define DT_SUNW_STRPAD          0x60000019      /* # of unused bytes at the */
 156                                                 /*      end of dynstr */
 157 #define DT_SUNW_CAPCHAIN        0x6000001a      /* capabilities chain info */
 158 #define DT_SUNW_LDMACH          0x6000001b      /* EM_ machine code of linker */
 159                                                 /*      that produced object */
 160 #define DT_SUNW_CAPCHAINENT     0x6000001d      /* capabilities chain entry */
 161 #define DT_SUNW_CAPCHAINSZ      0x6000001f      /* capabilities chain size */


 162 
 163 /*
 164  * DT_* encoding rules do not apply between DT_HIOS and DT_LOPROC
 165  */
 166 #define DT_HIOS                 0x6ffff000
 167 
 168 /*
 169  * The following values have been deprecated and remain here to allow
 170  * compatibility with older binaries.
 171  */
 172 #define DT_DEPRECATED_SPARC_REGISTER    0x7000001
 173 
 174 /*
 175  * DT_* entries which fall between DT_VALRNGHI & DT_VALRNGLO use the
 176  * Dyn.d_un.d_val field of the Elf*_Dyn structure.
 177  */
 178 #define DT_VALRNGLO     0x6ffffd00
 179 
 180 #define DT_GNU_PRELINKED 0x6ffffdf5     /* prelinking timestamp (unused) */
 181 #define DT_GNU_CONFLICTSZ 0x6ffffdf6    /* size of conflict section (unused) */




 142 #define DT_SUNW_SYMSZ           0x60000012      /* Size of SUNW_SYMTAB table */
 143 
 144 /*
 145  * DT_* encoding rules apply between DT_SUNW_ENCODING and DT_HIOS
 146  */
 147 #define DT_SUNW_ENCODING        0x60000013      /* DT_* encoding rules resume */
 148                                                 /*      after this */
 149 #define DT_SUNW_SORTENT         0x60000013      /* sizeof [SYM|TLS]SORT entry */
 150 #define DT_SUNW_SYMSORT         0x60000014      /* sym indices sorted by addr */
 151 #define DT_SUNW_SYMSORTSZ       0x60000015      /* size of SUNW_SYMSORT */
 152 #define DT_SUNW_TLSSORT         0x60000016      /* tls sym ndx sort by offset */
 153 #define DT_SUNW_TLSSORTSZ       0x60000017      /* size of SUNW_TLSSORT */
 154 #define DT_SUNW_CAPINFO         0x60000018      /* capabilities symbols */
 155 #define DT_SUNW_STRPAD          0x60000019      /* # of unused bytes at the */
 156                                                 /*      end of dynstr */
 157 #define DT_SUNW_CAPCHAIN        0x6000001a      /* capabilities chain info */
 158 #define DT_SUNW_LDMACH          0x6000001b      /* EM_ machine code of linker */
 159                                                 /*      that produced object */
 160 #define DT_SUNW_CAPCHAINENT     0x6000001d      /* capabilities chain entry */
 161 #define DT_SUNW_CAPCHAINSZ      0x6000001f      /* capabilities chain size */
 162 /* 0x60000021 would be DT_SUNW_PARENT */
 163 #define DT_SUNW_ASLR            0x60000023      /* executable ASLR desire */
 164 
 165 /*
 166  * DT_* encoding rules do not apply between DT_HIOS and DT_LOPROC
 167  */
 168 #define DT_HIOS                 0x6ffff000
 169 
 170 /*
 171  * The following values have been deprecated and remain here to allow
 172  * compatibility with older binaries.
 173  */
 174 #define DT_DEPRECATED_SPARC_REGISTER    0x7000001
 175 
 176 /*
 177  * DT_* entries which fall between DT_VALRNGHI & DT_VALRNGLO use the
 178  * Dyn.d_un.d_val field of the Elf*_Dyn structure.
 179  */
 180 #define DT_VALRNGLO     0x6ffffd00
 181 
 182 #define DT_GNU_PRELINKED 0x6ffffdf5     /* prelinking timestamp (unused) */
 183 #define DT_GNU_CONFLICTSZ 0x6ffffdf6    /* size of conflict section (unused) */