Hi, I'm working on a course project in which I need to add 3 system calls.
One of which is setacl(char *name, int type, int idnum, int perms), which
set acl for a file specified by name. I used newfs as in
ftp://ftp.tw.freebsd.org/pub/FreeBSD/FreeBSD-current/src/sbin/newfs/ to make
this new filesystem, named myfs (which really is UFS2) and mounted it. 

My question is: 
1) where to start with? 
2) Is this filesystem actually a userland UFS and I can use functions in
libufs(3)?
3) What about functions in ufs_acl.c? Should the acls be stored on the
extended attributes blocks? Does FreeBSD 8.2 support it?

I know I'm asking stupid questions, but a small hint might help me a lot.
Thank you so much..

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/Add-setacl-system-call-tp4627557p4627557.html
Sent from the freebsd-hackers mailing list archive at Nabble.com.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to