Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 25 of 155) sorted by path

1234567

/illumos-gate/usr/src/boot/libsa/string/
H A Dmemccpy.c45 unsigned char uc = c; in memccpy() local
47 if ((*tp++ = *fp++) == uc) in memccpy()
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Dpciex.esc869 event ereport.io.pciex.tl.uc@PCIEXFN{within(5s)};
1687 * Stub tl.uc as we can't do anything useful with it (we should eventually
1688 * get a cto which we can do something with - a uc without a cto is a genuinely
1710 event ereport.io.pciex.tl.uc@pciexrc{within(5s)};
1721 ereport.io.pciex.tl.uc@PCIEXFN;
1724 ereport.io.pciex.tl.uc@PCIEXFN;
1746 ereport.io.pciex.tl.uc@pciexrc,
H A Dstorage.esc101 event ereport.chassis.sensor.current.uc@controller;
102 event ereport.chassis.sensor.current.uc@fanmodule;
103 event ereport.chassis.sensor.current.uc@psu;
239 ereport.chassis.sensor.current.uc@controller,
245 ereport.chassis.sensor.current.uc@fanmodule,
251 ereport.chassis.sensor.current.uc@psu,
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_trace.c146 ucontext_t uc; in fmd_trace_full() local
154 (void) getcontext(&uc); in fmd_trace_full()
157 (void) walkcontext(&uc, (int (*)())fmd_trace_frame, trp); in fmd_trace_full()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c1351 ucred_t *uc = NULL; in mount() local
1466 if (svc_getcallerucred(rqstp->rq_xprt, &uc) != 0) { in mount()
1472 if ((clabel = ucred_getlabel(uc)) == NULL) { in mount()
1553 if (uc != NULL) in mount()
1554 ucred_free(uc); in mount()
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c1590 unsigned char *uc = (unsigned char *)pat; in bmgcomp() local
1601 bmgtab[*uc++] = tlen; in bmgcomp()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c368 ucred_t *uc = NULL; in cmd_changestate() local
385 if (door_ucred(&uc) != 0) { in cmd_changestate()
391 if (check_auth(uc, HP_MODIFY_AUTH) != 0) { in cmd_changestate()
393 audit_changestate(uc, HP_MODIFY_AUTH, path, connection, in cmd_changestate()
395 ucred_free(uc); in cmd_changestate()
408 ucred_free(uc); in cmd_changestate()
465 ucred_t *uc = NULL; in cmd_private() local
473 if ((cmd == HP_CMD_SETPRIVATE) && (door_ucred(&uc) != 0)) { in cmd_private()
488 (check_auth(uc, HP_MODIFY_AUTH) != 0)) { in cmd_private()
492 ucred_free(uc); in cmd_private()
[all …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c891 ucred_t *uc = NULL; in verify_rules_auth() local
896 if (svc_getcallerucred(rqstp->rq_xprt, &uc) != 0) { in verify_rules_auth()
902 uid = ucred_geteuid(uc); in verify_rules_auth()
906 ucred_free(uc); in verify_rules_auth()
913 ucred_free(uc); in verify_rules_auth()
920 ucred_free(uc); in verify_rules_auth()
924 ucred_free(uc); in verify_rules_auth()
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Ddoor.c911 process_mgmt_request(xmlDocPtr x_doc, request_t *req, ucred_t *uc) in process_mgmt_request() argument
936 user = ucred_getruid(uc); in process_mgmt_request()
1332 ucred_t *uc = NULL; in door_server() local
1338 if (door_ucred(&uc) != 0) { in door_server()
1356 if ((ret = process_mgmt_request(x_doc, &req, uc)) == 0) { in door_server()
1369 ucred_free(uc); in door_server()
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c692 ucred_t *uc = NULL; local
804 if (is_root(1, "KILLSERVER", &uc))
815 if (is_root(1, "SETADMIN", &uc))
838 if (is_root(0, "SETCACHE", &uc) &&
845 if (uc != NULL)
846 ucred_free(uc);
870 if (is_root(0, "GETSTATUSCHANGE", &uc) &&
873 &configInfo, ptr, ucred_getpid(uc));
879 if (uc != NULL)
880 ucred_free(uc);
[all …]
H A Dcachemgr_change.c223 ucred_t *uc = NULL; in door_client_dead() local
226 if (door_ucred(&uc) == -1 && errno == EINVAL) { in door_client_dead()
231 if (uc) in door_client_dead()
232 ucred_free(uc); in door_client_dead()
654 ucred_t *uc = NULL; in chg_is_called_from_nscd_or_peruser_nscd() local
656 if (door_ucred(&uc) != 0) { in chg_is_called_from_nscd_or_peruser_nscd()
661 euid = ucred_geteuid(uc); in chg_is_called_from_nscd_or_peruser_nscd()
662 pid = *pidp = ucred_getpid(uc); in chg_is_called_from_nscd_or_peruser_nscd()
669 ucred_getruid(uc), euid); in chg_is_called_from_nscd_or_peruser_nscd()
675 ucred_getruid(uc), euid); in chg_is_called_from_nscd_or_peruser_nscd()
[all …]
H A Dcachemgr_getldap.c2685 ucred_t *uc = NULL; in getldap_admincred() local
2691 if (is_root_or_all_privs("GETADMINCRED", &uc) == 0) { in getldap_admincred()
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c966 unsigned char uc; in outchar() local
968 uc = (unsigned char) c; in outchar()
970 if ((uc == '\\') || (uc == ';') || (uc == '"')) { in outchar()
972 (void) putchar(uc); in outchar()
973 } else if (iscntrl(uc)) { in outchar()
974 (void) printf("%cx%02x", escapec, uc); in outchar()
976 (void) putchar(uc); in outchar()
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dtx.c108 ucred_t *uc = NULL; in get_peer_label() local
121 if (getpeerucred(fd, &uc) == -1) in get_peer_label()
124 sl = ucred_getlabel(uc); in get_peer_label()
139 ucred_free(uc); in get_peer_label()
/illumos-gate/usr/src/cmd/mandoc/
H A Dchars.c499 mchars_uc2str(int uc) in mchars_uc2str() argument
504 if (uc == lines[i].unicode) in mchars_uc2str()
H A Dmain.c140 unsigned char *uc; in main() local
426 ((uc = (unsigned char *)argv[0]) != NULL) && in main()
427 ((isdigit(uc[0]) && (uc[1] == '\0' || in main()
428 isalpha(uc[1]))) || in main()
429 (uc[0] == 'n' && uc[1] == '\0'))) { in main()
430 search.sec = (char *)uc; in main()
H A Dmdoc_markdown.c512 int bs, sz, uc, breakline; in md_word() local
587 uc = 0; in md_word()
594 uc = mchars_num2char(seq, sz); in md_word()
597 uc = mchars_spec2cp(seq, sz); in md_word()
600 uc = *seq; in md_word()
648 if (uc) { in md_word()
649 if ((uc < 0x20 && uc != 0x09) || in md_word()
650 (uc > 0x7E && uc < 0xA0)) in md_word()
651 uc = 0xFFFD; in md_word()
653 seq = mchars_uc2str(uc); in md_word()
[all …]
H A Dterm.c589 uc = *seq; in term_word()
634 uc = 0; in term_word()
664 lsz = uc; in term_word()
666 uc = -1; in term_word()
684 uc = -1; in term_word()
688 uc = *cp; in term_word()
689 if (uc < 0x20 || (uc > 0x7E && uc < 0xA0)) in term_word()
744 if ((uc < 0x20 && uc != 0x09) || in term_word()
745 (uc > 0x7E && uc < 0xA0)) in term_word()
1012 if ((uc < 0x20 && uc != 0x09) || in term_strlen()
[all …]
H A Dterm_ascii.c299 ascii_uc2str(int uc) in ascii_uc2str() argument
368 assert(uc >= 0); in ascii_uc2str()
369 if ((size_t)uc < sizeof(tab)/sizeof(tab[0])) in ascii_uc2str()
370 return tab[uc]; in ascii_uc2str()
371 return mchars_uc2str(uc); in ascii_uc2str()
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/
H A Dlibc.c122 ucontext_t uc; in d_ucontext() local
127 if (mdb_vread(&uc, sizeof (uc), addr) != sizeof (uc)) { in d_ucontext()
133 (uint_t)uc.uc_flags, uc_flags_bits); in d_ucontext()
136 uc.uc_sigmask.__sigbits[0], uc.uc_sigmask.__sigbits[1], in d_ucontext()
137 uc.uc_sigmask.__sigbits[2], uc.uc_sigmask.__sigbits[3]); in d_ucontext()
139 uc.uc_stack.ss_sp, uc.uc_stack.ss_size, stack_flags(&uc.uc_stack)); in d_ucontext()
329 ucontext_t uc; in uc_walk_step() local
334 if (mdb_vread(&uc, sizeof (uc), addr) != sizeof (uc)) { in uc_walk_step()
339 wsp->walk_addr = (uintptr_t)uc.uc_link; in uc_walk_step()
383 ucontext_t uc; in oldc_walk_step() local
[all …]
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_lex.c352 unsigned int uc; in yylex() local
418 uc = pch->buf[0]; in yylex()
420 if (uc == '\n') { in yylex()
425 if (uc == '"') in yylex()
427 if (uc == '\\') in yylex()
444 uc = pch->buf[0]; in yylex()
446 if (isalpha(uc) || (uc == '_')) { in yylex()
450 buf[buf_pos++] = (char)uc; in yylex()
455 isdigit(uc) || (uc == '_'))) { in yylex()
489 if (isdigit(uc)) { in yylex()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c315 ucred_t *uc = NULL; in _nscd_get_client_euid() local
326 ucred_free(uc); in _nscd_get_client_euid()
341 ucred_t *uc = NULL; in _nscd_check_client_priv() local
353 ucred_free(uc); in _nscd_check_client_priv()
379 ucred_free(uc); in _nscd_check_client_priv()
414 ucred_getruid(uc), ucred_geteuid(uc), zoneid); in N2N_check_priv()
415 ucred_free(uc); in N2N_check_priv()
424 ucred_getruid(uc), ucred_geteuid(uc), zoneid); in N2N_check_priv()
426 ucred_free(uc); in N2N_check_priv()
440 ucred_t *uc = NULL; in _nscd_APP_check_cred() local
[all …]
H A Dnscd_selfcred.c511 ucred_t *uc = NULL; in _nscd_proc_iamhere() local
530 uid = ucred_geteuid(uc); in _nscd_proc_iamhere()
704 ucred_free(uc); in _nscd_proc_iamhere()
705 uc = NULL; in _nscd_proc_iamhere()
951 ucred_t *uc = NULL; in _nscd_proc_alt_get() local
981 ucred_free(uc); in _nscd_proc_alt_get()
982 uc = NULL; in _nscd_proc_alt_get()
1264 ucred_t *uc = NULL; in _nscd_peruser_getadmin() local
1279 uid = ucred_geteuid(uc); in _nscd_peruser_getadmin()
1280 ucred_free(uc); in _nscd_peruser_getadmin()
[all …]
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c2998 int i, j, uc; in convertascii() local
3001 uc = (unsigned char)*(c + i); in convertascii()
3002 if (isascii(uc)) { in convertascii()
3003 if (iscntrl(uc)) { in convertascii()
3005 if (cntrl_map[j].from == uc) { in convertascii()
3013 *p++ = (char)(uc ^ 0100); in convertascii()
3016 *p++ = (char)uc; in convertascii()
3019 p += sprintf(p, "\\%03o", uc); in convertascii()
/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c180 uchar_t *uc, *ucp, c, ic; in unctrl_str_strict_ascii() local
202 return ((char *)uc); in unctrl_str_strict_ascii()
220 char *uc; in unctrl_str() local
289 uc = safe_zalloc(destlen); in unctrl_str()
301 tmp = safe_strdup(uc); in unctrl_str()
302 free(uc); in unctrl_str()
303 uc = tmp; in unctrl_str()
307 return (uc); in unctrl_str()
404 char *uc; in quote_string() local
461 uc = safe_zalloc(destlen); in quote_string()
[all …]

1234567