Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2011 01:40:32 -0700 (PDT)
From:      exorcistkiller <exorcistkiller@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Add setacl system call?
Message-ID:  <1311496832217-4627557.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1311496832217-4627557.post>