diff options
author | Eric Paris <eparis@redhat.com> | 2010-11-09 00:19:22 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-12-07 22:14:20 +0100 |
commit | 88d60c32765716289abeb362c44adf6c35c6824c (patch) | |
tree | 87c7f9296cfee7ba16145b70ebc7e11106f72e42 /include | |
parent | fanotify: deny permissions when no event was sent (diff) | |
download | linux-88d60c32765716289abeb362c44adf6c35c6824c.tar.xz linux-88d60c32765716289abeb362c44adf6c35c6824c.zip |
fanotify: remove packed from access response message
Since fanotify has decided to be careful about alignment and packing
rather than rely on __attribute__((packed)) for multiarch support.
Since this attribute isn't doing anything on fanotify_response we just
drop it. This does not break API/ABI.
Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@sophos.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fanotify.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fanotify.h b/include/linux/fanotify.h index 0f0121467fc4..bdbf9bb29b54 100644 --- a/include/linux/fanotify.h +++ b/include/linux/fanotify.h @@ -96,7 +96,7 @@ struct fanotify_event_metadata { struct fanotify_response { __s32 fd; __u32 response; -} __attribute__ ((packed)); +}; /* Legit userspace responses to a _PERM event */ #define FAN_ALLOW 0x01 |