On 2017-10-24, at 4:03 PM, Christoph Biedl wrote: > To start with, using the invalid value 4 as size parameter does not > return ENOSYS as I'd expect but crashes my system[2], using both 32 and > 64 bit kernel, no root privileges required. /* Check the validity of the size pointer */ subi,>>= 4, %r23, %r0 b,n lws_exit_nosys The condition in the subi instruction should be ">>". The branch is incorrectly nullified when %r23 is 4. Dave -- John David Anglin dave.anglin@xxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html