On 6/23/05, Can Sar <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Is there some way to programatically set AFS ACLs from inside the linux
> kernel? I am sure that this is possible but I haven't exactly figured out
> how to do it and could not really find much on the net. Is it done using
> Linux XATTRS?
> 

AFAIK, the ACL administration code doesn't hook into the VFS layer,
although I know several people who think that would be a cool feature
;)

To see how ACL modification works, look at src/venus/fs.c, and
src/afs/afs_pioctl.c.  Probably the best solution would be to write a
new variant of afs_HandlePioctl that doesn't copyin and copyout the
pioctl args, and then write a kernelspace implementation of the ACL
serialization code from fs.c.

-- 
Tom Keiser
[EMAIL PROTECTED]
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to