Re: [PATCH] selinux: endian fix

From: Jan Engelhardt
Date: Tue May 16 2006 - 13:41:49 EST


>>> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
>>
>> Hmm, I'm certain this was tested (perhaps on a BE machine, though).
>
>ntohs and htons are identical operations. Either you swap or you don't,
>but there is only one way to swap a short.
>
...unless PDPs start to get attractive again. :>


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/