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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0705040415360.22553@localhost.localdomain>
Date:	Fri, 4 May 2007 04:23:36 -0400 (EDT)
From:	"Robert P. J. Day" <rpjday@...dspring.com>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: "KERNEL/_KERNEL/INKERNEL" macro cruft


  can any of this be removed?  for a start, what's the point of
"#define KERNEL"?

$ grep -r "^#define KERNEL$" *
drivers/net/skfp/srf.c:#define KERNEL
drivers/net/skfp/pmf.c:#define KERNEL
drivers/net/skfp/smt.c:#define KERNEL
drivers/net/skfp/ecm.c:#define KERNEL
drivers/net/skfp/pcmplc.c:#define KERNEL
drivers/net/skfp/cfm.c:#define KERNEL
drivers/net/skfp/rmt.c:#define KERNEL
drivers/char/dtlk.c:#define KERNEL

  which seems unrelated to this:

$ grep -r "#if.* KERNEL$" *
include/linux/coda.h:#ifdef KERNEL

  and there's these lonely examples of "INKERNEL" and "_KERNEL":

$ grep -rw _KERNEL *
include/linux/coda.h:/* Catch new _KERNEL defn for NetBSD and DJGPP/__CYGWIN32__ */
include/linux/soundcard.h:#if (!defined(__KERNEL__) && !defined(KERNEL) && !defined(INKERNEL) && !defined(_KERNEL)) || defined(USE_SEQ_MACROS)

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
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/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ