Lines Matching refs:g_cmdname
87 static char *g_cmdname; /* target command name */ variable
224 err = tnfctl_exec_open(g_cmdname, g_cmdargs, NULL, in main()
578 g_cmdname = NULL; in scanargs()
616 g_cmdname = strdup(argv[optind]); in scanargs()
620 if (!g_kernelmode && (g_cmdname == NULL && g_targetpid == 0)) in scanargs()
622 if (g_cmdname != NULL && g_targetpid != 0) in scanargs()
629 if (g_cmdname) in scanargs()
658 g_cmdname = strdup(argv[i]); in scanargs()
659 if (!g_cmdname) { in scanargs()
665 "cmdname=%s\n", g_cmdname); in scanargs()
907 elfclass = get_elf_class(g_cmdname); in check_exec_model()