Searched refs:aclbuf (Results 1 - 6 of 6) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
H A Dacl.c52 char *aclbuf = NULL; variable
83 char *ptr, *aclptr = aclbuf, *line;
87 if (!aclbuf || !(*aclbuf))
102 if ((ptr > aclbuf) && (*(ptr - 1) != '\\'))
158 if (aclbuf) {
159 free(aclbuf);
160 aclbuf = NULL;
175 aclbuf = (char *) calloc(1, 1);
178 if (!(aclbuf
[all...]
H A Dftpcount.c170 static int acl_getlimit(char *aclbuf, char *class) argument
175 while (*aclbuf != '\0') {
176 if (strncasecmp(aclbuf, "limit", 5) == 0) {
177 for (crptr = aclbuf; *crptr++ != '\n';);
179 (void) strlcpy(linebuf, aclbuf, sizeof(linebuf));
190 while (*aclbuf && *aclbuf++ != '\n');
397 char class[80], linebuf[1024], *aclbuf, *myaclbuf, *crptr; local
421 if (!(aclbuf = (char *) malloc((size_t) finfo.st_size + 1))) {
422 fprintf(stderr, "%s: could not malloc aclbuf
[all...]
H A Dftpshut.c222 char *aclbuf, *myaclbuf, *crptr; local
285 if (!(aclbuf = (char *) malloc(finfo.st_size + 1))) {
286 fprintf(stderr, "%s: could not malloc aclbuf: %s\n",
290 fread(aclbuf, finfo.st_size, 1, accessfile);
291 *(aclbuf + finfo.st_size) = '\0';
294 myaclbuf = aclbuf;
509 free(aclbuf);
H A Daccess.c91 extern char remotehost[], remoteaddr[], *remoteident, *aclbuf;
1475 if (aclbuf == NULL) {
/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dpass3b.c47 static caddr_t aclbuf; /* hold acl's for parsing */ variable
48 static int64_t aclbufoff; /* offset into aclbuf */
49 static int64_t maxaclsize; /* how big aclbuf is */
116 if (aclbuf != NULL) {
117 free((void *)aclbuf);
119 if ((aclbuf = malloc(maxaclsize)) == NULL) {
120 errexit("cannot alloc %lld bytes for aclbuf\n",
142 (void) memset(aclbuf, 0, (size_t)maxaclsize);
144 bufchk(aclbuf, (int64_t)aclp->i_isize, aclp->i_number)) {
174 free((void *)aclbuf);
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_nt_transact_security.c499 struct mbuf_chain aclbuf; local
515 (void) MBC_SHADOW_CHAIN(&aclbuf, &xa->req_data_mb, offset, bytes_left);
517 if (smb_mbc_decodef(&aclbuf, "b.ww2.", &revision, &size, &acecnt))
527 if (smb_mbc_decodef(&aclbuf, "bbwl",
539 aclbuf.chain_offset += sidlen;

Completed in 124 milliseconds