https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281820
--- Comment #1 from Jose Luis Duran <[email protected]> --- Created attachment 254060 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254060&action=edit WIP: Not thoroughly tested - mac_do: Allow a gid-only rule to any - mac_do: Avoid locking around vn_fullpath() - mac_do: check if freebuf is non-NULL before freeing This is my weekly progress on this bug. I would like to test it further, and familiarize with the code a bit more before submitting it for review. Posting it here just in case it is of any help. Tests: As 'root' issue: # kldload mac_do # sysctl security.mac.do.rules=gid=0:any [1] # sysctl security.mac.do.rules=gid=1001:any [2] A user 'freebsd' already exists with a GID 1001 and belongs to 'wheel': $ mdo pkg upgrade [1] [2] Updating FreeBSD repository catalogue... ... -- You are receiving this mail because: You are the assignee for the bug.
