On 04/22/08 10:19, verma wrote: > Hi?All, > I am studying man pages of libsec.so.1 libraries API. > I read man page for aclcheck()from following link: > http://docs.sun.com/app/docs/doc/816-5172/acl-check-3sec?a=view
The manpage for acl_check() you mean, not aclcheck() (No, I don't know why we have two functions that are named almost the same... :( > This says its returns following errors: > EACL_TYPE_ERROR > The ACL contains an unknown value in the type field. > > and many more errors. > > But I am unable to find out this error in source code (acl.h etc) > Could any one help me why this is mismatching. If this is defined in man > pages so this error should be present in source code too. Any help This is a documentation bug; It should be EACL_ENTRY_ERROR as can be seen from the source of acl_check() at line 389: http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libsec/common/aclcheck.c#389 I've filed 6691884 acl_check(3sec) mentions EACL_TYPE_ERROR instead of EACL_ENTRY_ERROR Joep