Linux and Android

2010-08-19 Thread Ashok Sharma
Hi,   May I know about any Tutorial links about relationship between Linux and Android Kernels   Best Sharma

Re: Linux and Android

2010-08-19 Thread Ryan Moore
On Thu, Aug 19, 2010 at 12:01 AM, Ashok Sharma ak...@yahoo.co.uk wrote: Hi, May I know about any Tutorial links about relationship between Linux and Android Kernels Best Sharma The android kernel is a linux kernel. The Android phone has been built on top of linux. Check out this link

where to get xfstest package?

2010-08-19 Thread Ryan Wang
thanks, -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

is this page any more relevant

2010-08-19 Thread Anuz Pratap Singh Tomar
Hi all, I came across this page about possible security exploit in kernel modules. This page is very old(circa 1999), but it seems very interesting, I am wondering if this is any more relevant or all the holes are well patched now. http://www.packetstormsecurity.nl/docs/hack/LKM_HACKING.html#I.1.

Re: where to get xfstest package?

2010-08-19 Thread Daniel Baluta
http://tinyurl.com/32pn4ol :D -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: is this page any more relevant

2010-08-19 Thread Mulyadi Santosa
Hi... On Thu, Aug 19, 2010 at 17:07, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: Hi all, I came across this page about possible security exploit in kernel modules. This page is very old(circa 1999), but it seems very interesting, I am wondering if this is any more relevant or all

anyone built a new kernel on RHEL 6.0 beta with LVM?

2010-08-19 Thread Robert P. J. Day
i haven't had time to dig into this and probably won't until this weekend, but has anyone git pulled the kernel source tree onto an install of RHEL 6.0 Beta2, and simply built a generic kernel that rebooted properly? i've tried it and had different, fatal errors depending on whether i started

Re: linux/module.h does not exist

2010-08-19 Thread Tapas Mishra
I was able to write my first module and saw that in syslog. I am trying this code from here https://docs.google.com/fileview?id=0B2A4urYOAf6POTI1OGE1MjctM2UyMC00OGUzLThlNDUtZDBhOWFjY2Y1MDUzhl=en page 48 left hand section. Headers are installed. sudo apt-get install linux-headers-generic [sudo]

Re: linux/module.h does not exist

2010-08-19 Thread Mulyadi Santosa
Hi... On Wed, Aug 18, 2010 at 23:12, Tapas Mishra mightydre...@gmail.com wrote: When I compiled it as gcc -Wall -DMODULE -D__KERNEL__  -DLINUX -c sample2.c[/code] I got following error sample2.c:3:26: error: linux/module.h: No such file or directory IMO it's because you forgot to tell

Re: anyone built a new kernel on RHEL 6.0 beta with LVM?

2010-08-19 Thread Mulyadi Santosa
Hi Rob... This time, seems like we're connected through Inception-alike dream machine. Could you please spin your totem first? :) On Thu, Aug 19, 2010 at 19:43, Robert P. J. Day rpj...@crashcourse.ca wrote: but:  * make install blows up, complaining about multiple missing    modules, not

Re: linux/module.h does not exist

2010-08-19 Thread Tapas Mishra
Ok I looked at man page of gcc and searched for DMODULE D__KERNEL and DLINUX got following Pattern not found (press RETURN) -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: linux/module.h does not exist

2010-08-19 Thread Dave Hylands
Hi Tapas, On Wed, Aug 18, 2010 at 9:12 AM, Tapas Mishra mightydre...@gmail.com wrote: I wrote following program in my home directory. #include linux/kernel.h #include sys/syscall.h #include linux/module.h extern void *sys_table[]; asmlinkage int(*main_sys_exit)(int); You seem to be

rep instruction without ecx's control

2010-08-19 Thread Parmenides
Hi, In the following code, the nop instruction prefixed by rep will execute several times. How many times the instruction executes is controlled by ecx register. But, there is no explicit setting of ecx register. What's the meaning of this instruction? -- To unsubscribe from this list: send an

Re: rep instruction without ecx's control

2010-08-19 Thread Parmenides
#define spin_lock_string \ \n1:\t \ lock ; decb %0\n\t \ jns 3f\n \ 2:\t \ rep;nop\n\t \ cmpb $0,%0\n\t \ jle 2b\n\t \ jmp 1b\n \ 3:\n\t 2010/8/20 Parmenides mobile.parmeni...@gmail.com: Hi, In the following code, the nop instruction prefixed by rep will execute several times. How many

Re: why is only kernel preemption disabled

2010-08-19 Thread Michael Blizek
Hi! On 20:53 Wed 18 Aug , Daniel Baluta wrote: Hello, On Wed, Aug 18, 2010 at 8:07 PM, Parmenides mobile.parmeni...@gmail.com wrote: Hi, For a critical section protected by a spin lock, kernel preemption is disabled explicitly, probably to make the critical section atomic. But,

Re: why is only kernel preemption disabled

2010-08-19 Thread Michael Blizek
Hi! On 01:07 Thu 19 Aug , Parmenides wrote: Hi, For a critical section protected by a spin lock, kernel preemption is disabled explicitly, probably to make the critical section atomic. But, suppose that an interrupt occures in this critical section, allowing interrupts can wreck the

Re: is this page any more relevant

2010-08-19 Thread Michael Blizek
Hi! On 15:37 Thu 19 Aug , Anuz Pratap Singh Tomar wrote: Hi all, I came across this page about possible security exploit in kernel modules. This page is very old(circa 1999), but it seems very interesting, I am wondering if this is any more relevant or all the holes are well patched now.