Re: assembly code in the loadable kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]> 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 [email protected] - 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux