Home
last modified time | relevance | path

Searched refs:new_argv (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/yppasswd/
H A Dyppasswd.c48 char *new_argv[5]; in main() local
61 new_argv[0] = "yppasswd"; in main()
62 new_argv[1] = "-r"; in main()
63 new_argv[2] = "nis"; in main()
65 new_argv[3] = NULL; in main()
67 new_argv[3] = argv[1]; in main()
68 new_argv[4] = NULL; in main()
71 (void) execvp("/bin/passwd", new_argv); in main()
/titanic_41/usr/src/cmd/zlogin/
H A Dzlogin.c1033 char **new_argv, *ptr, *lasts; in zone_login_cmd() local
1077 if ((new_argv = malloc(sizeof (char *) * n)) == NULL) in zone_login_cmd()
1082 new_argv[a++] = result_buf; in zone_login_cmd()
1085 while ((new_argv[a++] = strtok_r(NULL, " ", &lasts)) != NULL) in zone_login_cmd()
1088 new_argv[a++] = NULL; in zone_login_cmd()
1091 return (new_argv); in zone_login_cmd()
1105 char **new_argv; in prep_args() local
1127 if ((new_argv = malloc(sizeof (char *) * n)) == NULL) in prep_args()
1130 new_argv[a++] = FAILSAFESHELL; in prep_args()
1133 if ((new_argv = malloc(sizeof (char *) * n)) == NULL) in prep_args()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/uhci/
H A Duhci.c317 mdb_arg_t new_argv[1]; in uhci_qh() local
322 new_argv[0].a_type = MDB_TYPE_STRING; in uhci_qh()
323 new_argv[0].a_un.a_str = "-d"; in uhci_qh()
326 if ((mdb_pwalk_dcmd("uhci_qh", "uhci_qh", new_argc, new_argv, in uhci_qh()
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_conf.c337 const char **new_argv = new->cpa_argv; in set_lst() local
346 new->cpa_argv[new->cpa_argc++] = new_argv[i]; in set_lst()
350 fmd_free(new_argv, sizeof (char *) * new_argc); in set_lst()
362 const char **new_argv; in del_lst() local
377 new_argv = fmd_alloc(sizeof (char *) * (pap->cpa_argc - 1), FMD_SLEEP); in del_lst()
381 new_argv[new_argc++] = pap->cpa_argv[i]; in del_lst()
385 pap->cpa_argv = new_argv; in del_lst()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dmodhash.c394 mdb_arg_t new_argv[1]; in modhash() local
407 new_argv[0].a_type = MDB_TYPE_STRING; in modhash()
408 new_argv[0].a_un.a_str = opt_t ? "-st" : "-s"; in modhash()
409 if (mdb_walk_dcmd("modhash", "modhash", 1, new_argv) == -1) { in modhash()
/titanic_41/usr/src/cmd/sqlite/
H A Dshell.c825 char *new_argv[2], *new_colv[2]; in do_meta_command() local
826 new_argv[0] = "CREATE TABLE sqlite_master (\n" in do_meta_command()
833 new_argv[1] = 0; in do_meta_command()
836 callback(&data, 1, new_argv, new_colv); in do_meta_command()
838 char *new_argv[2], *new_colv[2]; in do_meta_command() local
839 new_argv[0] = "CREATE TEMP TABLE sqlite_temp_master (\n" in do_meta_command()
846 new_argv[1] = 0; in do_meta_command()
849 callback(&data, 1, new_argv, new_colv); in do_meta_command()
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetaset.c2098 char **new_argv = NULL; in parse_cluster() local
2188 if ((new_argv = calloc(argc, sizeof (char *))) == NULL) { in parse_cluster()
2193 np = new_argv; in parse_cluster()
2226 if (sdssc_cmd_proxy(new_argc, new_argv, in parse_cluster()
/titanic_41/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c555 mdb_arg_t new_argv[SMB_MDB_MAX_OPTS]; in smb_dcmd_list() local
565 new_argc = smb_dcmd_setopt(opts, SMB_MDB_MAX_OPTS, new_argv); in smb_dcmd_list()
574 if (mdb_pwalk_dcmd("list", "smbsrv", new_argc, new_argv, addr)) { in smb_dcmd_list()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_parser.c4326 uint_t old_argc, dt_node_t *old_argv, uint_t new_argc, dt_node_t *new_argv) in dt_node_provider_cmp_argv() argument
4344 old_argv = old_argv->dn_list, new_argv = new_argv->dn_list) { in dt_node_provider_cmp_argv()
4346 new_argv->dn_ctfp, new_argv->dn_type) == 0) in dt_node_provider_cmp_argv()
4353 dt_node_type_name(new_argv, n1, sizeof (n1)), in dt_node_provider_cmp_argv()