From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,71171f53c22d92b5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-22 18:20:52 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny03.gnilink.net.POSTED!53ab2750!not-for-mail From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031008 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: C's trikery semantic opens up backdoor in new Linux kernel References: <3FB1A63C.9080200@nowhere.com> <7uqlrv4l846co3ear20eotlkaj2t6aioho@4ax.com> <27427869.cO6lCOVPY8@linux1.krischik.com> In-Reply-To: <27427869.cO6lCOVPY8@linux1.krischik.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8QUvb.5025$7%4.312@nwrdny03.gnilink.net> Date: Sun, 23 Nov 2003 02:20:52 GMT NNTP-Posting-Host: 162.84.211.17 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny03.gnilink.net 1069554052 162.84.211.17 (Sat, 22 Nov 2003 21:20:52 EST) NNTP-Posting-Date: Sat, 22 Nov 2003 21:20:52 EST Xref: archiver1.google.com comp.lang.ada:2864 Date: 2003-11-23T02:20:52+00:00 List-Id: Martin Krischik wrote: > Well you can redefine keywords: > > #define private public > #define protected public > #include <....> > > Well it is a C++ hack - but I guess you get the drift. To what purpose? Unless every single module which includes the affected structures is recompiled, the result is a program with undefined behavior, since it has violated the one-definitiuon rule.