acl.spec revision fa9e4066f08beec538e775443c5be79dd423fcab
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#pragma ident "%Z%%M% %I% %E% SMI"
#
function aclcheck
$return == USER_ERROR || \
$return == CLASS_ERROR || \
$return == OTHER_ERROR || \
$return == DUPLICATE_ERROR || \
$return == ENTRY_ERROR || \
$return == MISS_ERROR || \
end
function acl_check
exception ($return == EACL_GRP_ERROR || \
$return == EACL_USER_ERROR || \
$return == EACL_OTHER_ERROR || \
$return == EACL_CLASS_ERROR || \
$return == EACL_DUPLICATE_ERROR || \
$return == EACL_MISS_ERROR || \
$return == EACL_MEM_ERROR || \
$return == EACL_ENTRY_ERROR) || \
$return == EACL_INHERIT_ERROR || \
$return == EACL_FLAGS_ERROR || \
$return == EACL_PERM_MASK_ERROR || \
end
function aclsort
end
function acltomode
end
function aclfrommode
end
function acltotext
end
function aclfromtext
end
function acl_get
end
function facl_get
end
function acl_set
end
function facl_set
end
function acl_strip
end
function acl_trivial
declaration int acl_trivial(char *file)
end
function acl_totext
declaration char *acl_totext(acl_t *acl);
end
function acl_fromtext
declaration int acl_fromtext(char *textp, acl_t **);
end
function acl_free
end
function acl_addentries
end
function acl_removeentries
declaration int acl_removeentries(acl_t *acl1, aclt_t *acl2, int, int);
end
function acl_printacl
declaration void acl_printacl(acl_t *aclp, int cols);
end
function acl_strerror
declaration char *acl_strerror(int errnum);
end
function acl_modifyentries
declaration int acl_modifyentries(acl_t *acl1, acl_t *newentries,
int where);
end
function acl_alloc
end
function acl_dup
end
function acl_cnt
end
function acl_type
end
function acl_flags
end
function acl_data
end