aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/sys.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-10 14:13:25 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-10 16:37:02 +0100
commit083e78159dfe39202cfd867a558a1ec6487ec476 (patch)
tree55eb94a36db86878b0e2f5eaff5c08a0288a73c4 /sys/linux/sys.txt
parentba64d006de17a5bfa0c99e4b96711ba42f82e199 (diff)
sys: consistently mark all paddings as const[0]
Diffstat (limited to 'sys/linux/sys.txt')
-rw-r--r--sys/linux/sys.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/linux/sys.txt b/sys/linux/sys.txt
index b34945e51..95a61f767 100644
--- a/sys/linux/sys.txt
+++ b/sys/linux/sys.txt
@@ -523,8 +523,8 @@ stat {
mnsec int32
ctime int32
cnsec int32
- pad1 int32
- pad2 int32
+ pad1 const[0, int32]
+ pad2 const[0, int32]
}
statx {
@@ -743,9 +743,9 @@ siginfo {
signo signalno
errno int32
code int32
- pad3 int32
-# actual size is 128 bytes
-}
+} [size[SIGINFO_SIZE]]
+
+define SIGINFO_SIZE sizeof(struct siginfo)
timex {
stuff0 intptr