Re: assembly code in the loadable kernel module
From: linux-os \(Dick Johnson\)
Date: Fri Apr 27 2007 - 17:07:22 EST
On Fri, 27 Apr 2007, Daniel Hazelton wrote:
> On Friday 27 April 2007 07:57:58 Marat Buharov wrote:
>> On 4/27/07, Parav K Pandit <Parav_Pandit@xxxxxxxxxxxx> wrote:
[SNIPPED all the junk]
>
> Most companies require that *ANY* e-mail sent by employees while at work
> contain disclaimers like those. Some of them even have their mail servers
> *automatically* attach those footers.
>
> DRH
>
Yes, it's getting to be widespread. However, there is a way around it for
facilities like the linux-kernel list. Everybody could put a ^D or ^Z at
the end of their .sig . Then the list-server software could filter it like:
-----------
//
// Free software
//
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
int main(void);
int main()
{
char buf[0x400];
for(;;)
{
if(!fgets(buf, sizeof(buf), stdin) || feof(stdin))
break;
fprintf(stdout, buf);
if(strchr(buf, 'Z'-64) || strchr(buf, 'D'-64))
break;
}
return 0;
}
---------
Anything after ^D or ^Z doesn't get copied to the list. Something like
this needs to be done because it's gonna get a whole lot worse because
all the 'IT' people read the same rags -- so they think that "naked"
email fails the "due diligence" test. Honest, I'm not making that up!
Cheers,
Dick Johnson
Penguin : Linux version 2.6.16.24 on an i686 machine (5592.62 BogoMips).
New book: http://www.AbominableFirebug.com/
_
****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@xxxxxxxxxxxx - and destroy all copies of this information, including any attachments, without reading or disclosing them.
Thank you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/