* Dumitru Stama (dicsat_private) wrote: > Hello everybody > I have a question that might sound a bit strange but i need to > implement something like this in a linux kernel module without any > help from ring3 processes (daemons or simple processes). > Can i use something (even a hack) to allocate memory below the > 0C0000000h memory space ? Using kmalloc i can only get pages that are > accessible from the kernel address space and i can't use that memory > for storing the parameters to call sys_open for example (i get bad > address error, ofcourse). Well, set_fs/get_fs can help here, but why are you calling system calls from the kernel? > Do you have any suggestions ? I am using Nasm to develop my module. Could you not write it in C? This seems very strange. thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net _______________________________________________ linux-security-module mailing list linux-security-moduleat_private http://mail.wirex.com/mailman/listinfo/linux-security-module
This archive was generated by hypermail 2b30 : Wed May 21 2003 - 11:35:27 PDT