struct fanotify_event_metadata

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Schwab
Date: Saturday, August 14, 2010 - 10:44 am

The pid field of struct fanotify_event_metadata has 64 bits which looks
excessive.  Wouldn't it make sense to make it 32 bits and swap it with
the mask field?  That would avoid the unaligned mask field, and remove
the need for the packed attribute.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
struct fanotify_event_metadata, Andreas Schwab, (Sat Aug 14, 10:44 am)
Re: struct fanotify_event_metadata, Tvrtko Ursulin, (Thu Aug 19, 8:44 am)
Re: struct fanotify_event_metadata, Andreas Gruenbacher, (Thu Aug 19, 9:07 am)
Re: struct fanotify_event_metadata, Tvrtko Ursulin, (Thu Aug 19, 9:35 am)
Re: struct fanotify_event_metadata, Eric Paris, (Thu Aug 19, 10:53 am)
Re: struct fanotify_event_metadata, Tvrtko Ursulin, (Fri Aug 20, 2:02 am)
Re: struct fanotify_event_metadata, Andreas Schwab, (Fri Aug 20, 2:16 am)
Re: struct fanotify_event_metadata, Tvrtko Ursulin, (Fri Aug 20, 2:23 am)
Re: struct fanotify_event_metadata, Eric Paris, (Fri Aug 20, 6:13 am)
Re: struct fanotify_event_metadata, Andreas Schwab, (Fri Aug 20, 6:27 am)
Re: struct fanotify_event_metadata, Eric Paris, (Fri Aug 20, 8:19 am)
Re: struct fanotify_event_metadata, Eric Paris, (Fri Aug 20, 10:47 am)