Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932492AbWEPRvQ (ORCPT ); Tue, 16 May 2006 13:51:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932364AbWEPRvP (ORCPT ); Tue, 16 May 2006 13:51:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:23448 "EHLO mx2.suse.de") by vger.kernel.org with ESMTP id S932462AbWEPRu1 (ORCPT ); Tue, 16 May 2006 13:50:27 -0400 From: Andreas Schwab To: Jan Engelhardt Cc: James Morris , Alexey Dobriyan , Andrew Morton , linux-kernel@vger.kernel.org, Stephen Smalley Subject: Re: [PATCH] selinux: endian fix References: <20060516152305.GI10143@mipter.zuzino.mipt.ru> X-Yow: An Italian is COMBING his hair in suburban DES MOINES! Date: Tue, 16 May 2006 19:50:25 +0200 In-Reply-To: (Jan Engelhardt's message of "Tue, 16 May 2006 19:42:05 +0200 (MEST)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 25 Jan Engelhardt writes: >>>> 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. :> No. There are only two ways to order two bytes. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra?e 5, 90409 N?rnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - 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/