aboutsummaryrefslogtreecommitdiffstats
path: root/sys/openbsd/sys_amd64.const
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@basename.se>2019-03-18 08:15:27 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-03-18 08:52:35 +0100
commit4656becafbd6c9a181ee8516f6b2a26103668273 (patch)
tree5b2281ac027affdae33a4c50ff9ae85229ac8ce7 /sys/openbsd/sys_amd64.const
parent0d081107beadbdcb65578a5f52d1bac0103cc963 (diff)
sys/openbsd: add chflags descriptions
Diffstat (limited to 'sys/openbsd/sys_amd64.const')
-rw-r--r--sys/openbsd/sys_amd64.const9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/openbsd/sys_amd64.const b/sys/openbsd/sys_amd64.const
index 96f56304d..4f1dabf7a 100644
--- a/sys/openbsd/sys_amd64.const
+++ b/sys/openbsd/sys_amd64.const
@@ -56,7 +56,12 @@ RLIMIT_RSS = 5
RLIMIT_STACK = 3
RUSAGE_CHILDREN = 18446744073709551615
RUSAGE_SELF = 0
+SF_APPEND = 262144
+SF_ARCHIVED = 65536
+SF_IMMUTABLE = 131072
SYS_chdir = 12
+SYS_chflags = 34
+SYS_chflagsat = 107
SYS_chmod = 15
SYS_chown = 16
SYS_chroot = 61
@@ -66,6 +71,7 @@ SYS_clock_settime = 88
SYS_execve = 59
SYS_faccessat = 313
SYS_fchdir = 13
+SYS_fchflags = 35
SYS_fchmod = 124
SYS_fchmodat = 314
SYS_fchown = 123
@@ -142,6 +148,9 @@ S_IWUSR = 128
S_IXGRP = 8
S_IXOTH = 1
S_IXUSR = 64
+UF_APPEND = 4
+UF_IMMUTABLE = 2
+UF_NODUMP = 1
WCONTINUED = 8
WNOHANG = 1
WUNTRACED = 2