1 PSETSYSENTRY(3PROC)    Process Control Library Functions   PSETSYSENTRY(3PROC)
   2 
   3 NAME
   4      Psetsysentry, Psetsysexit - set system call tracing flags
   5 
   6 LIBRARY
   7      Process Control Library (libproc, -lproc)
   8 
   9 SYNOPSIS
  10      #include <libproc.h>
  11 
  12      void
  13      Psetsysentry(struct ps_prochandle *P, const sysset_t *set);
  14 
  15      void
  16      Psetsysexit(struct ps_prochandle *P, const sysset_t *set);
  17 
  18 DESCRIPTION
  19      The Psetsysentry() and Psetsysexit() set the system call entry and exit
  20      tracing flags respectively in the process handle P to set.  The call to
  21      Psetsysentry() or Psetsysexit() replaces the corresponding set of system
  22      call tracing flags entirely with the new set.  The system call entry
  23      tracing flags cause a thread to stop on entry to the system call and the
  24      exit tracing flags cause a thread to stop on return from the system call,
  25      before control returns back to the user land process.  For more
  26      information on the state of the thread and for information on
  27      manipulating the sysset_t, see proc(4).
  28 
  29      Note that only active processes may have their system call tracing flags
  30      updated.  Process handles that refer to core files, zombie processes, and
  31      files do not have fault tracing flags and this function is a no-op on
  32      them.
  33 
  34 INTERFACE STABILITY
  35      Uncommitted
  36 
  37 MT-LEVEL
  38      See LOCKING in libproc(3LIB).
  39 
  40 SEE ALSO
  41      Intro(2), libproc(3LIB), proc(4)
  42 
  43 illumos                          May 11, 2016                          illumos