hi
im currently working on stakable file system wrapfs.
1.>Well im writing a kernel code in which im supposed
to receive ioctl argument from the user space which is
supposed to be of the type acl_t. I mean:
<<user code>>
acl_t the_acl;
ioctl(File_Desc,FIST_IOCTL_SET_SEC_DESC,the_acl)
now the kernel code doesn't seem to recognize acl_t
and reports an error. Im compiling the kernel code
with -lacl
flag and there is complete acl and xattr support in
the kernel.[linux-2.4.23 with ea patch]
what can i do bout it.
2.>In the kernel code i wanna set the acls of a file
using setxattr.Consider i have a inode object
ankinode;
what name:value pair should i write corresponding to
an acl_t perm;
I mean i have the variable perm and i gotta run
setxattr. How can i do that???
Any help!!!
thanks
ankur
-BE
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
|