Searched refs:who (Results 1 - 25 of 95) sorted by relevance

1234

/illumos-gate/usr/src/lib/libast/common/string/
H A Dstrperm.c48 register int who; local
64 op = num = who = typ = 0;
70 who |= S_ISVTX|S_ISUID|S_IRWXU;
73 who |= S_ISVTX|S_ISGID|S_IRWXG;
76 who |= S_ISVTX|S_IRWXO;
79 who = S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO;
84 if (!who)
85 who = S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO;
91 if (who)
92 perm &= ~who;
[all...]
/illumos-gate/usr/src/common/zfs/
H A Dzfs_deleg.c99 zfs_validate_who(char *who) argument
103 if (who[2] != ZFS_DELEG_FIELD_SEP_CHR)
106 switch (who[0]) {
111 if (who[1] != ZFS_DELEG_LOCAL && who[1] != ZFS_DELEG_DESCENDENT)
113 for (p = &who[3]; *p; p++)
120 if (who[1] != ZFS_DELEG_NA)
122 return (permset_namecheck(&who[3], NULL, NULL));
126 if (who[1] != ZFS_DELEG_NA)
128 if (who[
150 nvpair_t *who, *perm_name; local
[all...]
/illumos-gate/usr/src/cmd/initpkg/init.d/
H A Duucp30 set -- `/usr/bin/who -r`
H A Dsysetup30 set -- `/usr/bin/who -r`
/illumos-gate/usr/src/cmd/renice/
H A Drenice.c59 static int donice(int which, id_t who, int prio, int increment, char *who_s);
103 id_t who = 0; local
180 who = strtol(*argv, &end_ptr, 10);
183 if (who >= 0 && end_ptr != *argv &&
185 getzonenamebyid(who, NULL, 0) != -1) &&
186 (which != PRIO_CONTRACT || who != 0)) {
187 errs += donice(which, who, incr, prio_type,
196 who = pwd->pw_uid;
197 errs += donice(which, who, incr, prio_type,
208 who
256 id_t who = 0; local
322 donice(int which, id_t who, int prio, int increment, char *who_s) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsetpriority.c108 getpriority(int which, id_t who) argument
119 if (who < 0) {
123 } else if (who != P_MYID) {
130 * The POSIX standard requires that a 0 value for the who argument
134 if (who == 0 && old_idtype(which))
137 id = who;
149 setpriority(int which, id_t who, int prio) argument
161 if (who < 0) {
165 } else if (who != P_MYID) {
171 if (who
[all...]
H A Dgetrusage.c61 getrusage(int who, struct rusage *rusage) argument
63 switch (who) {
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_log.c46 const char *who; member in struct:__anon6338
63 cmn_err(nge_log_data.level, nge_log_data.fmt, nge_log_data.who, buf);
76 nge_log_data.who = ngep->ifname;
96 nge_log_data.who = ngep->ifname;
116 nge_log_data.who = ngep->ifname;
198 nge_log_data.who = "nge";
210 nge_log_data.who = ngep->ifname;
/illumos-gate/usr/src/cmd/who/
H A DMakefile25 PROG= who
26 XPG4PROG= who
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_log.c46 const char *who; member in struct:__anon6478
63 cmn_err(rge_log_data.level, rge_log_data.fmt, rge_log_data.who, buf);
75 rge_log_data.who = rgep->ifname;
95 rge_log_data.who = rgep->ifname;
115 rge_log_data.who = rgep->ifname;
135 rge_log_data.who = rgep->ifname;
166 rge_log_data.who = "rge";
177 rge_log_data.who = rgep->ifname;
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dmutex_emul.c45 void eMmutex_init(mtx, who)
47 char *who;
57 if (who != NULL)
58 mtx->eMm_owner = strdup(who);
H A Drwlock_emul.c94 void eMrwlock_init(rw, who)
96 char *who;
107 if (who != NULL)
108 rw->eMrw_owner = strdup(who);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dtls.c532 char *who; local
550 who = srv ? "server" : "client";
553 syserr("STARTTLS=%s, inittls: ctx == NULL", who);
644 who, dhparam);
711 who, who);
713 tlslogerr(who);
743 who, CRLFile);
754 "STARTTLS=%s, error: BIO_new=failed", who);
770 who, CRLFil
1175 char *s, *who; local
[all...]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_log.c46 const char *who; member in struct:__anon4966
63 cmn_err(bge_log_data.level, bge_log_data.fmt, bge_log_data.who, buf);
75 bge_log_data.who = bgep->ifname;
95 bge_log_data.who = bgep->ifname;
115 bge_log_data.who = bgep->ifname;
160 bge_log_data.who = "bge";
171 bge_log_data.who = bgep->ifname;
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/
H A Dsw_main_cmn.c116 sw_timer_install(fmd_hdl_t *hdl, id_t who, void *arg, fmd_event_t *ep, argument
126 if (!SUBIDVALID(msinfo, who))
127 fmd_hdl_abort(hdl, "sw_timer_install: invalid subid %d\n", who);
130 sip = subinfo[ID2IDX(who)];
152 msinfo->swms_timers[chosen].swt_ownerid = who;
165 subtimer_find(struct sw_modspecific *msinfo, id_t who, id_t timerid) argument
171 (who == -1 ||
172 msinfo->swms_timers[slot].swt_ownerid == who) &&
181 sw_timer_remove(fmd_hdl_t *hdl, id_t who, id_t timerid) argument
189 if (!SUBIDVALID(msinfo, who))
238 sw_id_to_casetype(fmd_hdl_t *hdl, id_t who) argument
321 sw_add_callbacks(fmd_hdl_t *hdl, const char *who, const struct sw_disp *dp, int nelem, struct sw_modspecific *msinfo) argument
[all...]
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drwall.c70 static char who[9] = "???"; variable
100 msize = snprintf(buf, sizeof (buf), "From %s@%s: ", who, hostname);
161 (void) strncpy(who, wp, sizeof (who));
165 (void) strncpy(who, pwd->pw_name, sizeof (who));
/illumos-gate/usr/src/uts/common/io/pcn/
H A Dpcnimpl.h241 #define SYNCTXDESC(pcnp, index, who) \
243 (index * sizeof (pcn_tx_desc_t)), sizeof (pcn_tx_desc_t), who)
245 #define SYNCRXDESC(pcnp, index, who) \
247 (index * sizeof (pcn_rx_desc_t)), sizeof (pcn_rx_desc_t), who)
249 #define SYNCBUF(pb, len, who) \
250 (void) ddi_dma_sync(pb->pb_dmah, 0, len, who)
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_acl.c266 if ((ace4->who.utf8string_len > 0) &&
267 (ace4->who.utf8string_val != NULL))
268 kmem_free(ace4->who.utf8string_val,
269 ace4->who.utf8string_len);
271 ace4->who.utf8string_val = NULL;
272 ace4->who.utf8string_len = 0;
487 (void) utf8_copy(&allow->who, &deny->who);
614 (void) str_to_utf8(ACE4_WHO_GROUP, &acep->who);
640 &acep->who, isserve
2153 char *who = NULL; local
2175 char *who = NULL; local
[all...]
/illumos-gate/usr/src/lib/pam_modules/sample/
H A Dsample_acct_mgmt.c109 parse_allow_name(char *who, char *cp) argument
121 if (strcmp(who, name) == 0)
/illumos-gate/usr/src/cmd/sa/
H A Dsvc-sar39 set -- `/usr/bin/who -r`
42 # so there might not be a who -r entry yet.
/illumos-gate/usr/src/uts/common/io/afe/
H A Dafeimpl.h305 #define SYNCTXDESC(afep, index, who) \
307 (index * sizeof (afe_desc_t)), sizeof (afe_desc_t), who)
309 #define SYNCTXBUF(txb, len, who) \
310 (void) ddi_dma_sync(txb->txb_dmah, 0, len, who)
312 #define SYNCRXDESC(afep, index, who) \
314 (index * sizeof (afe_desc_t)), sizeof (afe_desc_t), who)
316 #define SYNCRXBUF(rxb, len, who) \
317 (void) ddi_dma_sync(rxb->rxb_dmah, 0, len, who)
/illumos-gate/usr/src/uts/common/io/mxfe/
H A Dmxfeimpl.h346 #define SYNCTXDESC(mxfep, index, who) \
348 (index * sizeof (mxfe_desc_t)), sizeof (mxfe_desc_t), who)
350 #define SYNCTXBUF(txb, len, who) \
351 (void) (ddi_dma_sync(txb->txb_dmah, 0, len, who))
353 #define SYNCRXDESC(mxfep, index, who) \
355 (index * sizeof (mxfe_desc_t)), sizeof (mxfe_desc_t), who)
357 #define SYNCRXBUF(rxb, len, who) \
358 (void) (ddi_dma_sync(rxb->rxb_dmah, 0, len, who))
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcpr_impl.c95 static int wait_for_set(cpuset_t *set, int who);
292 unsigned who; local
341 for (who = 0; who < max_ncpus; who++) {
343 wc_cpu_t *cpup = wc_other_cpus + who;
346 if (who == boot_cpuid)
349 if (!CPU_IN_SET(mp_cpus, who))
352 PMD(PMD_SX, ("%s() waking up %d cpu\n", str, who))
366 init_real_mode_platter(who, code_lengt
481 int who; local
1071 wait_for_set(cpuset_t *set, int who) argument
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c326 int who; /* id of this daemon */ local
330 who = _sd_num_daemons++;
336 gld[who].asleep = 1;
338 cmn_err(CE_NOTE, "!%d daemon: sleeping %p", who,
339 (void *)&gld[who].blk);
344 gld[who].asleep = 0;
351 cv_wait(&gld[who].blk, &tdaemon_lock);
356 who, gld[who].type, gld[who]
[all...]
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dwhocalls.ksh33 specify an alternate who.so to use.
47 wholib32="/usr/lib/link_audit/32/who.so.1"
48 wholib64="/usr/lib/link_audit/64/who.so.1"

Completed in 113 milliseconds

1234