[systemd-devel] [PATCH] Fix broken syscall(__NR_fanotify_mark... on 32bit mips.

fykcee1 at gmail.com fykcee1 at gmail.com
Thu Apr 14 02:34:11 PDT 2011


Hi all,

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%23618562

MIPS ABI enforces that 64bit arguments should be 64bit-aligned, and the
third argument of syscall(__NR_fanotify_mark, ...) is 64bit and not
64bit-aligned on 32bit mips platform, thus extra padding is inserted before
it. The syscall function doesn't know the prototype of
fanotify_mark, so the padding will be passed into kernel as valid argument.



-- 
Regards,

- cee1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110414/0737f359/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-broken-syscall-__NR_fanotify_mark.-on-32bit-mips.patch
Type: text/x-patch
Size: 1610 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110414/0737f359/attachment.bin>


More information about the systemd-devel mailing list