linux/include/uapi/linux/posix_acl.h

/* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
/*
 * Copyright (C) 2002 Andreas Gruenbacher <[email protected]>
 * Copyright (C) 2016 Red Hat, Inc.
 *
 * This file is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This file is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 */

#ifndef __UAPI_POSIX_ACL_H
#define __UAPI_POSIX_ACL_H

#define ACL_UNDEFINED_ID

/* a_type field in acl_user_posix_entry_t */
#define ACL_TYPE_ACCESS
#define ACL_TYPE_DEFAULT

/* e_tag entry in struct posix_acl_entry */
#define ACL_USER_OBJ
#define ACL_USER
#define ACL_GROUP_OBJ
#define ACL_GROUP
#define ACL_MASK
#define ACL_OTHER

/* permissions in the e_perm field */
#define ACL_READ
#define ACL_WRITE
#define ACL_EXECUTE

#endif  /* __UAPI_POSIX_ACL_H */