Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932246AbWEPRmW (ORCPT ); Tue, 16 May 2006 13:42:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932225AbWEPRmW (ORCPT ); Tue, 16 May 2006 13:42:22 -0400 Received: from linux01.gwdg.de ([134.76.13.21]:17026 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S932246AbWEPRmU (ORCPT ); Tue, 16 May 2006 13:42:20 -0400 Date: Tue, 16 May 2006 19:42:05 +0200 (MEST) From: Jan Engelhardt To: Andreas Schwab cc: James Morris , Alexey Dobriyan , Andrew Morton , linux-kernel@vger.kernel.org, Stephen Smalley Subject: Re: [PATCH] selinux: endian fix In-Reply-To: Message-ID: References: <20060516152305.GI10143@mipter.zuzino.mipt.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 567 Lines: 17 >>> Signed-off-by: Alexey Dobriyan >> >> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/