lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <ac9c93b10808191216q64c41222n7752c24c089e3303@mail.gmail.com> Date: Tue, 19 Aug 2008 21:16:56 +0200 From: "Frans Meulenbroeks" <fransmeulenbroeks@...il.com> To: LKML <linux-kernel@...r.kernel.org> Subject: inclusion of <endian.h> in a kernel header? ok or not? Is it ok to #include <endian.h> in a kernel header file. This is done in linux/patchkey.h and linux/soundcard.h but other places seem to prefer <asm/byteorder.h> Basically I am looking for a simple way to isolate a piece of endian specific code (something like #ifdef BIG_ENDIAN ...#endif -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/