![]() |
|
|||
0001 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 0002 /* 0003 * Copyright (C) 2002 Andreas Gruenbacher <a.gruenbacher@computer.org> 0004 * Copyright (C) 2016 Red Hat, Inc. 0005 * 0006 * This file is free software; you can redistribute it and/or 0007 * modify it under the terms of the GNU Lesser General Public 0008 * License as published by the Free Software Foundation; either 0009 * version 2.1 of the License, or (at your option) any later version. 0010 * 0011 * This file is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0014 * Lesser General Public License for more details. 0015 * 0016 */ 0017 0018 #ifndef __UAPI_POSIX_ACL_H 0019 #define __UAPI_POSIX_ACL_H 0020 0021 #define ACL_UNDEFINED_ID (-1) 0022 0023 /* a_type field in acl_user_posix_entry_t */ 0024 #define ACL_TYPE_ACCESS (0x8000) 0025 #define ACL_TYPE_DEFAULT (0x4000) 0026 0027 /* e_tag entry in struct posix_acl_entry */ 0028 #define ACL_USER_OBJ (0x01) 0029 #define ACL_USER (0x02) 0030 #define ACL_GROUP_OBJ (0x04) 0031 #define ACL_GROUP (0x08) 0032 #define ACL_MASK (0x10) 0033 #define ACL_OTHER (0x20) 0034 0035 /* permissions in the e_perm field */ 0036 #define ACL_READ (0x04) 0037 #define ACL_WRITE (0x02) 0038 #define ACL_EXECUTE (0x01) 0039 0040 #endif /* __UAPI_POSIX_ACL_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |