Searched refs:sm_strlcpy (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsnprintf.c52 (void) sm_strlcpy(buf, s, m + 1);
55 (void) sm_strlcpy(buf, s, m - 2);
60 (void) sm_strlcpy(buf, s, m + 1);
H A Dcf.c63 (void) sm_strlcpy(cf, cflocation, sizeof cf);
H A Dsafefile.c67 if (sm_strlcpy(fbuf, fn, sizeof fbuf) >= sizeof fbuf)
431 if (sm_strlcpy(s, fn, sizeof s) >= sizeof s)
569 if (sm_strlcpy(fullbuf, buf,
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dstrdup.c72 (void) sm_strlcpy(d, s, l);
102 (void) sm_strlcpy(d, s, l);
130 (void) sm_strlcpy(d, s, l);
163 (void) sm_strlcpy(d, s, l);
H A Dt-strl.c41 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
48 SM_TEST(sm_strlcpy(s3, s1, 2) == 3);
56 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
62 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
68 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
74 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
80 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
86 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
94 (void) sm_strlcpy(src1[k], "abcdef", sizeof src1);
H A Dmbdb.c193 (void) sm_strlcpy(user->mbdb_name, pw->pw_name,
199 (void) sm_strlcpy(user->mbdb_homedir, pw->pw_dir,
201 (void) sm_strlcpy(user->mbdb_shell, pw->pw_shell,
254 (void) sm_strlcpy(buf, user, buflen);
260 (void) sm_strlcpy(bp, user, buflen - (bp - buf));
461 (void) sm_strlcpy(new, arg, len);
657 (void) sm_strlcpy(user->mbdb_homedir, vals[0],
667 (void) sm_strlcpy(user->mbdb_shell, vals[0],
757 (void) sm_strlcpy(user->mbdb_name, name,
H A Dniprop.c192 (void) sm_strlcpy(p, ninl.ni_namelist_val[j], alen);
H A Dutil.c184 bufused = sm_strlcpy(obp, ibp, *bsp);
H A Dt-qic.c63 sm_strlcpy(line_in, in, sizeof(line_in));
188 los = sm_strlcpy(line, inout[i].qic_in, sizeof(line));
H A Dstrl.c47 ** if (sm_strlcpy(buf, s, sizeof(buf)) >= sizeof(buf))
60 sm_strlcpy(dst, src, size) function
279 ** (void) sm_strlcpy(s, ptr->string, sizeof buf - (s - buf));
H A Dldap.c394 (void) sm_strlcpy(fp, p, SPACELEFT(filter, fp));
897 sm_strlcpy(*result, vals[0],
1006 sm_strlcpy(vp_tmp,
1023 p += sm_strlcpy(p, attr,
1029 p += sm_strlcpy(p, vals[i],
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dmain.c52 (void) sm_strlcpy(smfi->xxfi_name, smfilter.xxfi_name, len);
182 if (sm_strlcpy(conn, oconn, l) >= l)
/illumos-gate/usr/src/cmd/sendmail/src/
H A Derr.c601 (void) sm_strlcpy(HeldMessageBuf, msg, sizeof(HeldMessageBuf));
856 (void) sm_strlcpy(eb, fmt, l + 1);
864 (void) sm_strlcpy(eb, enhsc, l + 1);
1012 (void) sm_strlcpy(bp, err, SPACELEFT(buf, bp));
1015 (void) sm_strlcpy(bp, sys_errlist[errnum],
1037 (void) sm_strlcpy(bp,
1129 bp += sm_strlcpy(bp, "Name server: ", sizeof(buf));
1136 (void) sm_strlcpy(bp, dnsmsg, SPACELEFT(buf, bp));
H A Dsm_resolve.c295 (void) sm_strlcpy((*rr)->rr_u.rr_mx->mx_r_domain,
318 (void) sm_strlcpy((*rr)->rr_u.rr_srv->srv_r_target,
350 (void) sm_strlcpy((*rr)->rr_u.rr_txt, (char*) p + 1,
H A Ddomain.c537 (void) sm_strlcpy(MXHostBuf, host, sizeof(MXHostBuf));
743 (void) sm_strlcpy(p, mxhosts[i], sizeof(buf) - len);
1093 (void) sm_strlcpy(host, nbuf, hbsize);
1158 (void) sm_strlcpy(host, nbuf, hbsize);
H A Dsasl.c269 if (sm_strlcpy(hbuf, inet_ntoa(addr->sin.sin_addr), sizeof(hbuf))
H A Dconf.c423 (void) sm_strlcpy(defuserbuf,
445 (void) sm_strlcpy(buf, "mqueue, P=/var/spool/mqueue", sizeof(buf));
457 (void) sm_strlcpy(buf, "prog, P=/bin/sh, F=lsouDq9, T=X-Unix/X-Unix/X-Unix, A=sh -c \201u",
461 (void) sm_strlcpy(buf, "*file*, P=[FILE], F=lsDFMPEouq9, T=X-Unix/X-Unix/X-Unix, A=FILE \201u",
465 (void) sm_strlcpy(buf, "*include*, P=/dev/null, F=su, A=INCLUDE \201u",
730 (void) sm_strlcpy(buf, "host host", sizeof(buf));
748 (void) sm_strlcpy(buf, "aliases.files null",
756 (void) sm_strlcpy(buf, "aliases.nisplus nisplus -kalias -vexpansion mail_aliases.org_dir",
765 (void) sm_strlcpy(buf, "aliases.nis nis mail.aliases",
774 (void) sm_strlcpy(bu
[all...]
H A Dmci.c1155 if (sm_strlcpy(newpath, pathname, len) >= len)
1185 if (sm_strlcpy(newptr, e->d_name, len) >= len)
1506 (void) sm_strlcpy(t_host, host + 1, sizeof(t_host));
1508 (void) sm_strlcpy(t_host, host, sizeof(t_host));
1548 (void) sm_strlcpy(path, HostStatDir, pathlen);
H A Ddaemon.c1643 (void) sm_strlcpy((char *)&d->d_addr.sunix.sun_path,
2179 (void) sm_strlcpy(p6, p, sizeof(p6));
2948 (void) sm_strlcpy(unix_addr.sun_path, mux_path,
3218 (void) sm_strlcpy(hostbuf, "localhost", size);
3697 (void) sm_strlcpy(hbuf, "IDENT:", sizeof(hbuf));
3736 (void) sm_strlcpy(hbuf, RealHostName, sizeof(hbuf));
3853 (void) sm_strlcpy(p, " (may be forged)", SPACELEFT(hbuf, p));
4017 (void) sm_strlcpy(hbuf, name, sizeof(hbuf));
4060 (void) sm_strlcpy(n, ans, sizeof(n));
4250 sz = sm_strlcpy(ds
[all...]
H A Dsavemail.c253 if (sm_strlcpy(from, e->e_from.q_paddr,
905 (void) sm_strlcpy(buf, shortenstring(q->q_paddr, MAXSHORTSTR),
949 (void) sm_strlcpy(buf, shortenstring(q->q_paddr, MAXSHORTSTR),
1736 (void) sm_strlcpy(hostbuf, at + 1, sizeof(hostbuf));
1744 (void) sm_strlcpy(addr + 1, start + 1,
1753 (void) sm_strlcpy(hostbuf, comma + 2, sizeof(hostbuf));
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmailstats.c132 (void) sm_strlcpy(mtable[mno++], "prog", MNAMELEN + 1);
133 (void) sm_strlcpy(mtable[mno++], "*file*", MNAMELEN + 1);
134 (void) sm_strlcpy(mtable[mno++], "*include*", MNAMELEN + 1);
175 if (sm_strlcpy(sfilebuf, b, sizeof sfilebuf) >=
H A Dpraliases.c154 if (sm_strlcpy(afilebuf, b, sizeof afilebuf) >=
302 (void) sm_strlcpy(user_info.smdbu_name, RunAsUserName,
H A Deditmap.c126 (void) sm_strlcpy(rnamebuf, pw->pw_name, sizeof rnamebuf);
133 (void) sm_strlcpy(user_info.smdbu_name, RunAsUserName,
H A Dmakemap.c131 (void) sm_strlcpy(rnamebuf, pw->pw_name, sizeof rnamebuf);
138 (void) sm_strlcpy(user_info.smdbu_name, RunAsUserName,
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dstring.h71 sm_strlcpy __P((char *_dst, const char *_src, ssize_t _len));

Completed in 97 milliseconds

123