Home
last modified time | relevance | path

Searched refs:SCPYN (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c350 #define SCPYN(a, b) strncpy(a, b, sizeof (a)) macro
381 SCPYN(utmp.ut_user, "");
391 SCPYN(ut.ut_host, "");
406 SCPYN(utmp.ut_name, "");
407 SCPYN(utmp.ut_host, "");
444 SCPYN(ut.ut_user, pw->pw_name);
451 SCPYN(ut.ut_line, line);
456 SCPYN(ut.ut_host, remotehost);
488 SCPYN(utmp.ut_line, line);
489 SCPYN(utmp.ut_name, pw->pw_name);
[all …]
/illumos-gate/usr/src/lib/pam_modules/dial_auth/
H A Ddial_auth.c44 #define SCPYN(a, b) (void) strncpy(a, b, sizeof (a)) macro
140 SCPYN(defpass, p2); in pam_sm_authenticate()
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c144 #define SCPYN(a, b) (void) strncpy(a, b, sizeof (a)) macro
2046 SCPYN(utmpx.ut_host, remote_host); in update_utmpx_entry()
2057 SCPYN(utmpx.ut_host, zone_name); in update_utmpx_entry()
2067 SCPYN(utmpx.ut_user, user); in update_utmpx_entry()
2079 SCPYN(utmpx.ut_line, (ttyn+sizeof ("/dev/")-1)); in update_utmpx_entry()
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c771 #define SCPYN(a, b) strncpy(a, b, NMAX) macro
816 (void) SCPYN(&c->name[0], pw->pw_name); in getname()
834 (void) SCPYN(&c->name[0], gr->gr_name); in getgroup()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c2194 #define SCPYN(a, b) (void) strlcpy(a, b, NMAX) macro
2258 SCPYN(&c->name[0], sid); in getname()
2261 SCPYN(&c->name[0], pwent->pw_name); in getname()
2294 SCPYN(&c->name[0], sid); in getgroup()
2297 SCPYN(&c->name[0], grent->gr_name); in getgroup()
2324 SCPYN(&c->name[0], sid); in getusid()
2351 SCPYN(&c->name[0], sid); in getgsid()
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c84 #define SCPYN(a, b) (void) strncpy(a, b, NMAX) macro
141 SCPYN(&c->name[0], pwent->pw_name); in getname()
168 SCPYN(&c->name[0], grent->gr_name); in getgroup()
192 SCPYN(&c->name[0], pwent->pw_name); in loadnames()
211 SCPYN(&c->name[0], grent->gr_name); in loadgroups()
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1606 #define SCPYN(a, b) (void) strncpy(a, b, NMAX) macro
1637 SCPYN(nc[cp].name, pw->pw_name); in getname()
1662 SCPYN(gc[cp].name, gr->gr_name); in getgroup()