Print this page
Code review comments from jeffpc
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.
*** 163,188 ****
Pplatform Ppltdest
Ppriv Ppsinfo
Pputareg Prd_agent
Pread Pread_string
Preset_maps Psetbkpt
! Psetcred Psetfault
! Psetflags Psetpriv
! Psetrun Psetsignal
! Psetsysentry Psetsysexit
! Psetwapt Psetzoneid
! Psignal Pstate
! Pstatus Pstop
! Pstopstatus Psync
! Psysentry Psysexit
! Puname Punsetflags
! Pupdate_maps Pupdate_syms
! Pwait Pwrite
! Pxecbkpt Pxecwapt
! Pxlookup_by_addr Pxlookup_by_addr_resolved
! Pxlookup_by_name Pzonename
! Pzonepath Pzoneroot
Thread interrogation and manipulation
The following routines obtain information about a thread and allow
manipulation of the thread itself.
--- 163,189 ----
Pplatform Ppltdest
Ppriv Ppsinfo
Pputareg Prd_agent
Pread Pread_string
Preset_maps Psetbkpt
! Psecflags Psetcred
! Psetfault Psetflags
! Psetpriv Psetrun
! Psetsignal Psetsysentry
! Psetsysexit Psetwapt
! Psetzoneid Psignal
! Pstate Pstatus
! Pstop Pstopstatus
! Psync Psysentry
! Psysexit Puname
! Punsetflags Pupdate_maps
! Pupdate_syms Pwait
! Pwrite Pxecbkpt
! Pxecwapt Pxlookup_by_addr
! Pxlookup_by_addr_resolved Pxlookup_by_name
! Pzonename Pzonepath
! Pzoneroot
Thread interrogation and manipulation
The following routines obtain information about a thread and allow
manipulation of the thread itself.
*** 675,694 ****
Plwp_setfpregs(3PROC), Plwp_setregs(3PROC), Plwp_stack(3PROC),
Pname_to_ctf(3PROC), Pname_to_loadobj(3PROC), Pname_to_map(3PROC),
Pobjname(3PROC), Pobjname_resolved(3PROC), Pplatform(3PROC),
Ppltdest(3PROC), Ppriv(3PROC), Ppsinfo(3PROC), Pputareg(3PROC),
Prd_agent(3PROC), Pread(3PROC), Pread_string(3PROC), Preset_maps(3PROC),
! Psetbkpt(3PROC), Psetcred(3PROC), Psetfault(3PROC), Psetflags(3PROC),
! Psetpriv(3PROC), Psetrun(3PROC), Psetsignal(3PROC), Psetsysentry(3PROC),
! Psetsysexit(3PROC), Psetwapt(3PROC), Psetzoneid(3PROC), Psignal(3PROC),
! Pstate(3PROC), Pstatus(3PROC), Pstop(3PROC), Pstopstatus(3PROC),
! Psync(3PROC), Psysentry(3PROC), Psysexit(3PROC), Puname(3PROC),
! Punsetflags(3PROC), Pupdate_maps(3PROC), Pupdate_syms(3PROC),
! Pwait(3PROC), Pwrite(3PROC), Pxecbkpt(3PROC), Pxecwapt(3PROC),
! Pxlookup_by_addr(3PROC), Pxlookup_by_addr_resolved(3PROC),
! Pxlookup_by_name(3PROC), Pzonename(3PROC), Pzonepath(3PROC),
! Pzoneroot(3PROC)
Lalt_stack(3PROC), Lclearfault(3PROC), Lclearsig(3PROC), Lctlfd(3PROC),
Ldstop(3PROC), Lgetareg(3PROC), Lmain_stack(3PROC), Lprochandle(3PROC),
Lpsinfo(3PROC), Lputareg(3PROC), Lsetrun(3PROC), Lstack(3PROC),
Lstate(3PROC), Lstatus(3PROC), Lstop(3PROC), Lsync(3PROC), Lwait(3PROC),
--- 676,695 ----
Plwp_setfpregs(3PROC), Plwp_setregs(3PROC), Plwp_stack(3PROC),
Pname_to_ctf(3PROC), Pname_to_loadobj(3PROC), Pname_to_map(3PROC),
Pobjname(3PROC), Pobjname_resolved(3PROC), Pplatform(3PROC),
Ppltdest(3PROC), Ppriv(3PROC), Ppsinfo(3PROC), Pputareg(3PROC),
Prd_agent(3PROC), Pread(3PROC), Pread_string(3PROC), Preset_maps(3PROC),
! Psecflags(3PROC), Psetbkpt(3PROC), Psetcred(3PROC), Psetfault(3PROC),
! Psetflags(3PROC), Psetpriv(3PROC), Psetrun(3PROC), Psetsignal(3PROC),
! Psetsysentry(3PROC), Psetsysexit(3PROC), Psetwapt(3PROC),
! Psetzoneid(3PROC), Psignal(3PROC), Pstate(3PROC), Pstatus(3PROC),
! Pstop(3PROC), Pstopstatus(3PROC), Psync(3PROC), Psysentry(3PROC),
! Psysexit(3PROC), Puname(3PROC), Punsetflags(3PROC), Pupdate_maps(3PROC),
! Pupdate_syms(3PROC), Pwait(3PROC), Pwrite(3PROC), Pxecbkpt(3PROC),
! Pxecwapt(3PROC), Pxlookup_by_addr(3PROC),
! Pxlookup_by_addr_resolved(3PROC), Pxlookup_by_name(3PROC),
! Pzonename(3PROC), Pzonepath(3PROC), Pzoneroot(3PROC)
Lalt_stack(3PROC), Lclearfault(3PROC), Lclearsig(3PROC), Lctlfd(3PROC),
Ldstop(3PROC), Lgetareg(3PROC), Lmain_stack(3PROC), Lprochandle(3PROC),
Lpsinfo(3PROC), Lputareg(3PROC), Lsetrun(3PROC), Lstack(3PROC),
Lstate(3PROC), Lstatus(3PROC), Lstop(3PROC), Lsync(3PROC), Lwait(3PROC),
*** 730,735 ****
Plwp_getgwindows(3PROC), Plwp_getxregs(3PROC), Plwp_setxregs(3PROC),
Plwp_getasrs(3PROC), Plwp_setasrs(3PROC)
! illumos May 8, 2016 illumos
--- 731,736 ----
Plwp_getgwindows(3PROC), Plwp_getxregs(3PROC), Plwp_setxregs(3PROC),
Plwp_getasrs(3PROC), Plwp_setasrs(3PROC)
! illumos June 6, 2016 illumos