Print this page
15254 %ymm registers not restored after signal handler
15367 x86 getfpregs() summons corrupting %xmm ghosts
15333 want x86 /proc xregs support (libc_db, libproc, mdb, etc.)
15336 want libc functions for extended ucontext_t
15334 want ps_lwphandle-specific reg routines
15328 FPU_CW_INIT mistreats reserved bit
15335 i86pc fpu_subr.c isn't really platform-specific
15332 setcontext(2) isn't actually noreturn
15331 need <sys/stdalign.h>
Change-Id: I7060aa86042dfb989f77fc3323c065ea2eafa9ad
Conflicts:
    usr/src/uts/common/fs/proc/prcontrol.c
    usr/src/uts/intel/os/archdep.c
    usr/src/uts/intel/sys/ucontext.h
    usr/src/uts/intel/syscall/getcontext.c

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3lib/libproc.3lib.man.txt
          +++ new/usr/src/man/man3lib/libproc.3lib.man.txt
↓ open down ↓ 146 lines elided ↑ open up ↑
 147  147             Pcred                         Pctlfd
 148  148             Pdelbkpt                      Pdelwapt
 149  149             Pdstop                        Pexecname
 150  150             Pfault                        Pfgcore
 151  151             Pgcore                        Pgetareg
 152  152             Pgetauxval                    Pgetauxvec
 153  153             Pgetenv                       Pisprocdir
 154  154             Pissyscall_prev               Plmid
 155  155             Plmid_to_loadobj              Plmid_to_map
 156  156             Plookup_by_addr               Plookup_by_name
 157      -           Plwp_alt_stack                Plwp_getfpregs
 158      -           Plwp_getname                  Plwp_getpsinfo
 159      -           Plwp_getregs                  Plwp_getspymaster
 160      -           Plwp_main_stack               Plwp_setfpregs
 161      -           Plwp_setregs                  Plwp_stack
 162  157             Pname_to_ctf                  Pname_to_loadobj
 163  158             Pname_to_map                  Pobjname
 164  159             Pobjname_resolved             Pplatform
 165  160             Ppltdest                      Ppriv
 166  161             Ppsinfo                       Pputareg
 167  162             Prd_agent                     Pread
 168  163             Pread_string                  Preset_maps
 169  164             Psetbkpt                      Psecflags
 170  165             Psetcred                      Psetfault
 171  166             Psetflags                     Psetpriv
↓ open down ↓ 13 lines elided ↑ open up ↑
 185  180             Pxlookup_by_name              Pzonename
 186  181             Pzonepath                     Pzoneroot
 187  182  
 188  183     Thread interrogation and manipulation
 189  184       The following routines obtain information about a thread and allow
 190  185       manipulation of the thread itself.
 191  186  
 192  187             Lalt_stack                    Lclearfault
 193  188             Lclearsig                     Lctlfd
 194  189             Ldstop                        Lgetareg
 195      -           Lmain_stack                   Lprochandle
 196      -           Lpsinfo                       Lputareg
 197      -           Lsetrun                       Lstack
      190 +           Lgetfpregs                    Lgetregs
      191 +           Lgetxregs                     Lmain_stack
      192 +           Lprochandle                   Lpsinfo
      193 +           Lputareg                      Lsetrun
      194 +           Lsetfpregs                    Lsetregs
      195 +           Lsetxregs                     Lstack
 198  196             Lstate                        Lstatus
 199  197             Lstop                         Lsync
 200  198             Lwait                         Lxecbkpt
 201  199             Lxecwapt
 202  200  
      201 +           Plwp_alt_stack                Plwp_freexregs
      202 +           Plwp_getfpregs                Plwp_getname
      203 +           Plwp_getpsinfo                Plwp_getregs
      204 +           Plwp_getspymaster             Plwp_main_stack
      205 +           Plwp_getxregs                 Plwp_setfpregs
      206 +           Plwp_setregs                  Plwp_setxregs
      207 +           Plwp_stack
      208 +
 203  209     System Call Injection
 204  210       The following routines are used to inject specific system calls and have
 205  211       them run in the context of a process.
 206  212  
 207  213             pr_access                     pr_close
 208  214             pr_creat                      pr_door_info
 209  215             pr_exit                       pr_fcntl
 210  216             pr_fstat                      pr_fstat64
 211  217             pr_fstatvfs                   pr_getitimer
 212  218             pr_getpeername                pr_getpeerucred
↓ open down ↓ 50 lines elided ↑ open up ↑
 263  269     x86 Specific Routines
 264  270       The following routines are specific to the x86, 32-bit and 64-bit,
 265  271       versions of the libproc library.
 266  272  
 267  273             Pldt                          proc_get_ldt
 268  274  
 269  275     SPARC specific Routines
 270  276       The following functions are specific to the SPARC, 32-bit and 64-bit,
 271  277       versions of the libproc library.
 272  278  
 273      -           Plwp_getgwindows              Plwp_getxregs
 274      -           Plwp_setxregs
      279 +           Plwp_getgwindows
 275  280  
 276  281       The following functions are specific to the 64-bit SPARC version of the
 277  282       libproc library.
 278  283  
 279  284             Plwp_getasrs                  Plwp_setasrs
 280  285  
 281  286  PROCESS STATES
 282  287       Every process handle that exists in libproc has a state.  In some cases,
 283  288       such as for core files, these states are static.  In other cases, such as
 284  289       handles that correspond to a running process or a created process, these
↓ open down ↓ 490 lines elided ↑ open up ↑
 775  780       proc_str2sys(3PROC), proc_str2sysset(3PROC), proc_sysname(3PROC),
 776  781       proc_sysset2str(3PROC), proc_unctrl_psinfo(3PROC),
 777  782       proc_fdinfowalk(3PROC), proc_fdwalk(3PROC), proc_walk(3PROC)
 778  783  
 779  784       Pldt(3PROC), proc_get_ldt(3PROC),
 780  785  
 781  786       Plwp_getgwindows(3PROC), Plwp_getxregs(3PROC), Plwp_setxregs(3PROC),
 782  787  
 783  788       Plwp_getasrs(3PROC), Plwp_setasrs(3PROC)
 784  789  
 785      -illumos                         March 10, 2023                         illumos
      790 +illumos                         March 20, 2023                         illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX