Applied patch provided by shenhan@google.com and previously reported by raymes@chromium.org (http://code.google.com/p/linux-syscall-support/issues/detail?id=2) git-svn-id: http://linux-syscall-support.googlecode.com/svn/trunk@14 829466d3-f3f5-3ae4-62ad-de35cf9bba21