diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-11-22 09:40:46 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-22 09:40:46 +0100 |
| commit | 0199dc9d8c15c7abbffdb9644cbebd2acb6f8a67 (patch) | |
| tree | 555b3359270df62412b829ec9c438ed682c63859 /sys | |
| parent | e89749efe84eaa3fbb237d6c520b27f74f5a15ff (diff) | |
sys/linux: add a NEED comment
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/linux/smack.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/linux/smack.txt b/sys/linux/smack.txt index 78f05c14f..8ae5474e1 100644 --- a/sys/linux/smack.txt +++ b/sys/linux/smack.txt @@ -82,7 +82,9 @@ smackfs_cipso_category { smackfs_cipso { label smack_labelnoz sp0 const[' ', int8] -# int8 because of SMK_DIGITLEN == 4 +# NEED: format specifiers with the given len ("%04d"). +# Kernel expects level to take exactly 4 (SMK_DIGITLEN) chars. +# This affects lots of other fmt's in this file too. level fmt[dec, int8[0:SMACK_CIPSO_MAXLEVEL]] sp1 const[' ', int8] num fmt[dec, len[cats]] |
