There is an off-by-one in the static assert. Also, an unsigned long long is passed in, but the parameter is an int. Then it's passed to writeUnsignedInt, which takes an unsigned int. Let's use unsigned int instead. (The value is a syscall number, so it's safe to truncate regardless -- it never be anywhere near as large as an int -- so this is just a matter of style.)
Created attachment 260103 [details] Patch
Comment on attachment 260103 [details] Patch Clearing flags on attachment: 260103 Committed r189097: <http://trac.webkit.org/changeset/189097>
All reviewed patches have been landed. Closing bug.