Print this page
9728 3secdb man pages need some tlc

@@ -48,13 +48,13 @@
 
        The internal representation of an exec_attr entry is an execattr_t
        structure defined in  <exec_attr.h> with the following members:
 
          char              *name;   /* name of the profile */
-         char              *type;   /* type of profile */
          char              *policy; /* policy under which the attributes are */
                                     /* relevant*/
+         char              *type;   /* type of profile */
          char              *res1;   /* reserved for future use */
          char              *res2;   /* reserved for future use */
          char              *id;     /* unique identifier */
          kva_t             *attr;   /* attributes */
          struct execattr_s *next;   /* optional pointer to next profile */

@@ -151,36 +151,30 @@
 
 
        Example 3 Tell everything that can be done in the Filesystem Security
        profile.
 
-         if ((execprof=getexecprof("Filesystem Security", KV_NULL, NULL,
+         if ((execprof=getexecprof("Filesystem Security", NULL, NULL,
              GET_ALL))==NULL)) {
                  /* do error */
          }
 
 
        Example 4 Tell if the tar utility is in a profile assigned to user
        wetmore. If there is no exact profile entry, the wildcard (*), if
        defined, is returned.
 
-
-       The following tells if the tar utility is in a profile assigned to user
-       wetmore. If there is no exact profile entry, the wildcard (*), if
-       defined, is returned.
-
-
          if ((execprof=getexecuser("wetmore", KV_COMMAND, "/usr/bin/tar",
              GET_ONE))==NULL) {
                  /* do error */
          }
 
 
 FILES
        /etc/nsswitch.conf
                                     configuration file lookup information for
-                                    the name server switch
+                                    the name service switch
 
 
        /etc/user_attr
                                     extended user attributes
 

@@ -191,10 +185,14 @@
 
        /etc/security/policy.conf
                                     policy definitions
 
 
+       /etc/security/prof_attr
+                                    profile information
+
+
 ATTRIBUTES
        See attributes(5) for descriptions of the following attributes:
 
 
 

@@ -204,12 +202,12 @@
        +---------------+-----------------+
        |MT-Level       | MT-Safe         |
        +---------------+-----------------+
 
 SEE ALSO
-       getauthattr(3SECDB), getuserattr(3SECDB), kva_match(3SECDB),
-       exec_attr(4), passwd(4), policy.conf(4), prof_attr(4), user_attr(4),
-       attributes(5)
+       getauthattr(3SECDB), getprofattr(3SECDB), getuserattr(3SECDB),
+       kva_match(3SECDB), exec_attr(4), passwd(4), policy.conf(4),
+       prof_attr(4), user_attr(4), attributes(5)
 
 
 
-                                 May 27, 2014              GETEXECATTR(3SECDB)
+                                August 13, 2018            GETEXECATTR(3SECDB)