Print this page
9728 3secdb man pages need some tlc


  74        proflist. The given profname will be included in the list of sub-
  75        profiles. The profcnt argument indicates the number of items currently
  76        valid in proflist. Memory allocated by getproflist() should be freed
  77        using the free_proflist() function.
  78 
  79 
  80        The free_proflist() function frees memory allocated by the
  81        getproflist() function.  The profcnt argument specifies the number of
  82        items to free from the proflist argument.
  83 
  84 RETURN VALUES
  85        The getprofattr() function returns a pointer to a profattr_t if it
  86        successfully enumerates an entry; otherwise it returns NULL, indicating
  87        the end of the enumeration.
  88 
  89 
  90        The getprofnam() function returns a pointer to a profattr_t if it
  91        successfully locates the requested entry; otherwise it returns NULL.
  92 
  93 USAGE
  94        Individual attributes in the prof_attr_t structure can be referred to
  95        by calling the kva_match(3SECDB) function.
  96 
  97 
  98        Because the list of legal keys is likely to expand, any code  must be
  99        written to ignore unknown key-value pairs without error.
 100 
 101 
 102        The getprofattr() and getprofnam() functions both allocate memory for
 103        the pointers they return. This memory should be deallocated with the
 104        free_profattr() function.
 105 
 106 FILES
 107        /etc/security/prof_attr
 108                                   profiles and their descriptions
 109 
 110 
 111 ATTRIBUTES
 112        See attributes(5) for descriptions of the following attributes:
 113 
 114 
 115 
 116 
 117        +---------------+-----------------+
 118        |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
 119        +---------------+-----------------+
 120        |MT-Level       | MT-Safe         |
 121        +---------------+-----------------+
 122 
 123 SEE ALSO
 124        auths(1), profiles(1), getexecattr(3SECDB), getauthattr(3SECDB),
 125        prof_attr(4)
 126 
 127 
 128 
 129                                 March 31, 2005             GETPROFATTR(3SECDB)


  74        proflist. The given profname will be included in the list of sub-
  75        profiles. The profcnt argument indicates the number of items currently
  76        valid in proflist. Memory allocated by getproflist() should be freed
  77        using the free_proflist() function.
  78 
  79 
  80        The free_proflist() function frees memory allocated by the
  81        getproflist() function.  The profcnt argument specifies the number of
  82        items to free from the proflist argument.
  83 
  84 RETURN VALUES
  85        The getprofattr() function returns a pointer to a profattr_t if it
  86        successfully enumerates an entry; otherwise it returns NULL, indicating
  87        the end of the enumeration.
  88 
  89 
  90        The getprofnam() function returns a pointer to a profattr_t if it
  91        successfully locates the requested entry; otherwise it returns NULL.
  92 
  93 USAGE
  94        Individual attributes in the profattr_t structure can be referred to by
  95        calling the kva_match(3SECDB) function.
  96 
  97 
  98        Because the list of legal keys is likely to expand, any code must be
  99        written to ignore unknown key-value pairs without error.
 100 
 101 
 102        The getprofattr() and getprofnam() functions both allocate memory for
 103        the pointers they return. This memory should be deallocated with the
 104        free_profattr() function.
 105 
 106 FILES
 107        /etc/security/prof_attr
 108                                   profiles and their descriptions
 109 
 110 
 111 ATTRIBUTES
 112        See attributes(5) for descriptions of the following attributes:
 113 
 114 
 115 
 116 
 117        +---------------+-----------------+
 118        |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
 119        +---------------+-----------------+
 120        |MT-Level       | MT-Safe         |
 121        +---------------+-----------------+
 122 
 123 SEE ALSO
 124        auths(1), profiles(1), getexecattr(3SECDB), getauthattr(3SECDB),
 125        kva_match(3SECDB), prof_attr(4), attributes(5)
 126 
 127 
 128 
 129                                 August 13, 2018            GETPROFATTR(3SECDB)