Searched defs:newattrsize (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c8037 size_t newattrsize; local
8055 newattrsize = 8 + strlen(attrtext) + 1;
8056 attr = e_zalloc(E_NORMAL, newattrsize);
8078 *secinfo_len += newattrsize;
8082 *secinfo_len -= newattrsize;
8087 (void) memcpy(new_secinfo + oldsize, attr, newattrsize);
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c6710 int newattrsize; local
6728 newattrsize = 8 + (int)strlen(attrtext) + 1;
6729 attr = (struct sec_attr *)malloc(newattrsize);
6745 newattrsize = sizeof (struct sec_attr) + strlen(attrtext);
6746 attr = (struct sec_attr *)malloc(newattrsize);
6766 *secinfo_len += newattrsize;
6770 *secinfo_len -= newattrsize;
6776 (void) memcpy(new_secinfo + oldsize, attr, newattrsize);

Completed in 95 milliseconds