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


  37         pflags  \
  38         pldd    \
  39         pmap    \
  40         prun    \
  41         psig    \
  42         pstack  \
  43         pstop   \
  44         ptime   \
  45         ptree   \
  46         pwait   \
  47         pwdx
  48 
  49 #
  50 # 'new' ptools are not symlinked into /usr/proc/bin
  51 #
  52 NEW_SUBDIRS =   \
  53         pargs   \
  54         plgrp   \
  55         pmadvise \
  56         ppriv   \
  57         preap

  58 
  59 SUBDIRS = $(LEGACY_SUBDIRS) $(NEW_SUBDIRS)
  60 
  61 all     :=      TARGET = all
  62 install :=      TARGET = install
  63 clean   :=      TARGET = clean
  64 clobber :=      TARGET = clobber
  65 lint    :=      TARGET = lint
  66 _msg    :=      TARGET = _msg
  67 
  68 
  69 # pmadvise depends on pmap components
  70 PMAP =                  $(SRC)/cmd/ptools/pmap
  71 pmadvise/pmadvise.po := CPPFLAGS +=     -I$(PMAP)
  72 
  73 #
  74 # Commands with messages support
  75 #
  76 POFILES = plgrp/plgrp.po pmadvise/pmadvise.po
  77 POFILE = ptools.po
  78 
  79 .KEEP_STATE:
  80 
  81 .PARALLEL: $(SUBDIRS)
  82 
  83 all install clean lint: $(SUBDIRS)
  84 clobber: $(SUBDIRS) clobber_local
  85 clobber_local:
  86         $(RM) $(CLOBBERFILES)
  87 
  88 $(NEW_SUBDIRS): FRC
  89         @cd $@; pwd; $(MAKE) PTOOL_TYPE=NEW -f ../Makefile.ptool $(TARGET)
  90 
  91 $(LEGACY_SUBDIRS): FRC
  92         @cd $@; pwd; $(MAKE) PTOOL_TYPE=LEGACY -f ../Makefile.ptool $(TARGET)
  93 
  94 #
  95 # Combine all messages files into a single file and copy it to
  96 # MSGDOMAIN directory


  37         pflags  \
  38         pldd    \
  39         pmap    \
  40         prun    \
  41         psig    \
  42         pstack  \
  43         pstop   \
  44         ptime   \
  45         ptree   \
  46         pwait   \
  47         pwdx
  48 
  49 #
  50 # 'new' ptools are not symlinked into /usr/proc/bin
  51 #
  52 NEW_SUBDIRS =   \
  53         pargs   \
  54         plgrp   \
  55         pmadvise \
  56         ppriv   \
  57         preap   \
  58         psecflags
  59 
  60 SUBDIRS = $(LEGACY_SUBDIRS) $(NEW_SUBDIRS)
  61 
  62 all     :=      TARGET = all
  63 install :=      TARGET = install
  64 clean   :=      TARGET = clean
  65 clobber :=      TARGET = clobber
  66 lint    :=      TARGET = lint
  67 _msg    :=      TARGET = _msg
  68 
  69 
  70 # pmadvise depends on pmap components
  71 PMAP =                  $(SRC)/cmd/ptools/pmap
  72 pmadvise/pmadvise.po := CPPFLAGS +=     -I$(PMAP)
  73 
  74 #
  75 # Commands with messages support
  76 #
  77 POFILES = plgrp/plgrp.po pmadvise/pmadvise.po psecflags/psecflags.po
  78 POFILE = ptools.po
  79 
  80 .KEEP_STATE:
  81 
  82 .PARALLEL: $(SUBDIRS)
  83 
  84 all install clean lint: $(SUBDIRS)
  85 clobber: $(SUBDIRS) clobber_local
  86 clobber_local:
  87         $(RM) $(CLOBBERFILES)
  88 
  89 $(NEW_SUBDIRS): FRC
  90         @cd $@; pwd; $(MAKE) PTOOL_TYPE=NEW -f ../Makefile.ptool $(TARGET)
  91 
  92 $(LEGACY_SUBDIRS): FRC
  93         @cd $@; pwd; $(MAKE) PTOOL_TYPE=LEGACY -f ../Makefile.ptool $(TARGET)
  94 
  95 #
  96 # Combine all messages files into a single file and copy it to
  97 # MSGDOMAIN directory