using sys_chmod
Hi,
I am trying to use sys_chmod in my kernel module to change the permission of a file. But i am getting sys_chmod undefined error, while trying to compile. Googled for this, but not able to get this resolved. Are there any steps we should follow inorder to use sys_chmod? My linux kernel version is 2.6.24. Thanks, |
You provides less information. You need to be more specific. What command you tried to compile, which OS you're using, etc.?
|
Its a Linux kernel loadable module. I think, i have already mentioned the version details. Please let me know what other information you needed.
Thanks, |
What have you tried so far and what errors are you getting?
|
Hi Arya,
I am trying to use sys_chmod function call in my Linux kernel module. While compiling that source, I am getting 'sys_chmod' undefined symbol error. I would like to know the method to follow to achieve this. Please let me know if you need any more info. Thanks, |
you know posting an error message alone is not a good idea. You would better post also your files or links (if they available on the net), the commands and the whole output.
I think this time you missed an #include somewhere, but I'm not really sure, there can be other problem as well. |
In simple terms, post all the commands you tried and their outputs here.
|
All times are GMT -5. The time now is 07:59 PM. |