svr4_acl.h revision 267654
128219Smsmith/*-
255939Snsouch * Copyright (c) 1998 Mark Newton
328219Smsmith * Copyright (c) 1996 Christos Zoulas.
428219Smsmith * All rights reserved.
528219Smsmith *
628219Smsmith * Redistribution and use in source and binary forms, with or without
728219Smsmith * modification, are permitted provided that the following conditions
828219Smsmith * are met:
928219Smsmith * 1. Redistributions of source code must retain the above copyright
1028219Smsmith *    notice, this list of conditions and the following disclaimer.
1128219Smsmith * 2. Redistributions in binary form must reproduce the above copyright
1228219Smsmith *    notice, this list of conditions and the following disclaimer in the
1328219Smsmith *    documentation and/or other materials provided with the distribution.
1428219Smsmith * 3. All advertising materials mentioning features or use of this software
1528219Smsmith *    must display the following acknowledgement:
1628219Smsmith *	This product includes software developed by Christos Zoulas.
1728219Smsmith * 4. The name of the author may not be used to endorse or promote products
1828219Smsmith *    derived from this software without specific prior written permission.
1928219Smsmith *
2028219Smsmith * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2128219Smsmith * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2228219Smsmith * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2328219Smsmith * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2428219Smsmith * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2528219Smsmith * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2650477Speter * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2728219Smsmith * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2828219Smsmith * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2928257Smsmith * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3028257Smsmith *
3128257Smsmith * $FreeBSD: releng/9.3/sys/compat/svr4/svr4_acl.h 139743 2005-01-05 22:34:37Z imp $
3228257Smsmith */
3355939Snsouch#ifndef	_SVR4_ACL_H_
3455939Snsouch#define	_SVR4_ACL_H_
3528219Smsmith
3628219Smsmithtypedef struct svr4_aclent {
3755939Snsouch	int		a_type;
3855939Snsouch	svr4_uid_t	a_id;
3928219Smsmith	svr4_o_mode_t	a_perm;
4028219Smsmith} svr4_aclent_t;
4142475Snsouch
4232178Smsmith#define	SVR4_SYS_GETACL		1
4328219Smsmith#define	SVR4_SYS_SETACL		2
4442475Snsouch#define	SVR4_SYS_GETACLCNT	3
4555939Snsouch
4655939Snsouch#endif /* !_SVR4_ACL_H_ */
4755939Snsouch