I'd like to start with POSIX ACL because they've been implemented on lots of operating systems, including Solaris and Linux. Although NFSv4 ACLs are richer than POSIX draft ACLs, but most of the kernels implement NFSv4 ACLs by mapping it to POSIX ACLs and store POSIX ACLs in the filesystem. In FreeBSD also, NFSv4 ACL is an extension of POSIX.1e API.
Right now I'd like to focus on setting up a syscalls interface for ACL. NFSv4 support can later be included in by adding options/flags to syscalls as FreeBSD does (-i, -v options to getfacl). Hrishikesh On Sun, Jul 23, 2017 at 3:48 PM, Hrishikesh goyal <mhrishik...@student.nitw.ac.in> wrote: > On Mon, Jul 17, 2017 at 2:14 PM, Joerg Sonnenberger <jo...@bec.de> wrote: >> On Mon, Jul 17, 2017 at 01:19:08AM +0530, HRISHIKESH GOYAL wrote: >>> So I would like to work for adding POSIX ACL in NetBSD. There has been a >>> short offline discussion with Christos on this, which is added here. >> >> Well, the first question is: what kind of ACLs? "POSIX" ACLs are kind of >> a misnomer as there only ever was a draft that has long expired. Then >> there are NFSv4 ACLs and the whole NT-style ACLs. >> >> Joerg > > POSIX