Searched refs:suser (Results 1 - 18 of 18) sorted by relevance

/freebsd-10-stable/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c199 uuser->suser.auth_proto = clone->suser.auth_proto;
200 uuser->suser.priv_proto = clone->suser.priv_proto;
201 memcpy(uuser->suser.auth_key, clone->suser.auth_key,
202 sizeof(uuser->suser.auth_key));
203 memcpy(uuser->suser.priv_key, clone->suser.priv_key,
204 sizeof(uuser->suser
[all...]
/freebsd-10-stable/bin/rcp/
H A Drcp.c212 char *bp, *host, *src, *suser, *thost, *tuser; local
240 suser = argv[i];
241 if (*suser == '\0')
242 suser = pwd->pw_name;
243 else if (!okname(suser)) {
249 _PATH_RSH, host, suser, cmd, src,
294 char *bp, *host, *src, *suser; local
315 suser = pwd->pw_name;
318 suser = argv[i];
319 if (*suser
[all...]
/freebsd-10-stable/crypto/heimdal/appl/rcp/
H A Drcp.c154 char *bp, *host, *src, *suser, *thost, *tuser; local
185 suser = argv[i];
186 if (*suser == '\0')
187 suser = pwd->pw_name;
188 else if (!okname(suser))
193 host, suser, cmd, src,
231 char *bp, *host, *src, *suser; local
252 suser = pwd->pw_name;
255 suser = argv[i];
256 if (*suser
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dscp.c589 char *bp, *host, *src, *suser, *thost, *tuser, *arg; local
628 suser = argv[i];
629 if (*suser == '\0')
630 suser = pwd->pw_name;
631 else if (!okname(suser))
635 suser = NULL;
639 if (do_cmd(host, suser, bp, &remin, &remout) < 0)
669 suser = argv[i];
670 if (*suser == '\0')
671 suser
709 char *bp, *host, *src, *suser; local
[all...]
/freebsd-10-stable/sys/dev/ce/
H A Dif_ce.c1294 error = suser (p);
1296 error = suser (td);
1337 error = suser (p);
1339 error = suser (td);
1367 error = suser (p);
1369 error = suser (td);
1387 error = suser (p);
1389 error = suser (td);
1489 error = suser (p);
1491 error = suser (t
[all...]
/freebsd-10-stable/contrib/bsnmp/snmpd/
H A Dmain.c330 pdu->user.priv_proto = usm_user->suser.priv_proto;
331 memcpy(pdu->user.priv_key, usm_user->suser.priv_key,
337 pdu->user.auth_proto = usm_user->suser.auth_proto;
338 memcpy(pdu->user.auth_key, usm_user->suser.auth_key,
357 usm_user->suser.auth_proto != SNMP_AUTH_NOAUTH) ||
359 usm_user->suser.priv_proto != SNMP_PRIV_NOPRIV))
642 } else if (usm_user->suser.auth_proto != SNMP_AUTH_NOAUTH &&
2568 strlen(uuser->suser.sec_name) == strlen(uname) &&
2569 strcmp(uuser->suser.sec_name, uname) == 0)
2592 if (strlen(u1->suser
[all...]
H A Dtrap.c510 pdu->user.auth_proto = usmuser->suser.auth_proto;
511 pdu->user.priv_proto = usmuser->suser.priv_proto;
512 memcpy(pdu->user.auth_key, usmuser->suser.auth_key,
514 memcpy(pdu->user.priv_key, usmuser->suser.priv_key,
H A Dsnmpmod.h359 struct snmp_user suser; member in struct:usm_user
/freebsd-10-stable/sys/contrib/altq/altq/
H A Daltq_rio.c537 if ((error = suser(p)) != 0)
540 if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
H A Daltq_red.c782 if ((error = suser(p)) != 0)
784 if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
H A Daltq_cbq.c1060 error = suser(p);
1062 error = suser(p->p_ucred, &p->p_acflag);
H A Daltq_priq.c811 if ((error = suser(p)) != 0)
814 if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
H A Daltq_cdnr.c1267 if ((error = suser(p)) != 0)
1269 if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
H A Daltq_hfsc.c1964 if ((error = suser(p)) != 0)
1967 if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
/freebsd-10-stable/sys/dev/lmc/
H A Dif_lmc.h1230 # define CHECK_CAP suser(curthread)
1237 # define CHECK_CAP suser(curproc)
1282 # define CHECK_CAP suser(curproc->p_ucred, &curproc->p_acflag)
1311 # define CHECK_CAP suser(curproc, 0)
1346 # define CHECK_CAP suser(PCPU(curproc)->p_ucred, &PCPU(curproc)->p_acflag)
/freebsd-10-stable/sys/dev/drm/
H A DdrmP.h233 #define DRM_SUSER(p) (suser(p) == 0)
/freebsd-10-stable/sys/nlm/
H A Dnlm_prot_impl.c1704 error = suser(td);
/freebsd-10-stable/sys/dev/cxgb/
H A Dcxgb_main.c2494 if (suser(td)) {

Completed in 167 milliseconds