mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
* Add missing Linux headers. Closes #9837 * Update existing headers to latest Linux. * Consolidate headers that are the same for multiple Zig target CPU architectures. For example, Linux has only an x86 directory for both x86_64 and x86 CPU architectures. Now Zig only ships an x86 directory for Linux headers, and will emit the proper corresponding -isystem flags. * tools/update-linux-headers.zig is now available for upgrading to newer Linux headers, and the update process is now documented on the wiki.
33 lines
No EOL
717 B
C
Vendored
33 lines
No EOL
717 B
C
Vendored
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* File: linux/nfsacl.h
|
|
*
|
|
* (C) 2003 Andreas Gruenbacher <agruen@suse.de>
|
|
*/
|
|
#ifndef __LINUX_NFSACL_H
|
|
#define __LINUX_NFSACL_H
|
|
|
|
#define NFS_ACL_PROGRAM 100227
|
|
|
|
#define ACLPROC2_NULL 0
|
|
#define ACLPROC2_GETACL 1
|
|
#define ACLPROC2_SETACL 2
|
|
#define ACLPROC2_GETATTR 3
|
|
#define ACLPROC2_ACCESS 4
|
|
|
|
#define ACLPROC3_NULL 0
|
|
#define ACLPROC3_GETACL 1
|
|
#define ACLPROC3_SETACL 2
|
|
|
|
|
|
/* Flags for the getacl/setacl mode */
|
|
#define NFS_ACL 0x0001
|
|
#define NFS_ACLCNT 0x0002
|
|
#define NFS_DFACL 0x0004
|
|
#define NFS_DFACLCNT 0x0008
|
|
#define NFS_ACL_MASK 0x000f
|
|
|
|
/* Flag for Default ACL entries */
|
|
#define NFS_ACL_DEFAULT 0x1000
|
|
|
|
#endif /* __LINUX_NFSACL_H */ |