/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | sigaction.c | 530 ucontext_t uc; in setcontext() local 538 (void) memcpy(&uc, ucp, sizeof (uc)); in setcontext() 543 if (uc.uc_flags & UC_SIGMASK) { in setcontext() 545 delete_reserved_signals(&uc.uc_sigmask); in setcontext() 546 self->ul_sigmask = uc.uc_sigmask; in setcontext() 554 uc.uc_flags &= ~UC_SIGMASK; in setcontext() 557 self->ul_siglink = uc.uc_link; in setcontext() 568 uc.uc_mcontext.gregs[REG_G7] = (greg_t)self; in setcontext() 575 uc.uc_mcontext.gregs[REG_FS] = (greg_t)0; in setcontext() 591 ret = __setcontext(&uc); in setcontext() [all …]
|
/illumos-gate/usr/src/data/terminfo/ |
H A D | terminfo.src | 8389 tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 15236 kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, 15246 # uc was at one time disabled to get around a curses bug, be wary of it 15254 kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 16098 smul=\E[4m, tsl=\E], uc=\EPB, 16509 is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 16523 ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 18773 smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 19213 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 19219 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, [all …]
|
H A D | termcap.src | 7510 :ts=\E[4;1v\E_30:uc=\EG8\EG0:ue=\EG0:up=^K:us=\EG8:\ 13544 :kd=^K:kl=^H:kr=^X:ku=^Z:sr=3\EH:uc=^H\EA:tc=act4: 13553 # uc was at one time disabled to get around a curses bug, be wary of it 13559 :ku=^Z:le=^H:nd=^X:sf=^J:sr=3\022:ta=2\011:uc=^U:up=^Z: 14246 :sf=^J:so=\E[7m:sr=\EI:ta=^I:ts=\E]:uc=\EPB:ue=\E[m:up=\E[A:\ 14625 :nd=\ELM1 \ELM0:uc=\010\ELM1_\ELM0:\ 14638 :uc=\010\EMG1_\EMG0:up=^K:\ 16710 :uc=\001\001_\001\200:up=^K: 17120 z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor:\ 17126 z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick:\ [all …]
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zoneadmd.c | 1177 if (adt_set_from_ucred(ah, uc, ADT_NEW)) { in audit_put_record() 1208 ucred_t *uc = NULL; in server() local 1266 if (door_ucred(&uc) != 0) { in server() 1270 eset = ucred_getprivset(uc, PRIV_EFFECTIVE); in server() 1271 if (ucred_getzoneid(uc) != GLOBAL_ZONEID || in server() 1273 ucred_geteuid(uc) != 0)) { in server() 1278 kernelcall = ucred_getpid(uc) == 0; in server() 1294 ucred_free(uc); in server() 1383 audit_put_record(zlogp, uc, rval, "boot"); in server() 1656 if (uc != NULL) in server() [all …]
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 240 ucred_is_privileged(ucred_t *uc) in ucred_is_privileged() argument 244 if ((ps = ucred_getprivset(uc, PRIV_EFFECTIVE)) != NULL) { in ucred_is_privileged() 338 create_connection(ucred_t *uc, repository_door_request_t *rp, in create_connection() argument 352 if (ucred_getpid(uc) != privileged_pid || in create_connection() 363 if (ucred_geteuid(uc) != privileged_user) in create_connection() 393 return (create_client(ucred_getpid(uc), debugflags, privileged, in create_connection()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_frontend.c | 315 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 …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
H A D | libc.c | 122 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/ldapcachemgr/ |
H A D | cachemgr_getldap.c | 2685 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/lib/libbsm/common/ |
H A D | adt.c | 1303 adt_ucred_label(ucred_t *uc) in adt_ucred_label() argument 1307 if (ucred_getlabel(uc) != NULL) { in adt_ucred_label() 1308 (void) m_label_dup(&ul, ucred_getlabel(uc)); in adt_ucred_label() 1748 adt_set_from_ucred(const adt_session_data_t *session_data, const ucred_t *uc, in adt_set_from_ucred() argument 1755 ucred_t *ucred = (ucred_t *)uc; in adt_set_from_ucred()
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | northamerica | 533 # 1973-11. https://escholarship.org/uc/item/8x22k30c
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | door.c | 911 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/truss/ |
H A D | expound.c | 3504 s = ucred_getprivset(uc, sn); in show_ucred_privsets() 3521 ucred_t *uc = _ucred_alloc(); in show_ucred() local 3524 if (uc == NULL) in show_ucred() 3527 sz = Pread(Proc, uc, uc->uc_size, offset); in show_ucred() 3536 ucred_geteuid(uc), in show_ucred() 3537 ucred_getegid(uc)); in show_ucred() 3540 ucred_getruid(uc), in show_ucred() 3541 ucred_getrgid(uc)); in show_ucred() 3544 (int)ucred_getpid(uc), in show_ucred() 3546 show_ucred_privsets(pri, uc); in show_ucred() [all …]
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_authsvc.c | 238 ucred_t *uc = NULL; in authsock_has_priv() local 243 if (getpeerucred(sock, &uc) != 0) { in authsock_has_priv() 247 clpid = ucred_getpid(uc); in authsock_has_priv() 248 ps = ucred_getprivset(uc, PRIV_EFFECTIVE); in authsock_has_priv() 265 (int)clpid, ucred_getruid(uc)); in authsock_has_priv() 270 if (uc != NULL) in authsock_has_priv() 271 ucred_free(uc); in authsock_has_priv()
|
H A D | smbd_pipesvc.c | 275 ucred_t *uc = NULL; in pipe_has_priv() local 280 if (getpeerucred(np->np_fid, &uc) != 0) { in pipe_has_priv() 284 clpid = ucred_getpid(uc); in pipe_has_priv() 285 ps = ucred_getprivset(uc, PRIV_PERMITTED); in pipe_has_priv() 302 (int)clpid, ucred_getruid(uc)); in pipe_has_priv() 307 if (uc != NULL) in pipe_has_priv() 308 ucred_free(uc); in pipe_has_priv()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 1351 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/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 957 const unsigned char *uc; in fake_getnameinfo() local 960 uc = (const unsigned char *) &sinp->sin_addr; in fake_getnameinfo() 961 sprintf(tmpbuf, "%d.%d.%d.%d", uc[0], uc[1], uc[2], uc[3]); in fake_getnameinfo()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term_ascii.c | 299 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/idmap/idmapd/ |
H A D | server.c | 891 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/uts/intel/syscall/ |
H A D | getcontext.c | 291 ucontext_t uc; in getsetcontext() local 317 if (copyout(&uc, arg, sizeof (uc))) in getsetcontext() 347 if (copyout(&uc, arg, sizeof (uc))) in getsetcontext() 373 uc.uc_xsave = 0; in getsetcontext() 388 restorecontext(&uc); in getsetcontext() 392 sizeof (uc.uc_stack)); in getsetcontext() 519 ucontext32_t uc; in getsetcontext32() local 538 if (copyout(&uc, arg, sizeof (uc))) in getsetcontext32() 557 if (copyout(&uc, arg, sizeof (uc))) in getsetcontext32() 577 uc.uc_xsave = 0; in getsetcontext32() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | sendsig.c | 146 ucontext_t *uc; in sendsig() local 185 minstacksz = sizeof (struct sigframe) + SA(sizeof (*uc)); in sendsig() 316 uc = (ucontext_t *)(sp + sizeof (struct sigframe) + xsave_size); in sendsig() 323 copyout_noerr(tuc, uc, sizeof (*tuc)); in sendsig() 327 lwp->lwp_oldcontext = (uintptr_t)uc; in sendsig() 364 rp->r_rdx = (uintptr_t)uc; in sendsig() 434 ucontext32_t *uc; in sendsig32() local 551 uc = (ucontext32_t *)fp; in sendsig32() 562 copyout_noerr(tuc, uc, sizeof (*tuc)); in sendsig32() 566 lwp->lwp_oldcontext = (uintptr_t)uc; in sendsig32() [all …]
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | makectxt.c | 121 ucontext_t uc; in resumecontext() local 123 (void) getcontext(&uc); in resumecontext() 124 (void) setcontext(uc.uc_link); in resumecontext()
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | makectxt.c | 125 ucontext_t uc; in resumecontext() local 127 (void) getcontext(&uc); in resumecontext() 128 (void) setcontext(uc.uc_link); in resumecontext()
|
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 1485 int pcc, uc; in gcpu_mca_process() local 1495 uc = (mcistatus & MSR_MC_STATUS_UC) != 0; in gcpu_mca_process() 1497 mcesp->mce_nuc += uc; in gcpu_mca_process() 1508 if (uc && ms_scope & CMS_ERRSCOPE_CLEARED_UC) { in gcpu_mca_process() 1509 uc = 0; in gcpu_mca_process() 1514 if (uc) { in gcpu_mca_process() 1527 if (uc && !poisoned) { in gcpu_mca_process()
|
/illumos-gate/usr/src/uts/common/sys/rsm/ |
H A D | rsm_common.h | 196 uchar_t uc[8]; member
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cis_handlers.h | 373 uint32_t uc; /* UART capabilities */ member
|