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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/truss/print.h
          +++ new/usr/src/cmd/truss/print.h
↓ open down ↓ 133 lines elided ↑ open up ↑
 134  134  #define RCF     92              /* print rctlsys_ctl flags */
 135  135  #define FXF     93              /* print forkx flags */
 136  136  #define SPF     94              /* print rctlsys_projset flags */
 137  137  #define UN1     95              /* unsigned except for -1 */
 138  138  #define MOB     96              /* print mmapobj() flags */
 139  139  #define SNF     97              /* print AT_SYMLINK_[NO]FOLLOW flag */
 140  140  #define SKC     98              /* print sockconfig subcode */
 141  141  #define ACF     99              /* accept4 flags */
 142  142  #define PFD     100             /* pipe fds[2] */
 143  143  #define GRF     101             /* getrandom flags */
 144      -#define HID     102             /* hidden argument, don't print */
      144 +#define PSFCMD  102             /* psecflags(2) command */
      145 +#define PSFLG   103             /* psecflags(2) flags */
      146 +#define HID     104             /* hidden argument, don't print */
 145  147                                  /* make sure HID is always the last member */
 146  148  
 147  149  /*
 148  150   * Print routines, indexed by print codes.
 149  151   */
 150  152  extern void (* const Print[])();
 151  153  
 152  154  #ifdef  __cplusplus
 153  155  }
 154  156  #endif
 155  157  
 156  158  #endif  /* _TRUSS_PRINT_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX