Hi Onkar... On Sun, Oct 10, 2010 at 14:47, Onkar Mahajan <kern.devel@xxxxxxxxx> wrote: > What is the significance of access_ok macro ? I see that it's defined in > linux-2.6.34/include/asm-generic/uaccess.h as : I vaguely recall, it is used in places like copy_from_user. The macro check whether the source address is within the ok-ed range..that is..the user space range. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ