Re: some questions about ACL implementation

2003-03-18 Thread Nikolay Y. Orlyuk
On Tue, Mar 18, 2003 at 08:19:15PM +0800, ouyang kai wrote:
>   1. the 'extattrctl initattr -p / 388 posix1e.acl_access' command: why the 
> size is 388. the 'ufs_extattr_header' size is 12 and the 'acl' is 324, so 
> the sum is 336.
Maybe each some structs isn't packed. I mean when you compile it align size
of some structures for ex on pargraph (16 bytes) or something like this.
> 

-- 
With best wishes Nikolay
mail: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message


some questions about ACL implementation

2003-03-18 Thread ouyang kai
Hi, robert
  I am reading the ACL implementation based FreeBSD5.0 release. I have some 
problems, please help.
  1. the 'extattrctl initattr -p / 388 posix1e.acl_access' command: why the 
size is 388. the 'ufs_extattr_header' size is 12 and the 'acl' is 324, so 
the sum is 336.
  2. what is the relationship of ACL_GROUP_OBJ and ACL_MASK? If I do not 
set the ACL EA, we can not get the information of 'ACL_MASK'. ACL_MASK 
represents what?
  3. "As part of the ACL is stored in the inode, and the rest in an EA, 
assemble both into a final ACL product. Right now this is not done very 
efficiently.", Do you any viewpoint about that? How we can improve the 
efficiency?
  4. about ACL based on UFS2, do the ACLs of an inode store di_extb? Could 
you introduce the ACLs' management on UFS2?
  Thank you very much!
Best Regards
 Ouyang Kai



_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message