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 ↓ 128 lines elided ↑ open up ↑
 129  129          $(CTFCONVERT_O)
 130  130  
 131  131  $(OBJS_DIR)/%.o:                $(COMMONBASE)/ctf/%.c
 132  132          $(COMPILE.c) -o $@ $<
 133  133          $(CTFCONVERT_O)
 134  134  
 135  135  $(OBJS_DIR)/%.o:                $(COMMONBASE)/crypto/des/%.c
 136  136          $(COMPILE.c) -o $@ $<
 137  137          $(CTFCONVERT_O)
 138  138  
      139 +$(OBJS_DIR)/%.o:                $(COMMONBASE)/secflags/%.c
      140 +        $(COMPILE.c) -o $@ $<
      141 +        $(CTFCONVERT_O)
      142 +
 139  143  $(OBJS_DIR)/%.o:                $(COMMONBASE)/smbios/%.c
 140  144          $(COMPILE.c) -o $@ $<
 141  145          $(CTFCONVERT_O)
 142  146  
 143  147  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/des/%.c
 144  148          $(COMPILE.c) -o $@ $<
 145  149          $(CTFCONVERT_O)
 146  150  
 147  151  $(OBJS_DIR)/%.o:                $(UTSBASE)/common/crypto/api/%.c
 148  152          $(COMPILE.c) -o $@ $<
↓ open down ↓ 1536 lines elided ↑ open up ↑
1685 1689  
1686 1690  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/pci/%.c
1687 1691          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1688 1692  
1689 1693  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/devid/%.c
1690 1694          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1691 1695  
1692 1696  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/des/%.c
1693 1697          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1694 1698  
     1699 +$(LINTS_DIR)/%.ln:              $(COMMONBASE)/secflags/%.c
     1700 +        @($(LHEAD) $(LINT.c) $< $(LTAIL))
     1701 +
1695 1702  $(LINTS_DIR)/%.ln:              $(COMMONBASE)/smbios/%.c
1696 1703          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1697 1704  
1698 1705  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/avs/ncall/%.c
1699 1706          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1700 1707  
1701 1708  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/avs/ns/dsw/%.c
1702 1709          @($(LHEAD) $(LINT.c) $< $(LTAIL))
1703 1710  
1704 1711  $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/avs/ns/nsctl/%.c
↓ open down ↓ 1073 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX