/titanic_44/usr/src/lib/libast/common/disc/ |
H A D | sfdcsubstr.c | 52 reg Subfile_t *su; local 56 su = (Subfile_t*)disc; 59 if(su->extent >= 0 && (ssize_t)n > (io = (ssize_t)(su->extent - su->here)) ) 68 here = su->here + su->offset; 76 su->here += io; 121 reg Subfile_t* su; local 124 su = (Subfile_t*)disc; 132 here = su->here; 135 if(su->extent >= 0) 136 here = su->extent; [all …]
|
/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | svc_dg.c | 98 struct svc_dg_data *su = xprt ? get_svc_dg_data(xprt) : NULL; in svc_dg_xprtfree() local 111 if (su != NULL) { in svc_dg_xprtfree() 112 XDR_DESTROY(&(su->su_xdrs)); in svc_dg_xprtfree() 113 free(su); in svc_dg_xprtfree() 124 struct svc_dg_data *su = NULL; in svc_dg_create_private() local 154 su = malloc(sizeof (*su) + ucred_sz); in svc_dg_create_private() 155 if (su == NULL) in svc_dg_create_private() 157 su->su_iosz = ((MAX(sendsize, recvsize) + 3) / 4) * 4; in svc_dg_create_private() 158 if ((rpc_buffer(xprt) = malloc(su->su_iosz)) == NULL) in svc_dg_create_private() 160 xdrmem_create(&(su->su_xdrs), rpc_buffer(xprt), su->su_iosz, in svc_dg_create_private() [all …]
|
H A D | svc_door.c | 185 struct svc_door_data *su = su_data(xprt); in svc_door_dispatch() local 203 if (su->call_info.prognum == r->rq_prog && su->call_info.versnum == in svc_door_dispatch() 205 (*su->call_info.dispatch)(r, xprt); in svc_door_dispatch() 213 if (su->call_info.prognum == r->rq_prog) in svc_door_dispatch() 214 svcerr_progvers(xprt, su->call_info.versnum, in svc_door_dispatch() 215 su->call_info.versnum); in svc_door_dispatch() 235 struct svc_door_data *su; in door_server() local 270 su = su_data(xprt); in door_server() 271 su->argbuf = argp; in door_server() 272 su->arglen = arg_size; in door_server() [all …]
|
/titanic_44/usr/src/ucblib/librpcsoc/ |
H A D | svc_udp.c | 111 register struct svcudp_data *su; local 143 su = (struct svcudp_data *)mem_alloc(sizeof (*su)); 144 if (su == NULL) { 151 su->su_iosz = ((MAX(sendsz, recvsz) + 3) / 4) * 4; 152 if ((rpc_buffer(xprt) = (char *)mem_alloc(su->su_iosz)) == NULL) { 154 mem_free((char *) su, sizeof (*su)); 161 &(su->su_xdrs), rpc_buffer(xprt), su->su_iosz, XDR_DECODE); 162 su->su_cache = NULL; 163 xprt->xp_p2 = (caddr_t)su; 165 xprt->xp_verf.oa_base = su->su_verfbody; [all …]
|
/titanic_44/usr/src/cmd/mandoc/ |
H A D | term_ascii.c | 217 ascii_hspan(const struct termp *p, const struct roffsu *su) in ascii_hspan() argument 226 switch (su->unit) { in ascii_hspan() 228 r = 4 * su->scale; in ascii_hspan() 231 r = 10 * su->scale; in ascii_hspan() 234 r = (10 * su->scale) / 6; in ascii_hspan() 237 r = (10 * su->scale) / 72; in ascii_hspan() 240 r = su->scale / 1000; in ascii_hspan() 243 r = su->scale * 2 - 1; in ascii_hspan() 246 r = su->scale; in ascii_hspan()
|
H A D | man_html.c | 292 a2width(const struct man_node *n, struct roffsu *su) in a2width() argument 297 if (a2roffsu(n->string, su, SCALE_BU)) in a2width() 390 struct roffsu su; in man_br_pre() local 393 SCALE_VS_INIT(&su, 1); in man_br_pre() 397 if ( ! a2roffsu(n->string, &su, SCALE_VS)) in man_br_pre() 398 SCALE_VS_INIT(&su, atoi(n->string)); in man_br_pre() 400 su.scale = 0; in man_br_pre() 403 bufcat_su(h, "height", &su); in man_br_pre() 569 struct roffsu su; in man_HP_pre() local 579 if (NULL == np || ! a2width(np, &su)) in man_HP_pre() [all …]
|
H A D | mdoc_html.c | 278 a2width(const char *p, struct roffsu *su) in a2width() argument 281 if ( ! a2roffsu(p, su, SCALE_MAX)) { in a2width() 282 su->unit = SCALE_BU; in a2width() 283 su->scale = html_strlen(p); in a2width() 337 a2offs(const char *p, struct roffsu *su) in a2offs() argument 343 SCALE_HS_INIT(su, 0); in a2offs() 345 SCALE_HS_INIT(su, INDENT); in a2offs() 347 SCALE_HS_INIT(su, INDENT * 2); in a2offs() 348 else if ( ! a2roffsu(p, su, SCALE_MAX)) in a2offs() 349 SCALE_HS_INIT(su, html_strlen(p)); in a2offs() [all …]
|
H A D | term.c | 747 term_vspan(const struct termp *p, const struct roffsu *su) in term_vspan() argument 751 switch (su->unit) { in term_vspan() 753 r = su->scale * 2; in term_vspan() 756 r = su->scale * 6; in term_vspan() 759 r = su->scale; in term_vspan() 762 r = su->scale / 8; in term_vspan() 765 r = su->scale / 1000; in term_vspan() 768 r = su->scale; in term_vspan() 771 r = su->scale - 1; in term_vspan() 782 term_hspan(const struct termp *p, const struct roffsu *su) in term_hspan() argument [all …]
|
H A D | term_ps.c | 1127 ps_hspan(const struct termp *p, const struct roffsu *su) in ps_hspan() argument 1136 switch (su->unit) { in ps_hspan() 1138 r = PNT2AFM(p, su->scale * 28.34); in ps_hspan() 1141 r = PNT2AFM(p, su->scale * 72); in ps_hspan() 1144 r = PNT2AFM(p, su->scale * 12); in ps_hspan() 1147 r = PNT2AFM(p, su->scale * 100); in ps_hspan() 1150 r = su->scale * in ps_hspan() 1154 r = PNT2AFM(p, su->scale * 2.834); in ps_hspan() 1157 r = su->scale * in ps_hspan() 1161 r = su->scale * p->ps->lineheight; in ps_hspan() [all …]
|
H A D | tbl_html.c | 55 struct roffsu su; in html_tblopen() local 71 SCALE_HS_INIT(&su, col->width); in html_tblopen() 72 bufcat_su(h, "width", &su); in html_tblopen()
|
H A D | mdoc_term.c | 518 struct roffsu su; in a2height() local 522 if ( ! a2roffsu(v, &su, SCALE_VS)) in a2height() 523 SCALE_VS_INIT(&su, atoi(v)); in a2height() 525 return(term_vspan(p, &su)); in a2height() 532 struct roffsu su; in a2width() local 535 if ( ! a2roffsu(v, &su, SCALE_MAX)) in a2width() 536 SCALE_HS_INIT(&su, term_strlen(p, v)); in a2width() 538 return(term_hspan(p, &su)); in a2width() 545 struct roffsu su; in a2offs() local 555 else if ( ! a2roffsu(v, &su, SCALE_MAX)) in a2offs() [all …]
|
/titanic_44/usr/src/uts/sparc/os/ |
H A D | minor_perm | 5 su:[a-z] 0666 root sys 6 su:[a-z],cu 0600 uucp uucp 7 su:ssp 0600 root sys 8 su:sspctl 0600 root sys
|
H A D | name_to_major | 3 su 37
|
/titanic_44/usr/src/cmd/su/ |
H A D | su.dfl | 27 # SULOG determines the location of the file used to log all su attempts 31 # CONSOLE determines whether attempts to su to root should be logged 45 # to log all su attempts. LOG_NOTICE messages are generated for su's to 46 # root, LOG_INFO messages are generated for su's to other users, and LOG_CRIT 47 # messages are generated for failed su attempts.
|
H A D | Makefile | 28 PROG = su 29 ROOTFS_PROG = su.static 30 DEFAULTFILES = su.dfl
|
H A D | su.c | 147 char su[PATH_MAX] = "su"; /* arg0 for exec of shprog */ variable 466 (void) strcpy(su, eflag ? "-" : ""); in main() 469 (void) strlcat(su, p + 1, sizeof (su)); in main() 471 (void) strlcat(su, pshell, sizeof (su)); in main() 474 (void) strcpy(su, eflag ? "-su" : "su"); in main() 660 argv[1] = su; in main() 663 (void) execl(pshell, su, 0); in main() 678 (void) strcpy(su, "-sh"); in main() 682 (void) strcpy(su, "sh"); in main() 686 argv[1] = su; in main() [all …]
|
/titanic_44/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv_common.c | 84 struct svc_dg_data *su = get_svc_dg_data(xprt); in svc_getxid() local 85 if (su == NULL) in svc_getxid() 88 return (su->su_xid); in svc_getxid()
|
/titanic_44/usr/src/uts/common/avs/ns/unistat/ |
H A D | spcs_s_k.c | 237 p->idata[p->icount].su.type = SU_STRING; in add_item() 238 p->idata[p->icount++].su.offset = p->scount; in add_item() 732 p->idata[p->icount].su.type = SU_BYTESTREAM; in spcs_s_add_bytestream() 733 p->idata[p->icount].su.offset = p->tcount++; in spcs_s_add_bytestream() 734 p->tdata[p->idata[p->icount].su.offset].size = size; in spcs_s_add_bytestream() 735 p->tdata[p->idata[p->icount++].su.offset].u_p.data = data; in spcs_s_add_bytestream() 861 if (p->idata[i+s].su.type == SU_STRING) in spcs_s_asynch_status() 865 p->idata[i+s].su.offset)); in spcs_s_asynch_status() 870 bp = p->tdata[p->idata[i+s].su.offset].u_p.data; in spcs_s_asynch_status() 874 b < p->tdata[p->idata[i+s].su.offset].size; in spcs_s_asynch_status()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | un.h | 78 #define SUN_LEN(su) (sizeof (sa_family_t) + strlen((su)->sun_path)) argument
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | sidsys.c | 44 uid_t su = 0; in allocids() local 73 err = eph_uid_alloc(zone, flag, &su, nuids); in allocids() 80 r.r_val1 = su; in allocids()
|
/titanic_44/usr/src/lib/libresolv2/common/irs/ |
H A D | irp.c | 58 #define SUN_LEN(su) \ argument 59 (sizeof (*(su)) - sizeof ((su)->sun_path) + strlen((su)->sun_path))
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 288 static void sodump(su_t *su, char *which); 2044 su_t *su; in getaddr() local 2060 su = &rcip->ri_dst; in getaddr() 2061 su->sa.sa_family = rcip->ri_af; in getaddr() 2065 su = &rcip->ri_gate; in getaddr() 2066 su->sa.sa_family = rcip->ri_af; in getaddr() 2069 su = &rcip->ri_mask; in getaddr() 2070 su->sa.sa_family = rcip->ri_af; in getaddr() 2080 su = &rcip->ri_ifa; in getaddr() 2081 su->sa.sa_family = rcip->ri_af; in getaddr() [all …]
|
/titanic_44/usr/src/cmd/sa/ |
H A D | README | 52 0 8-17 * * 1-5 su sys -c "/usr/lib/sa/sa1 1200 3 &" and 53 0 18-23 * * 1-5 su sys -c "/usr/lib/sa/sa1 &" 74 5 18 * * 1-5 su adm -c "/usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 3600
|
/titanic_44/usr/src/cmd/bnu/ |
H A D | README | 82 39,9 * * * * /usr/bin/su uucp -c "/usr/lib/uucp/uudemon.hour" > /dev/null 83 10 * * * * /usr/bin/su uucp -c "/usr/lib/uucp/uudemon.poll" > /dev/null 84 45 23 * * * ulimit 5000; /usr/bin/su uucp -c "/usr/lib/uucp/uudemon.cleanup" > /dev/null 85 48 10,14 * * 1-5 /usr/bin/su uucp -c "/usr/lib/uucp/uudemon.admin" > /dev/null
|
/titanic_44/usr/src/cmd/tsol/demo/ |
H A D | waitforzone.ksh | 41 su - ${user} -c "${program} -display ${display}"
|