Building 32 bit (Intel X86) kernel module on a 64 bit (Intel x86_64) machine

2009-07-14 Thread Dan Shimshoni
Hello, I want to build an Intel x86 32 bit kernel module on Intel x86_64 machine (64 bit) running Linux. My goal is to prepare a module on a 64 bit machine, so that I can insmod this module on a 32 bit machine successfully (and don't tell me that I can build the module on a 32 bit machine. I of

Re: Building 32 bit (Intel X86) kernel module on a 64 bit (Intel x86_64) machine

2009-07-14 Thread Ori Berger
Dan Shimshoni wrote: I want to add that make ARCH=i686 (on the 64 bit machine) gave me errors (and also trying to passing various gcc 32 bit arch flags ). What errors you got will be very helpful in getting to a solution - my guess would be link problems and/or wrong Makefile configuration

Re: Building 32 bit (Intel X86) kernel module on a 64 bit (Intel x86_64) machine

2009-07-14 Thread Dan Shimshoni
Hi, either in a virtual machine I would prefer doing this without virtualization. google debootstrap I am on Fedora machine Kernel modules will very often only work against the exact kernel version for which they were compiled. You're in for redoing the work if you upgrade the kernel on the

mod_security Got Root rule updating service

2009-07-14 Thread Amos Shapira
Hello, I'm in a marathon to finish our PCI DSS compliance policy and one of the sections is 11.4: b) Are all intrusion-detection and prevention engines kept up-to-date?. I'm not sure we even need it since I expected we just train mod_security for our applications and prevent any request

Re: mod_security Got Root rule updating service

2009-07-14 Thread Danny Lieberman
Amos Let's separate the technical from the compliance side. From a compliance perspective - if your company is not a Level 1 merchant - i.e. you are processing less than 1 million cc transactions/year - everything is based on a SAQ - self assessment questionnaire and you don't need an external

Re: mod_security Got Root rule updating service

2009-07-14 Thread Amos Shapira
2009/7/14 Danny Lieberman dan...@software.co.il: Amos Let's separate the technical from the compliance side. From a compliance perspective - if your company is not a Level 1 merchant - i.e. you are processing less than 1 million cc transactions/year - everything is based on a SAQ - self

Re: Building 32 bit (Intel X86) kernel module on a 64 bit (Intel x86_64) machine

2009-07-14 Thread Gilad Ben-Yossef
Dan Shimshoni wrote: For that I need to build a 32 bit gcc compiler on the x86_64 machine (cross compiler). There are various tools for buildings such a cross compiler. One is Dan Kegel tool: http://kegel.com/crosstool/ Another tool is Cross-Compiled Linux From Scratch:

Re: mod_security Got Root rule updating service

2009-07-14 Thread Danny Lieberman
Amos, It seems that there is no reason for you to talk to a QSA. This is not a psak halacha but the card association rules are very clear on the Level 2-4 merchants doing self assessments as you can see for yourself on the Masterard web site. The only factor is the volume of card