Lines Matching defs:attrsz
269 unsigned int attrsz;
276 attrsz = sizeof(SECURITY_DESCRIPTOR_RELATIVE);
278 if (offgroup >= attrsz) {
282 if (endsid > attrsz) attrsz = endsid;
285 if (offowner >= attrsz) {
289 attrsz = endsid;
292 if (offsacl >= attrsz) {
296 if (endacl > attrsz)
297 attrsz = endacl;
303 if (offdacl >= attrsz) {
306 if (endacl > attrsz)
307 attrsz = endacl;
309 return (attrsz);
607 BOOL ntfs_valid_descr(const char *securattr, unsigned int attrsz)
640 if ((attrsz >= sizeof(SECURITY_DESCRIPTOR_RELATIVE))
643 && ((offowner + 2) < attrsz)
645 && ((offgroup + 2) < attrsz)
648 && (offdacl+sizeof(ACL) <= attrsz)))
651 && (offsacl+sizeof(ACL) <= attrsz)))
656 && (ntfs_attr_size(securattr) <= attrsz)
676 if ((offdacl && !valid_acl(pdacl,attrsz - offdacl))
677 || (offsacl && !valid_acl(psacl,attrsz - offsacl)))