<span style=" font-size:10pt;font-family:sans-serif">Look in gps.h....
I think the comment for acl_buffer_len is clear enough!  </span><br><br><span style=" font-size:10pt;font-family:Courier New">/* Mapping of
buffer for gpfs_getacl, gpfs_putacl. */</span><br><span style=" font-size:10pt;font-family:Courier New">typedef struct
gpfs_opaque_acl</span><br><span style=" font-size:10pt;font-family:Courier New">{</span><br><span style=" font-size:10pt;font-family:Courier New">  int  
         acl_buffer_len;  /* <b>INPUT:  Total
size of buffer (including this field).</b></span><br><span style=" font-size:10pt;font-family:Courier New">   
                     
           OUTPUT: Actual size of the ACL
information.  */</span><br><span style=" font-size:10pt;font-family:Courier New">  unsigned
short acl_version;     /* INPUT:  Set to zero.</span><br><span style=" font-size:10pt;font-family:Courier New">   
                     
           OUTPUT: Current version of the
returned ACL. */</span><br><span style=" font-size:10pt;font-family:Courier New">  unsigned
char  acl_type;        /* INPUT:  Type of
ACL: access (1) or default (2). */</span><br><span style=" font-size:10pt;font-family:Courier New">  char  
        acl_var_data[1]; /* OUTPUT: Remainder of the
ACL information. */</span><br><span style=" font-size:10pt;font-family:Courier New">} gpfs_opaque_acl_t;</span><br><br><br><br><br><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">From:
       </span><span style=" font-size:9pt;font-family:sans-serif">Simon
Thompson <S.J.Thompson@bham.ac.uk></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">To:
       </span><span style=" font-size:9pt;font-family:sans-serif">"gpfsug-discuss@spectrumscale.org"
<gpfsug-discuss@spectrumscale.org></span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Date:
       </span><span style=" font-size:9pt;font-family:sans-serif">12/17/2018
10:13 AM</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Subject:
       </span><span style=" font-size:9pt;font-family:sans-serif">[gpfsug-discuss]
GPFS API</span><br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Sent
by:        </span><span style=" font-size:9pt;font-family:sans-serif">gpfsug-discuss-bounces@spectrumscale.org</span><br><hr noshade><br><br><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">Hi,</span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">This
is all probably perfectly clear to someone with the GPFS source code but
… we’re looking at writing some code using the API documented at:</span></p><p style="margin-top:0px;margin-Bottom:0px"><a href="https://www.ibm.com/support/knowledgecenter/STXKQY_5.0.1/com.ibm.spectrum.scale.v5r01.doc/pdf/scale_cpr.pdf"><span style=" font-size:11pt;color:#0082bf;font-family:Calibri"><u>https://www.ibm.com/support/knowledgecenter/STXKQY_5.0.1/com.ibm.spectrum.scale.v5r01.doc/pdf/scale_cpr.pdf</u></span></a></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">Specifically
gpfs_getacl() function, in the docs you pass acl, and the notes say “Pointer
to a buffer mapped by the structure gpfs_opaque_acl_t or gpfs_acl_t, depending
on the value of flags. The first four bytes of the buffer must contain
its total size.”. Reading the docs for gpfs_opaque_acl_t, this is a struct
of which the first element is an int. Is this the same 4 bytes referred
to as above containing the size, and is this the size of the struct, of
of the acl_var_data entry?</span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">It
strikes me is should probably be the length of acl_var_data, but it is
not entirely clear?</span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">Thanks</span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri">Simon</span></p><p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:Calibri"> </span><tt><span style=" font-size:10pt">_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></span></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><span style=" font-size:10pt">http://gpfsug.org/mailman/listinfo/gpfsug-discuss</span></tt></a><tt><span style=" font-size:10pt"><br></span></tt></p><p style="margin-top:0px;margin-Bottom:0px"></p><p style="margin-top:0px;margin-Bottom:0px"></p><BR>