docs: ioctl-number: document fscrypt ioctl numbers
Subsystems (3)
Eric Biggers
maintainerPATCH 1/1 docs: ioctl-number: document fscrypt ioctl numbers
From: Eric Biggers <[email protected]>
The 'f' ioctls with numbers 19-26 decimal are currently used for fscrypt (a.k.a. ext4/f2fs/ubifs encryption), and up to 39 decimal is reserved for future fscrypt use, as per the comment in fs/ext4/ext4.h. So the reserved range is 13-27 hex.
Document this in ioctl-number.rst.
--- Documentation/ioctl/ioctl-number.rst | 1 + 1 file changed, 1 insertion(+)
Documentation/ioctl/ioctl-number.rst +1 -0
@@ -233,6 +233,7 @@ Code Seq# Include File Comments 'f' 00-0F fs/ext4/ext4.h conflict! 'f' 00-0F linux/fs.h conflict! 'f' 00-0F fs/ocfs2/ocfs2_fs.h conflict! +'f' 13-27 linux/fscrypt.h 'f' 81-8F linux/fsverity.h 'g' 00-0F linux/usb/gadgetfs.h 'g' 20-2F linux/usb/g_printer.h
Signature · 1 line
2.23.0.581.g78d2f28ef7-goog
Quoted 20 lines · Eric Biggers
From: Eric Biggers <[email protected]>
The 'f' ioctls with numbers 19-26 decimal are currently used for fscrypt (a.k.a. ext4/f2fs/ubifs encryption), and up to 39 decimal is reserved for future fscrypt use, as per the comment in
fs/ext4/ext4.h. So the reserved range is 13-27 hex.Document this in
ioctl-number.rst.Signed-off-by Eric Biggers <[email protected]>--- Documentation/ioctl/ioctl-number.rst | 1 + 1 file changed, 1 insertion(+)Documentation/ioctl/ioctl-number.rst +0
-0
Documentation/ioctl/ioctl-number.rst Code Seq# Include File Comments · line 239
Quoted 7 lines
Documentation/ioctl/ioctl-number.rst +1
-0@@ -233,6 +233,7 @@ Code Seq# Include File Comments 'f' 00-0F fs/ext4/ext4.h conflict! 'f' 00-0F linux/fs.h conflict! 'f' 00-0F fs/ocfs2/ocfs2_fs.h conflict! +'f' 13-27 linux/fscrypt.h 'f' 81-8F linux/fsverity.h 'g' 00-0F linux/usb/gadgetfs.h 'g' 20-2F linux/usb/g_printer.h
Applied to fscrypt.git for 5.5.
- Eric
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel