Fix acl_get, acl_set error code setting in libacl.
Error cases were getting quashed with
errno value of 1.
--Tim
Modid: 2.4.x-xfs:slinx:83634a
Date: Tue Jan 30 23:08:16 PST 2001
Workarea: snort:/diskb/build4/tes/slinx-xfs-acl
Author: tes
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
cmd/acl/libacl/acl.c - 1.3
- Don't incorrectly override the errno with the wrong
error number - the _syscall macro sets errno.
cmd/xfstests/051 - 1.2
- If the syscall for acl_get/acl_set returns ENOSYS and
hence the ACLs have been config'ed off,
then don't run the test.
cmd/xfstests/common.rc - 1.3
- Minor addition to output notrun msg in case one
wants to run test from command line instead of
check.
|