aboutsummaryrefslogtreecommitdiffstats
path: root/sys/sys_amd64.const
diff options
context:
space:
mode:
authorJess Frazelle <acidburn@google.com>2017-05-31 15:32:48 -0400
committerJess Frazelle <acidburn@google.com>2017-06-02 18:30:27 -0400
commitb44d379ad7db729ee69a0a808d11aa626cce353a (patch)
treedbeca6919be35595734f04108620afb409215d20 /sys/sys_amd64.const
parent536006ee07efc1bd13df4441f0ab3c69c725bc11 (diff)
sys: add statx syscall
The statx syscall was added in Linux 4.11, check out the kernel documentation[1] for more information. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a528d35e8bfcc521d7cb70aaf03e1bd296c8493f Signed-off-by: Jess Frazelle <acidburn@google.com>
Diffstat (limited to 'sys/sys_amd64.const')
-rw-r--r--sys/sys_amd64.const22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/sys_amd64.const b/sys/sys_amd64.const
index 66dabf1e8..a2a623692 100644
--- a/sys/sys_amd64.const
+++ b/sys/sys_amd64.const
@@ -200,6 +200,7 @@ KEXEC_ARCH_SH = 2752512
KEXEC_ARCH_X86_64 = 4063232
KEXEC_ON_CRASH = 1
KEXEC_PRESERVE_CONTEXT = 2
+KSTAT_ATTR_FS_IOC_FLAGS = 2164
LOCK_EX = 2
LOCK_NB = 4
LOCK_SH = 1
@@ -522,6 +523,26 @@ SPLICE_F_GIFT = 8
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1
SPLICE_F_NONBLOCK = 2
+STATX_ALL = 4095
+STATX_ATIME = 32
+STATX_ATTR_APPEND = 32
+STATX_ATTR_AUTOMOUNT = 4096
+STATX_ATTR_COMPRESSED = 4
+STATX_ATTR_ENCRYPTED = 2048
+STATX_ATTR_IMMUTABLE = 16
+STATX_ATTR_NODUMP = 64
+STATX_BASIC_STATS = 2047
+STATX_BLOCKS = 1024
+STATX_BTIME = 2048
+STATX_CTIME = 128
+STATX_GID = 16
+STATX_INO = 256
+STATX_MODE = 2
+STATX_MTIME = 64
+STATX_NLINK = 4
+STATX_SIZE = 512
+STATX_TYPE = 1
+STATX_UID = 8
STICKY_TIMEOUTS = 67108864
SYNC_FILE_RANGE_WAIT_AFTER = 4
SYNC_FILE_RANGE_WAIT_BEFORE = 1
@@ -793,6 +814,7 @@ __NR_signalfd4 = 289
__NR_splice = 275
__NR_stat = 4
__NR_statfs = 137
+__NR_statx = 332
__NR_symlink = 88
__NR_symlinkat = 266
__NR_sync = 162