[PATCH] zfsacl: Fix ACL behavior issues with vfs_zfsacl
Ralph Boehme
slow at samba.org
Fri May 17 05:58:26 UTC 2019
On Fri, May 17, 2019 at 07:44:26AM +0200, Ralph Boehme via samba-technical wrote:
> rewrite as:
>
> SMB_ACE4PROP_T hidden_ace = (SMB_ACE4PROP_T) {
> hidden_ace.flags = SMB_ACE4_ID_SPECIAL;
> hidden_ace.who.id = SMB_ACE4_WHO_EVERYONE;
> hidden_ace.aceType = SMB_ACE4_ACCESS_ALLOWED_ACE_TYPE;
> };
s/;/,/
s/hidden_ace//
:)
Not sure if the nested object can be initialized with a designated initializer,
iirc no. Then move initialization of who.id out of the designated initializer.
-slow
--
Ralph Boehme, Samba Team https://samba.org/
Samba Developer, SerNet GmbH https://sernet.de/en/samba/
GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46
More information about the samba-technical
mailing list