mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-08 16:43:25 +00:00
Convert jffs2 acl to struct_size
Need to tell the compiler that the acl entries follow the acl header. Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com> Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
committed by
Sebastian Huber
parent
f44ecd0ea9
commit
55529cf3d0
@@ -22,6 +22,7 @@ struct jffs2_acl_entry_short {
|
||||
|
||||
struct jffs2_acl_header {
|
||||
jint32_t a_version;
|
||||
struct jffs2_acl_entry a_entries[];
|
||||
};
|
||||
|
||||
#ifdef CONFIG_JFFS2_FS_POSIX_ACL
|
||||
|
||||
Reference in New Issue
Block a user