Hi ,
In system calls like open(), chmod(), chown() etc. getname() is used to
copy the user space file name/path to the kernel space. Correct me if I'm
wrong.
The it err check the return value by the macro IS_ERR.
If "IS_ERR" succeeds then the syscall return from there.
What this IS_ERR/IS_ERR_VALUE/unlikely() does?
Why this getname() fails in which condition?
I'm unable to make out anythig.
Any idea/ pointer will be great.
Thanks,
Saumendra Dash
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/