Skip to content

Commit 88d60c3

Browse files
committed
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>
1 parent ecf6f5e commit 88d60c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/fanotify.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ struct fanotify_event_metadata {
9696
struct fanotify_response {
9797
__s32 fd;
9898
__u32 response;
99-
} __attribute__ ((packed));
99+
};
100100

101101
/* Legit userspace responses to a _PERM event */
102102
#define FAN_ALLOW 0x01

0 commit comments

Comments
 (0)