[Bug 220477] acl_delete_file_np(path, ACL_TYPE_NFS4) causes kernel panic as normal user

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 5 12:24:42 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220477

            Bug ID: 220477
           Summary: acl_delete_file_np(path, ACL_TYPE_NFS4) causes kernel
                    panic as normal user
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: pen at lysator.liu.se

A call to acl_delete_file_np(".", ACL_TYPE_NFS4) on a directory without ACLs
will cause a kernel panic. As a normal user. Lastest updated kernel (FreeBSD
11.0-RELEASE-p9).

Sample code:

#include <sys/stat.h>
#include <sys/acl.h>
int main() {
  mkdir("/tmp/test");
  acl_delete_file_np("/tmp/test", ACL_TYPE_NFS4);
}

- Peter

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list