/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcsubstr.c | 52 reg Subfile_t *su; local 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 132 here = su->here; 150 if(pos < 0 || (su->extent >= 0 && pos >= su->extent)) 182 reg Subfile_t* su; local 199 memset(su, 0, sizeof(*su)); 209 if(sfdisc(sp, (Sfdisc_t*)su) != (Sfdisc_t*)su) [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_dg.c | 111 if (su != NULL) { in svc_dg_xprtfree() 113 free(su); in svc_dg_xprtfree() 154 su = malloc(sizeof (*su) + ucred_sz); in svc_dg_create_private() 155 if (su == NULL) in svc_dg_create_private() 160 xdrmem_create(&(su->su_xdrs), rpc_buffer(xprt), su->su_iosz, in svc_dg_create_private() 171 su->su_tudata.opt.buf = (char *)su->opts; in svc_dg_create_private() 172 su->su_tudata.udata.maxlen = su->su_iosz; in svc_dg_create_private() 252 free(su); in svc_dg_xprtcopy() 255 xdrmem_create(&(su->su_xdrs), rpc_buffer(xprt), su->su_iosz, in svc_dg_xprtcopy() 260 su->su_tudata.opt.buf = (char *)su->opts; in svc_dg_xprtcopy() [all …]
|
H A D | svc_door.c | 203 if (su->call_info.prognum == r->rq_prog && su->call_info.versnum == in svc_door_dispatch() 270 su = su_data(xprt); in door_server() 271 su->argbuf = argp; in door_server() 307 if (su != NULL) in svc_door_xprtfree() 308 free(su); in svc_door_xprtfree() 395 su = malloc(sizeof (*su)); in svc_door_create() 396 if (su == NULL) { in svc_door_create() 517 su->buf = buf; in get_xprt_copy() 518 su->len = 0; in get_xprt_copy() 580 xdrmem_create(xdrs, su->argbuf, su->arglen, XDR_DECODE); in svc_door_recv() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_read.c | 49 smb_xuio_t *su; in smb_xuio_alloc() local 51 su = kmem_zalloc(sizeof (*su), KM_SLEEP); in smb_xuio_alloc() 52 su->su_node = node; in smb_xuio_alloc() 60 su->su_ref = 1; in smb_xuio_alloc() 63 return (su); in smb_xuio_alloc() 88 kmem_free(su, sizeof (*su)); in smb_xuio_free() 125 su->su_ref++; in smb_xuio_to_mbuf() 136 su->su_ref++; in smb_xuio_to_mbuf() 281 su = NULL; in smb2_read() 296 su = NULL; in smb2_read() [all …]
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | svc_udp.c | 141 su = (struct svcudp_data *)mem_alloc(sizeof (*su)); 142 if (su == NULL) { 152 mem_free((char *) su, sizeof (*su)); 159 &(su->su_xdrs), rpc_buffer(xprt), su->su_iosz, XDR_DECODE); 160 su->su_cache = NULL; 161 xprt->xp_p2 = (caddr_t)su; 211 su->su_xid = msg->rm_xid; 212 if (su->su_cache != NULL) { 235 msg->rm_xid = su->su_xid; 367 if (su->su_cache != NULL) { [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/privilege/ |
H A D | privilege_001_pos.ksh | 65 log_mustnot su $ZFS_USER -c "zpool create $TESTPOOL $DISKS" 66 log_mustnot su $ZFS_USER -c "pfexec zpool create $TESTPOOL $DISKS" 70 log_must su $ZFS_USER -c "pfexec zpool create -f $TESTPOOL $DISKS" 73 log_mustnot su $ZFS_USER -c "zfs create $TESTPOOL/fs" 77 log_must su $ZFS_USER -c "pfexec zfs create $TESTPOOL/fs" 84 log_mustnot su $ZFS_USER -c "zpool destroy $TESTPOOL" 85 log_must su $ZFS_USER -c "pfexec zpool destroy $TESTPOOL" 89 log_mustnot su $ZFS_USER -c "pfexec zpool create -f $TESTPOOL $DISKS"
|
H A D | privilege_002_pos.ksh | 76 log_mustnot su $ZFS_USER -c "zfs create $DATASET/zfsprivfs" 82 log_mustnot su $ZFS_USER -c "zfs create $DATASET/zfsprivfs" 83 log_must su $ZFS_USER -c "pfexec zfs create $DATASET/zfsprivfs" 86 log_mustnot su $ZFS_USER -c "zpool destroy $DATASET" 87 log_mustnot su $ZFS_USER -c "pfexec zpool destroy $DATASET" 93 log_mustnot su $ZFS_USER -c "zfs create $DATASET/zfsprivfs2" 94 log_mustnot su $ZFS_USER -c "pfexec zfs create $DATASET/zfsprivfs2" 98 log_must su $ZFS_USER -c "pfexec zfs destroy $DATASET/zfsprivfs"
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_html.c | 52 html_tbl_sulen(const struct roffsu *su, void *arg) in html_tbl_sulen() argument 54 if (su->scale < 0.0) in html_tbl_sulen() 57 switch (su->unit) { in html_tbl_sulen() 59 return su->scale * 65536.0 / 24.0; in html_tbl_sulen() 61 return su->scale * 10.0; in html_tbl_sulen() 63 return su->scale * 10.0 / 2.54; in html_tbl_sulen() 66 return su->scale * 10.0 / 6.0; in html_tbl_sulen() 69 return su->scale; in html_tbl_sulen() 71 return su->scale * 10.0 / 6.0 / 12.0; in html_tbl_sulen() 73 return su->scale / 24.0; in html_tbl_sulen() [all …]
|
H A D | roff_term.c | 161 struct roffsu su; in roff_term_pre_po() local 170 a2roffsu(n->child->string, &su, SCALE_EM) != NULL) { in roff_term_pre_po() 171 ponew = term_hen(p, &su); in roff_term_pre_po() 191 struct roffsu su; in roff_term_pre_sp() local 195 if (a2roffsu(n->child->string, &su, SCALE_VS) == NULL) in roff_term_pre_sp() 196 su.scale = 1.0; in roff_term_pre_sp() 197 len = term_vspan(p, &su); in roff_term_pre_sp() 221 struct roffsu su; in roff_term_pre_ti() local 240 if (a2roffsu(cp, &su, SCALE_EM) == NULL) in roff_term_pre_ti() 242 len = term_hen(p, &su); in roff_term_pre_ti()
|
H A D | term_ascii.c | 261 ascii_hspan(const struct termp *p, const struct roffsu *su) in ascii_hspan() argument 265 switch (su->unit) { in ascii_hspan() 267 r = su->scale; in ascii_hspan() 270 r = su->scale * 240.0 / 2.54; in ascii_hspan() 273 r = su->scale * 65536.0; in ascii_hspan() 276 r = su->scale * 240.0; in ascii_hspan() 279 r = su->scale * 0.24; in ascii_hspan() 283 r = su->scale * 40.0; in ascii_hspan() 286 r = su->scale * 10.0 / 3.0; in ascii_hspan() 290 r = su->scale * 24.0; in ascii_hspan()
|
H A D | term.c | 524 struct roffsu su; in term_word() local 658 uc = term_hen(p, &su); in term_word() 871 struct roffsu su; in term_setwidth() local 1055 switch (su->unit) { in term_vspan() 1057 r = su->scale / 40.0; in term_vspan() 1066 r = su->scale * 6.0; in term_vspan() 1069 r = su->scale * 0.006; in term_vspan() 1072 r = su->scale; in term_vspan() 1075 r = su->scale / 12.0; in term_vspan() 1079 r = su->scale * 0.6; in term_vspan() [all …]
|
H A D | term_tab.c | 45 struct roffsu su; in term_tab_set() local 56 a2roffsu(".8i", &su, SCALE_IN); in term_tab_set() 57 tabs.d = term_hen(p, &su); in term_tab_set() 73 if (a2roffsu(arg, &su, SCALE_EM) == NULL) in term_tab_set() 86 pos = term_hen(p, &su); in term_tab_set()
|
H A D | man_term.c | 271 struct roffsu su; in pre_PD() local 362 struct roffsu su; in pre_in() local 387 v = term_hen(p, &su); in pre_in() 413 struct roffsu su; in pre_HP() local 441 len = term_hen(p, &su); in pre_HP() 507 struct roffsu su; in pre_IP() local 530 len = term_hen(p, &su); in pre_IP() 580 struct roffsu su; in pre_TP() local 605 len = term_hen(p, &su); in pre_TP() 759 struct roffsu su; in pre_RS() local [all …]
|
H A D | term_ps.c | 1305 switch (su->unit) { in ps_hspan() 1314 r = PNT2AFM(p, su->scale * 72.0 / 240.0); in ps_hspan() 1317 r = PNT2AFM(p, su->scale * 72.0 / 2.54); in ps_hspan() 1320 r = su->scale * in ps_hspan() 1324 r = su->scale * in ps_hspan() 1328 r = PNT2AFM(p, su->scale * 72.0); in ps_hspan() 1331 r = su->scale * in ps_hspan() 1335 r = PNT2AFM(p, su->scale * 12.0); in ps_hspan() 1338 r = PNT2AFM(p, su->scale * 1.0); in ps_hspan() 1341 r = su->scale * p->ps->lineheight; in ps_hspan() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_owner_001_pos.ksh | 128 su $user -c "chown $expect_owner $node" 164 su $user -c "chgrp $expect_group $node" 281 log_must su $user -c "chmod A+$flag:$acl_t $node" 288 log_must su $user -c "chmod A0- $node" 305 log_must su $user -c "touch $file" 306 log_must su $user -c "chmod 444 $file" 307 log_must su $user -c "mkdir -p $dir" 308 log_must su $user -c "chmod 444 $dir" 309 log_must su $user -c "chmod 555 $base_node"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/cifs/ |
H A D | cifs_attr_002_pos.ksh | 83 log_mustnot su $user -c "$cmd" 87 log_must su $user -c "$cmd" 89 log_mustnot su $user -c "$cmd" 93 log_must su $user -c "$cmd" 95 log_must su $user -c "$cmd" 97 log_mustnot su $user -c "$cmd"
|
/illumos-gate/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
|
/illumos-gate/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 | 30 PROG = su 31 ROOTFS_PROG = su.static 32 DEFAULTFILES = su.dfl
|
H A D | su.c | 148 char su[PATH_MAX] = "su"; /* arg0 for exec of shprog */ variable 494 (void) strcpy(su, eflag ? "-" : ""); in main() 497 (void) strlcat(su, p + 1, sizeof (su)); in main() 499 (void) strlcat(su, pshell, sizeof (su)); in main() 502 (void) strcpy(su, eflag ? "-su" : "su"); in main() 688 argv[1] = su; in main() 691 (void) execl(pshell, su, 0); in main() 706 (void) strcpy(su, "-sh"); in main() 710 (void) strcpy(su, "sh"); in main() 714 argv[1] = su; in main() [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv_common.c | 82 struct svc_dg_data *su = get_svc_dg_data(xprt); in svc_getxid() local 83 if (su == NULL) in svc_getxid() 86 return (su->su_xid); in svc_getxid()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | un.h | 78 #define SUN_LEN(su) (sizeof (sa_family_t) + strlen((su)->sun_path)) argument
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/ |
H A D | xattr_003_neg.ksh | 59 log_mustnot su $ZFS_USER -c "runat $TESTDIR/myfile.$$ cat passwd" 60 log_mustnot su $ZFS_USER -c "runat $TESTDIR/myfile.$$ cp /etc/passwd ."
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 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() 2069 su = &rcip->ri_mask; in getaddr() 2080 su = &rcip->ri_ifa; in getaddr() 2084 su = &rcip->ri_src; in getaddr() 2103 link_addr(s, &su->sdl); in getaddr() 2106 sockaddr(s, &su->sa); in getaddr() 2858 sodump(su_t *su, char *which) in sodump() argument [all …]
|