forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
ecf6f5e7d6
commit
88d60c3276
@ -96,7 +96,7 @@ struct fanotify_event_metadata {
|
|||||||
struct fanotify_response {
|
struct fanotify_response {
|
||||||
__s32 fd;
|
__s32 fd;
|
||||||
__u32 response;
|
__u32 response;
|
||||||
} __attribute__ ((packed));
|
};
|
||||||
|
|
||||||
/* Legit userspace responses to a _PERM event */
|
/* Legit userspace responses to a _PERM event */
|
||||||
#define FAN_ALLOW 0x01
|
#define FAN_ALLOW 0x01
|
||||||
|
Loading…
Reference in New Issue
Block a user