Print this page
12288 getfacl and setfacl could stand improvement

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3sec/aclcheck.3sec.man.txt
          +++ new/usr/src/man/man3sec/aclcheck.3sec.man.txt
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50                        each DEF_GROUP ACL entry must be unique.
  51   51  
  52   52                 o      If there are any DEF_USER entries, then the user ID in
  53   53                        each DEF_USER ACL entry must be unique.
  54   54  
  55   55                 o      If there are any DEF_GROUP or DEF_USER entries, then
  56   56                        there must be exactly one DEF_CLASS_OBJ (default ACL
  57   57                        mask) entry.
  58   58  
  59   59             o      If any of the above rules are violated, then the function
  60      -                  fails with errno set to  EINVAL.
       60 +                  fails with errno set to EINVAL.
  61   61  
  62   62  RETURN VALUES
  63      -       If the ACL is valid, alcheck() will return 0. Otherwise errno is set to
  64      -       EINVAL and return code is set to one of the following:
       63 +       If the ACL is valid, aclcheck() will return 0. Otherwise errno is set
       64 +       to EINVAL and aclcheck() will return one of the following:
  65   65  
  66   66         GRP_ERROR
  67   67                            There is more than one GROUP_OBJ or DEF_GROUP_OBJ
  68   68                            ACL entry.
  69   69  
  70   70  
  71   71         USER_ERROR
  72   72                            There is more than one USER_OBJ or DEF_USER_OBJ ACL
  73   73                            entry.
  74   74  
↓ open down ↓ 50 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX