Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jul 2017 12:24:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220477] acl_delete_file_np(path, ACL_TYPE_NFS4) causes kernel panic as normal user
Message-ID:  <bug-220477-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220477

            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@FreeBSD.org
          Reporter: pen@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220477-8>