/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | strperm.c | 48 register int who; in strperm() local 64 op = num = who = typ = 0; in strperm() 70 who |= S_ISVTX|S_ISUID|S_IRWXU; in strperm() 73 who |= S_ISVTX|S_ISGID|S_IRWXG; in strperm() 76 who |= S_ISVTX|S_IRWXO; in strperm() 79 who = S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; in strperm() 84 if (!who) in strperm() 85 who = S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; in strperm() 91 if (who) in strperm() 92 perm &= ~who; in strperm() [all …]
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_deleg.c | 110 zfs_validate_who(char *who) in zfs_validate_who() argument 114 if (who[2] != ZFS_DELEG_FIELD_SEP_CHR) in zfs_validate_who() 117 switch (who[0]) { in zfs_validate_who() 122 if (who[1] != ZFS_DELEG_LOCAL && who[1] != ZFS_DELEG_DESCENDENT) in zfs_validate_who() 124 for (p = &who[3]; *p; p++) in zfs_validate_who() 131 if (who[1] != ZFS_DELEG_NA) in zfs_validate_who() 133 return (permset_namecheck(&who[3], NULL, NULL)); in zfs_validate_who() 137 if (who[1] != ZFS_DELEG_NA) in zfs_validate_who() 139 if (who[3] != '\0') in zfs_validate_who() 145 if (who[1] != ZFS_DELEG_LOCAL && who[1] != ZFS_DELEG_DESCENDENT) in zfs_validate_who() [all …]
|
/illumos-gate/usr/src/cmd/renice/ |
H A D | renice.c | 57 static int donice(int which, id_t who, int prio, int increment, char *who_s); 101 id_t who = 0; in main() local 178 who = strtol(*argv, &end_ptr, 10); in main() 181 if (who >= 0 && end_ptr != *argv && in main() 183 getzonenamebyid(who, NULL, 0) != -1) && in main() 184 (which != PRIO_CONTRACT || who != 0)) { in main() 185 errs += donice(which, who, incr, prio_type, in main() 194 who = pwd->pw_uid; in main() 195 errs += donice(which, who, incr, prio_type, in main() 206 who = grp->gr_gid; in main() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | setpriority.c | 106 getpriority(int which, id_t who) in getpriority() argument 117 if (who < 0) { in getpriority() 121 } else if (who != P_MYID) { in getpriority() 132 if (who == 0 && old_idtype(which)) in getpriority() 135 id = who; in getpriority() 147 setpriority(int which, id_t who, int prio) in setpriority() argument 159 if (who < 0) { in setpriority() 163 } else if (who != P_MYID) { in setpriority() 169 if (who == 0 && old_idtype(which)) in setpriority() 172 id = who; in setpriority()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | tls.c | 570 char *who; local 582 who = srv ? "server" : "client"; 585 syserr("STARTTLS=%s, inittls: ctx == NULL", who); 673 who, dhparam); 738 who, who); 740 tlslogerr(who); 769 who, CRLFile); 780 "STARTTLS=%s, error: BIO_new=failed", who); 796 who, CRLFile); 843 who); [all …]
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cpr_impl.c | 93 static int wait_for_set(cpuset_t *set, int who); 290 unsigned who; in i_cpr_pre_resume_cpus() local 339 for (who = 0; who < max_ncpus; who++) { in i_cpr_pre_resume_cpus() 341 wc_cpu_t *cpup = wc_other_cpus + who; in i_cpr_pre_resume_cpus() 344 if (who == boot_cpuid) in i_cpr_pre_resume_cpus() 347 if (!CPU_IN_SET(mp_cpus, who)) in i_cpr_pre_resume_cpus() 350 PMD(PMD_SX, ("%s() waking up %d cpu\n", str, who)) in i_cpr_pre_resume_cpus() 360 init_real_mode_platter(who, code_length, cpup->wc_cr4, gdt); in i_cpr_pre_resume_cpus() 363 err = mach_cpuid_start(who, rm_platter_va); in i_cpr_pre_resume_cpus() 367 "suspend/resume error %d", who, err); in i_cpr_pre_resume_cpus() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/ |
H A D | sw_main_cmn.c | 116 sw_timer_install(fmd_hdl_t *hdl, id_t who, void *arg, fmd_event_t *ep, in sw_timer_install() argument 126 if (!SUBIDVALID(msinfo, who)) in sw_timer_install() 127 fmd_hdl_abort(hdl, "sw_timer_install: invalid subid %d\n", who); in sw_timer_install() 130 sip = subinfo[ID2IDX(who)]; in sw_timer_install() 152 msinfo->swms_timers[chosen].swt_ownerid = who; in sw_timer_install() 165 subtimer_find(struct sw_modspecific *msinfo, id_t who, id_t timerid) in subtimer_find() argument 171 (who == -1 || in subtimer_find() 172 msinfo->swms_timers[slot].swt_ownerid == who) && in subtimer_find() 181 sw_timer_remove(fmd_hdl_t *hdl, id_t who, id_t timerid) in sw_timer_remove() argument 189 if (!SUBIDVALID(msinfo, who)) in sw_timer_remove() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acl.c | 266 if ((ace4->who.utf8string_len > 0) && in vs_ace4_destroy() 267 (ace4->who.utf8string_val != NULL)) in vs_ace4_destroy() 268 kmem_free(ace4->who.utf8string_val, in vs_ace4_destroy() 269 ace4->who.utf8string_len); in vs_ace4_destroy() 271 ace4->who.utf8string_val = NULL; in vs_ace4_destroy() 272 ace4->who.utf8string_len = 0; in vs_ace4_destroy() 487 (void) utf8_copy(&allow->who, &deny->who); in ace4_make_deny() 614 (void) str_to_utf8(ACE4_WHO_GROUP, &acep->who); in ln_aent_to_ace4() 640 &acep->who, isserver); in ln_aent_to_ace4() 657 &acep->who, isserver); in ln_aent_to_ace4() [all …]
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_log.c | 44 const char *who; member 61 cmn_err(nge_log_data.level, nge_log_data.fmt, nge_log_data.who, buf); in nge_vprt() 74 nge_log_data.who = ngep->ifname; in nge_log() 94 nge_log_data.who = ngep->ifname; in nge_problem() 114 nge_log_data.who = ngep->ifname; in nge_error() 196 nge_log_data.who = "nge"; in nge_gdb() 208 nge_log_data.who = ngep->ifname; in nge_db()
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_log.c | 43 const char *who; member 60 cmn_err(rge_log_data.level, rge_log_data.fmt, rge_log_data.who, buf); in rge_vprt() 72 rge_log_data.who = rgep->ifname; in rge_notice() 92 rge_log_data.who = rgep->ifname; in rge_log() 112 rge_log_data.who = rgep->ifname; in rge_problem() 132 rge_log_data.who = rgep->ifname; in rge_error() 163 rge_log_data.who = "rge"; in rge_gdb() 174 rge_log_data.who = rgep->ifname; in rge_db()
|
/illumos-gate/usr/src/uts/common/io/afe/ |
H A D | afeimpl.h | 305 #define SYNCTXDESC(afep, index, who) \ argument 307 (index * sizeof (afe_desc_t)), sizeof (afe_desc_t), who) 309 #define SYNCTXBUF(txb, len, who) \ argument 310 (void) ddi_dma_sync(txb->txb_dmah, 0, len, who) 312 #define SYNCRXDESC(afep, index, who) \ argument 314 (index * sizeof (afe_desc_t)), sizeof (afe_desc_t), who) 316 #define SYNCRXBUF(rxb, len, who) \ argument 317 (void) ddi_dma_sync(rxb->rxb_dmah, 0, len, who)
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_log.c | 44 const char *who; member 61 cmn_err(bge_log_data.level, bge_log_data.fmt, bge_log_data.who, buf); in bge_vprt() 73 bge_log_data.who = bgep->ifname; in bge_log() 93 bge_log_data.who = bgep->ifname; in bge_problem() 113 bge_log_data.who = bgep->ifname; in bge_error() 158 bge_log_data.who = "bge"; in bge_gdb() 169 bge_log_data.who = bgep->ifname; in bge_db()
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | Makefile.demo | 37 LIBS= truss.so.1 symbindrep.so.1 perfcnt.so.1 who.so.1 bindings.so.1 112 lib32/who.so.1: \ 113 obj32/who.o obj32/env.o 114 $(LINK.c) -G obj32/who.o obj32/env.o -o $@ -lelf $(LDLIBS) 116 lib64/who.so.1: \ 117 obj64/who.o obj64/env.o 118 $(LINK.c) -G obj64/who.o obj64/env.o -o $@ -lelf $(LDLIBS)
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rwall.c | 68 static char who[9] = "???"; variable 98 msize = snprintf(buf, sizeof (buf), "From %s@%s: ", who, hostname); in main() 159 (void) strncpy(who, wp, sizeof (who)); in init_who() 163 (void) strncpy(who, pwd->pw_name, sizeof (who)); in init_who()
|
/illumos-gate/usr/src/uts/common/io/mxfe/ |
H A D | mxfeimpl.h | 346 #define SYNCTXDESC(mxfep, index, who) \ argument 348 (index * sizeof (mxfe_desc_t)), sizeof (mxfe_desc_t), who) 350 #define SYNCTXBUF(txb, len, who) \ argument 351 (void) (ddi_dma_sync(txb->txb_dmah, 0, len, who)) 353 #define SYNCRXDESC(mxfep, index, who) \ argument 355 (index * sizeof (mxfe_desc_t)), sizeof (mxfe_desc_t), who) 357 #define SYNCRXBUF(rxb, len, who) \ argument 358 (void) (ddi_dma_sync(rxb->rxb_dmah, 0, len, who))
|
/illumos-gate/usr/src/cmd/find/ |
H A D | find.c | 898 id_t who = np->first.l; in aclmatch() local 903 p1->a_id == who && p1->a_type == t1) { in aclmatch() 912 who = np->second.l; in aclmatch() 918 if (p2->a_who == who && in aclmatch() 1751 #define permoffset(who) ((who) * 3) argument 1752 #define permission(who, type) ((type) >> permoffset(who)) argument 1775 int who; in list() local 1834 for (who = 0; who < 3; who++) { in list() 1835 int is_exec = stp->st_mode & permission(who, S_IEXEC)? 1 : 0; in list() 1837 if (stp->st_mode & permission(who, S_IREAD)) in list() [all …]
|
/illumos-gate/usr/src/uts/common/io/pcn/ |
H A D | pcnimpl.h | 241 #define SYNCTXDESC(pcnp, index, who) \ argument 243 (index * sizeof (pcn_tx_desc_t)), sizeof (pcn_tx_desc_t), who) 245 #define SYNCRXDESC(pcnp, index, who) \ argument 247 (index * sizeof (pcn_rx_desc_t)), sizeof (pcn_rx_desc_t), who) 249 #define SYNCBUF(pb, len, who) \ argument 250 (void) ddi_dma_sync(pb->pb_dmah, 0, len, who)
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | epm.h | 294 dev_info_t *who; member 302 dev_info_t *who; member 309 dev_info_t *who; member 316 dev_info_t *who; member 325 dev_info_t *who; member 335 dev_info_t *who; member 346 dev_info_t *who; member 355 dev_info_t *who; member 363 dev_info_t *who; member 375 dev_info_t *who; member [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | mutex_emul.c | 45 void eMmutex_init(mtx, who) in eMmutex_init() argument 47 char *who; 57 if (who != NULL) 58 mtx->eMm_owner = strdup(who);
|
H A D | rwlock_emul.c | 94 void eMrwlock_init(rw, who) in eMrwlock_init() argument 96 char *who; 107 if (who != NULL) 108 rw->eMrw_owner = strdup(who);
|
/illumos-gate/usr/src/cmd/wall/ |
H A D | wall.c | 79 static char who[NMAX+1] = "???"; variable 177 if (who[0] == '?') { in main() 179 (void) strncpy(&who[0], pwd->pw_name, sizeof (who)); in main() 223 (void) strncpy(rwho, who, in main() 224 sizeof (who)); in main() 421 who, line, systm, time_buf); in sendmes()
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | allow.py | 135 def args_to_perms(parser, options, who, perms): argument 173 storeperm("s", "-", who) 177 for w in who: 363 who = args[0] 370 who = None 377 who = ["everyone"] 380 who = args[0].split(",") 386 d = args_to_perms(parser, options, who, perms)
|
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/ |
H A D | rpc.ypupdated.c | 367 struct netbuf *who; in addr2netname() local 369 who = svc_getrpccaller(transp); in addr2netname() 370 if ((who == NULL) || (who->len == 0)) in addr2netname() 374 if (netdir_getbyaddr(nconf, &hostservs, who) != 0) { in addr2netname()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_aclmode_001_pos.ksh | 187 typeset who prefix acltemp action 190 who=${acl%%:*} 191 prefix=$who 344 who=${expect1%%:*} 346 prefix=$who 352 case $who in
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_acl.c | 151 zfs_ace_v0_set_who(void *acep, uint64_t who) in zfs_ace_v0_set_who() argument 153 ((zfs_oldace_t *)acep)->z_fuid = who; in zfs_ace_v0_set_who() 249 zfs_ace_fuid_set_who(void *arg, uint64_t who) in zfs_ace_fuid_set_who() argument 258 acep->z_fuid = who; in zfs_ace_fuid_set_who() 586 zfs_acl_next_ace(zfs_acl_iter_t *zaip, void *start, uint64_t *who, in zfs_acl_next_ace() argument 638 *who = aclp->z_ops.ace_who_get(acep); in zfs_acl_next_ace() 655 uint64_t who; in zfs_ace_walk() local 657 acep = zfs_acl_next_ace(zaip, acep, &who, mask, in zfs_ace_walk() 733 uint64_t who; in zfs_copy_fuid_2_ace() local 746 &who, &access_mask, &iflags, &type)) { in zfs_copy_fuid_2_ace() [all …]
|