[linux-cifs-client] Re: patch to fix an error during set security descriptor

Shirish Pargaonkar shirishpargaonkar at gmail.com
Mon Feb 18 18:04:09 GMT 2008


On Feb 11, 2008 12:27 AM, Shirish Pargaonkar
<shirishpargaonkar at gmail.com> wrote:
> As per current implementation of chmod, cifs client send a security descriptor
> consisting of three aces in a dacl, owner, group, and other.
> There is bug i.e. the allocated size to build security descriptor
> utilizes the size
> obtained during get security descriptor.  This size can be smaller as the
> file may have less than three aces in which case the allocated size of
> security descriptor to set is inadequate.
> This fix allocates a minimum size needed to build the largest possible
> security descriptor containing three aces.
>

Here is the second attempt at the fix.

Regards,

Shirish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cifsacl.secdesclen.patch
Type: text/x-patch
Size: 2504 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20080218/86746565/cifsacl.secdesclen.bin


More information about the linux-cifs-client mailing list