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.

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/Makefile.rules
          +++ new/usr/src/uts/common/Makefile.rules
↓ open down ↓ 129 lines elided ↑ open up ↑
 130  130          $(CTFCONVERT_O)
 131  131  
 132  132  $(OBJS_DIR)/%.o:                $(COMMONBASE)/ctf/%.c
 133  133          $(COMPILE.c) -o $@ $<
 134  134          $(CTFCONVERT_O)
 135  135  
 136  136  $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/des/%.c
 137  137          $(COMPILE.c) -o $@ $<
 138  138          $(CTFCONVERT_O)
 139  139  
      140 +$(OBJS_DIR)/%.o:                $(COMMONBASE)/secflags/%.c
      141 +        $(COMPILE.c) -o $@ $<
      142 +        $(CTFCONVERT_O)
      143 +
 140  144  $(OBJS_DIR)/%.o:                $(COMMONBASE)/smbios/%.c
 141  145          $(COMPILE.c) -o $@ $<
 142  146          $(CTFCONVERT_O)
 143  147  
 144  148  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/des/%.c
 145  149          $(COMPILE.c) -o $@ $<
 146  150          $(CTFCONVERT_O)
 147  151  
 148  152  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/crypto/api/%.c
 149  153          $(COMPILE.c) -o $@ $<
↓ open down ↓ 1544 lines elided ↑ open up ↑
1694 1698  
1695 1699  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/pci/%.c
1696 1700          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1697 1701  
1698 1702  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/devid/%.c
1699 1703          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1700 1704  
1701 1705  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/des/%.c
1702 1706          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1703 1707  
     1708 +$(LINTS_DIR)/%.ln:              $(COMMONBASE)/secflags/%.c
     1709 +        @($(LHEAD) $(LINT.c) $< $(LTAIL))
     1710 +
1704 1711  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/smbios/%.c
1705 1712          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1706 1713  
1707 1714  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/avs/ncall/%.c
1708 1715          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1709 1716  
1710 1717  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/avs/ns/dsw/%.c
1711 1718          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1712 1719  
1713 1720  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/avs/ns/nsctl/%.c
↓ open down ↓ 1076 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX