Home
last modified time | relevance | path

Searched refs:exec (Results 1 – 25 of 139) sorted by relevance

123456

/titanic_44/usr/src/lib/libsecdb/common/
H A Dgetexecattr.c59 execstr_t exec; in getexecattr() local
62 tmp = _getexecattr(&exec, buf, NSS_BUFLEN_EXECATTR, &err); in getexecattr()
76 execstr_t exec; in getexecprof() local
80 (void) memset(&exec, 0, sizeof (execstr_t)); in getexecprof()
108 &exec, in getexecprof()
175 match_execattr(execattr_t *exec, const char *profname, const char *type, in match_execattr() argument
180 for (execp = exec; execp != NULL; execp = execp->next) { in match_execattr()
207 free_execattr(execattr_t *exec) in free_execattr() argument
209 if (exec != NULL) { in free_execattr()
210 free(exec->name); in free_execattr()
[all …]
/titanic_44/usr/src/lib/nsswitch/ldap/common/
H A Dgetexecattr.c84 _print_execstr(execstr_t *exec) in _print_execstr() argument
87 (void) fprintf(stdout, " exec-name: [%s]\n", exec->name); in _print_execstr()
88 if (exec->policy != (char *)NULL) { in _print_execstr()
89 (void) fprintf(stdout, " policy: [%s]\n", exec->policy); in _print_execstr()
91 if (exec->type != (char *)NULL) { in _print_execstr()
92 (void) fprintf(stdout, " type: [%s]\n", exec->type); in _print_execstr()
94 if (exec->res1 != (char *)NULL) { in _print_execstr()
95 (void) fprintf(stdout, " res1: [%s]\n", exec->res1); in _print_execstr()
97 if (exec->res2 != (char *)NULL) { in _print_execstr()
98 (void) fprintf(stdout, " res2: [%s]\n", exec->res2); in _print_execstr()
[all …]
/titanic_44/usr/src/cmd/profiles/
H A Dprofiles.c130 execattr_t *exec; in show_profs() local
148 exec = getexecuser(username, KV_COMMAND, NULL, in show_profs()
150 if (exec != NULL) { in show_profs()
151 print_profs_long(exec); in show_profs()
152 free_execattr(exec); in show_profs()
198 print_profs_long(execattr_t *exec) in print_profs_long() argument
207 for (curprofile = ""; exec != NULL; exec = exec->next) { in print_profs_long()
209 if (strcmp(curprofile, exec->name) != 0) { in print_profs_long()
211 curprofile = exec->name; in print_profs_long()
222 len = printf(" %s ", exec->id); in print_profs_long()
[all …]
/titanic_44/usr/src/lib/libnsl/nss/
H A Dgetexecattr.c99 execstr_t *exec = (execstr_t *)ent; in str2execattr() local
119 exec->name = _strtok_escape(buffer, sep, &last); in str2execattr()
120 exec->policy = _strtok_escape(NULL, sep, &last); in str2execattr()
121 exec->type = _strtok_escape(NULL, sep, &last); in str2execattr()
122 exec->res1 = _strtok_escape(NULL, sep, &last); in str2execattr()
123 exec->res2 = _strtok_escape(NULL, sep, &last); in str2execattr()
124 exec->id = _strtok_escape(NULL, sep, &last); in str2execattr()
125 exec->attr = _strtok_escape(NULL, sep, &last); in str2execattr()
126 exec->next = NULL; in str2execattr()
288 execstr_t *exec = (execstr_t *)((argp->buf.result)); in _doexeclist() local
[all …]
/titanic_44/usr/src/cmd/pfexecd/
H A Dpfexecd.c299 execattr_t *exec; in callback_forced_privs() local
307 exec = getexecprof("Forced Privilege", KV_COMMAND, pap->pfa_path, in callback_forced_privs()
310 if (exec == NULL && removeisapath(pap->pfa_path)) { in callback_forced_privs()
311 exec = getexecprof("Forced Privilege", KV_COMMAND, in callback_forced_privs()
315 if (exec == NULL) { in callback_forced_privs()
320 if ((value = kva_match(exec->attr, EXECATTR_IPRIV_KW)) == NULL || in callback_forced_privs()
322 free_execattr(exec); in callback_forced_privs()
330 free_execattr(exec); in callback_forced_privs()
357 execattr_t *exec = NULL; in callback_pfexec() local
383 exec = getexecuser(pwd->pw_name, KV_COMMAND, path, GET_ONE); in callback_pfexec()
[all …]
/titanic_44/usr/src/test/zfs-tests/cmd/file_write/
H A Dfile_write.c213 char *exec = (char *)getexecname(); in usage() local
215 if (exec != NULL) in usage()
216 exec = strdup(exec); in usage()
217 if (exec != NULL) in usage()
218 base = basename(exec); in usage()
226 if (exec) { in usage()
227 free(exec); in usage()
/titanic_44/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DHost.java59 syscmd.exec(cmd); in getLocalHostName()
85 syscmd.exec(cmd); in getDomainName()
108 syscmd.exec("/usr/sbin/ping " + host); in pingHost()
145 syscmd.exec(cmd); in getNisHost()
153 syscmd.exec(cmd); in getNisHost()
191 syscmd.exec(cmd); in getLDAPMaster()
240 syscmd.exec(cmd); in getDefaultAdminDN()
259 syscmd.exec(cmd); in getDefaultAdminDN()
303 syscmd.exec(cmd); in isNSConfigured()
314 syscmd.exec(cmd); in isNSConfigured()
[all …]
H A DSysCommand.java49 syscmd.exec(cmd); in main()
62 public void exec(String cmd) throws Exception in exec() method in SysCommand
71 p = Runtime.getRuntime().exec(cmd); in exec()
83 public void exec(String[] cmd) throws Exception in exec() method in SysCommand
104 p = Runtime.getRuntime().exec(newcmd); in exec()
107 p = Runtime.getRuntime().exec(cmd); in exec()
121 public void exec(String cmd, String locale) throws Exception in exec() method in SysCommand
132 p = Runtime.getRuntime().exec(cmd, envp); in exec()
H A DDoPrinterUtil.java46 syscmd.exec(cmd); in getDefault()
79 syscmd.exec(cmd); in getDevices()
163 syscmd.exec(cmd); in getMakes()
199 syscmd.exec(cmd); in getModels()
235 syscmd.exec(cmd); in getPPDs()
265 syscmd.exec(cmd); in getMakeModelNick()
303 syscmd.exec(cmd); in getPPDFile()
333 syscmd.exec(cmd); in getProbe()
413 syscmd.exec(cmd); in getList()
507 syscmd.exec("/usr/bin/lpget -n " + ns + " " + name); in exists()
[all …]
H A DDoPrinterAdd.java207 syscmd.exec(cmd); in addLocal()
232 syscmd.exec(cmd); in addLocal()
253 syscmd.exec(cmd_array); in addLocal()
267 syscmd.exec(cmd); in addLocal()
281 syscmd.exec(cmd); in addLocal()
294 syscmd.exec(cmd); in addLocal()
400 syscmd.exec(cmd_array); in addRemote()
418 syscmd.exec(cmd); in addRemote()
477 syscmd.exec(cmd); in doFilters()
511 syscmd.exec(cmd); in doFilters()
[all …]
H A DDoPrinterMod.java300 syscmd.exec(cmd); in modifyLocal()
350 syscmd.exec(cmd); in modifyLocal()
369 syscmd.exec(cmd); in modifyLocal()
480 syscmd.exec(cmd); in modifyLocal()
500 syscmd.exec(cmd); in modifyLocal()
522 syscmd.exec(cmd); in modifyLocal()
546 syscmd.exec(cmd); in modifyLocal()
573 syscmd.exec(cmd_array); in modifyLocal()
590 syscmd.exec(cmd); in modifyLocal()
732 syscmd.exec(cmd); in modifyRemote()
[all …]
H A DDoPrinterDelete.java100 syscmd.exec(cmd); in delete()
176 syscmd.exec(cmd); in deleteLocal()
187 syscmd.exec(cmd); in deleteLocal()
H A DDoPrinterNS.java155 syscmd.exec(cmd); in setNIS()
198 syscmd.exec(cmd); in setNIS()
457 syscmd.exec(cmd_array); in setNS()
492 syscmd.exec(cmd); in setNS()
510 syscmd.exec(cmd); in setNS()
528 syscmd.exec(cmd); in setNS()
614 syscmd.exec("/usr/bin/id", "LC_ALL=C"); in isRoot()
/titanic_44/usr/src/lib/nsswitch/nis/common/
H A Dgetexecattr.c58 execstr_t *exec = (execstr_t *)(argp->returnval); in check_match() local
73 (strcmp(policy, exec->policy) != 0)) || in check_match()
74 (type && (strcmp(type, exec->type) != 0))) { in check_match()
77 } else if ((policy && exec->policy && in check_match()
78 (strcmp(policy, exec->policy) != 0)) || in check_match()
79 (name && exec->name && (strcmp(name, exec->name) != 0)) || in check_match()
80 (type && exec->type && (strcmp(type, exec->type) != 0)) || in check_match()
81 (id && exec->id && (strcmp(id, exec->id) != 0))) { in check_match()
97 execstr_t exec; in check_match_strbuf() local
98 execstr_t *execp = &exec; in check_match_strbuf()
/titanic_44/usr/src/cmd/dtrace/demo/proc/
H A Dwhoexec.d29 proc:::exec
34 proc:::exec-success
41 proc:::exec-failure
/titanic_44/usr/src/cmd/gcore/
H A Dgcore.c51 char exec[PATH_MAX]; in convert_path() local
80 if (Pexecname(P, exec, sizeof (exec)) == NULL || in convert_path()
81 exec[0] != '/' || (s = strrchr(exec, '/')) == NULL) in convert_path()
85 len = snprintf(fname, size, "%s", &exec[1]); in convert_path()
/titanic_44/usr/src/cmd/lp/cmd/lpsched/
H A Dalerts.c89 if (exec(EX_ALERT, pr) == 0) in alert()
94 pr->alert->exec->flags |= EXF_RESTART; in alert()
105 if (exec(EX_PALERT, pp) == 0) in alert()
109 pp->alert->exec->flags |= EXF_RESTART; in alert()
134 if (exec(EX_FALERT, fp) == 0) in alert()
138 fp->alert->exec->flags |= EXF_RESTART; in alert()
167 if (pr->exec->pid > 0) in pformat()
287 terminate(ap->exec); in cancel_alert()
H A Dschedule.c369 exec(EX_FAULT_MESSAGE, pps, prs); in ev_message()
384 exec(EX_FORM_MESSAGE, pfs); in ev_form_message_body()
480 if (exec(EX_INTERF, pps) == 0) { in ev_interf()
521 (prs->exec = ep)->ex.request = prs; in ev_slowf()
522 if (exec(EX_SLOWF, prs) != 0) { in ev_slowf()
524 prs->exec = 0; in ev_slowf()
575 (prs->exec = ep)->ex.request = prs; in ev_notify()
576 if (exec(EX_NOTIFY, prs) != 0) { in ev_notify()
578 prs->exec = 0; in ev_notify()
H A Ddisp4.c440 if (!(pps = search_pstatus(printerOrForm)) || (!pps->exec) || in s_send_fault()
441 pps->exec->key != key || !pps->request) { in s_send_fault()
469 ((!pps->exec) || pps->exec->key != key || !pps->request ))) { in s_clear_fault()
516 if ((chgd || !mode) && (!pagesPrinted) && pps->exec) { in s_paper_changed()
520 terminate(pps->exec); in s_paper_changed()
H A Dcancel.c51 terminate(prs->printer->exec); in cancel()
54 terminate (prs->exec); in cancel()
H A Dnodes.h43 EXEC *exec; /* Index into EXEC table */ member
120 EXEC *exec; member
174 EXEC *exec; /* Pointer to running filter or notify */ member
/titanic_44/usr/src/cmd/luxadm/
H A Dfcalupdate.c130 static struct exec exec; variable
730 if (read(ffd, &exec, sizeof (exec)) != sizeof (exec)) { in load_file()
735 if (exec.a_trsize || exec.a_drsize) { in load_file()
741 if (exec.a_data || exec.a_bss) { in load_file()
747 if (exec.a_machtype != M_SPARC) { in load_file()
755 (int)exec.a_text, file, 0); in load_file()
757 if (read(ffd, &buffer, exec.a_text) != exec.a_text) { in load_file()
/titanic_44/usr/src/uts/common/sys/
H A Dexec.h264 struct exec;
266 extern caddr_t gettmem(struct exec *exp);
267 extern caddr_t getdmem(struct exec *exp);
268 extern ulong_t getdfile(struct exec *exp);
269 extern uint_t gettfile(struct exec *exp);
/titanic_44/usr/src/cmd/sgs/rtld/common/
H A Da.out.c170 struct exec *exec = (struct exec *)addr; in aout_verify() local
172 if (size < sizeof (exec) || (exec->a_machtype != M_SPARC) || in aout_verify()
173 (N_BADMAG(*exec))) { in aout_verify()
560 struct exec *exec = (struct exec *)caddr; in aout_new_lmp() local
564 nl = (struct nlist *)&caddr[N_SYMOFF(*exec)]; in aout_new_lmp()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/inetconv/
H A Dinetconv.c93 char *exec; member
568 free(iconf->exec); in free_inetconfent()
613 iconf->exec = safe_strdup(iconf->server_program); in line_to_inetconfent()
620 iconf->exec = safe_malloc(len); in line_to_inetconfent()
621 (void) strlcpy(iconf->exec, iconf->server_program, len); in line_to_inetconfent()
625 if ((endp = strrchr(iconf->exec, '/')) == NULL) in line_to_inetconfent()
626 endp = iconf->exec; in line_to_inetconfent()
633 (void) strlcat(iconf->exec, " ", len); in line_to_inetconfent()
634 (void) strlcat(iconf->exec, cp, len); in line_to_inetconfent()
738 iconf->exec, PR_USER_NAME, iconf->username, iconf->groupname) < 0) in print_manifest()
[all …]

123456