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/uts/common/sys/policy.h
          +++ new/usr/src/uts/common/sys/policy.h
↓ open down ↓ 123 lines elided ↑ open up ↑
 124  124  int secpolicy_pcfs_modify_bootpartition(const cred_t *);
 125  125  int secpolicy_pfexec_register(const cred_t *);
 126  126  int secpolicy_ponline(const cred_t *);
 127  127  int secpolicy_pool(const cred_t *);
 128  128  int secpolicy_power_mgmt(const cred_t *);
 129  129  int secpolicy_ppp_config(const cred_t *);
 130  130  int secpolicy_proc_access(const cred_t *);
 131  131  int secpolicy_proc_excl_open(const cred_t *);
 132  132  int secpolicy_proc_owner(const cred_t *, const cred_t *, int);
 133  133  int secpolicy_proc_zone(const cred_t *);
      134 +int secpolicy_psecflags(const cred_t *, struct proc *, struct proc *);
 134  135  int secpolicy_pset(const cred_t *);
 135  136  int secpolicy_rctlsys(const cred_t *, boolean_t);
 136  137  int secpolicy_resource(const cred_t *);
 137  138  int secpolicy_resource_anon_mem(const cred_t *);
 138  139  int secpolicy_rpcmod_open(const cred_t *);
 139  140  int secpolicy_rsm_access(const cred_t *, uid_t, mode_t);
 140  141  int secpolicy_raisepriority(const cred_t *);
 141  142  int secpolicy_setpriority(const cred_t *);
 142  143  int secpolicy_settime(const cred_t *);
 143  144  int secpolicy_smb(const cred_t *);
↓ open down ↓ 97 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX