On 04/17/2014 06:57 PM, [email protected] wrote:
> Hi!
>> The fanotify[0-5] testcases use the myfanotify_mark() wrapper for the
>> fanotify_mark() syscall. But the #define does not take into account, that
>> the mask field is actually of type _u64 where we need to split the hi
>> and low word in the syscall on a 32bit arch.
>>
>> The attached patch converts the #define to a inline function where
>> the compiler will help to convert the given values to the correct types
>> (e.g. unsigned long).
>>
>> Bug found and tested on the parisc/hppa (32bit userspace with 64bit
>> kernel) arch.
> 
> I've pushed slightly modified version of this patch. Please check that
> it works fine for you.

Yes, works for me (hppa arch, 32bit userspace, 64bit kernel).
Thanks!
Helge


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to