/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | suid_exec.c | 89 static char *shell; variable 237 if(shell == 0 || !endsh(shell) || ( in main() 242 shell = DEFSHELL; in main() 245 execv(shell,argv); in main() 255 while(*shell) in endsh() 256 shell++; in endsh() 257 if(*--shell != 'h' || *--shell != 's') in endsh() 259 if(*--shell=='/') in endsh() 261 if(*shell=='k' && *--shell=='/') in endsh() 275 if(*dir++ != *shell++) in in_dir() [all …]
|
/illumos-gate/usr/src/cmd/newgrp/ |
H A D | newgrp.c | 85 char *shell, *dir, *name; in main() local 143 if ((shell = getenv("SHELL")) != NULL) { in main() 144 p->pw_shell = shell; in main() 174 if ((shell = (char *)malloc(len)) == NULL) in main() 176 (void) snprintf(shell, len, "-%s", p->pw_shell); in main() 177 simple = strrchr(shell, '/'); in main() 179 *(shell+1) = '\0'; in main() 180 shell = strcat(shell, ++simple); in main() 184 shell = p->pw_shell; in main() 186 (void) execl(p->pw_shell, shell, NULL); in main()
|
/illumos-gate/usr/src/cmd/runat/ |
H A D | runat.c | 57 char *shell; in main() local 90 shell = getenv("SHELL"); in main() 91 if (shell == NULL) { in main() 95 shell = "/bin/sh"; in main() 98 (void) execl(shell, shell, NULL); in main() 100 gettext("runat: Failed to exec %s: %s\n"), shell, in main()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | Makefile | 7 KVER = $(shell uname -r) 10 __ARCH=$(shell uname -m) 14 ifeq ($(shell ls /lib/modules/$(KVER)/build > /dev/null 2>&1 && echo build),) 16 _KVER=$(shell echo $(KVER) | cut -d "-" -f1,2) 17 _KFLA=$(shell echo $(KVER) | cut -d "-" -f3) 18 _ARCH=$(shell file -b /lib/modules/$(shell uname -r)/build | cut -d "/" -f5) 22 ifeq ($(shell ls /usr/src/linux-$(_KVER)-obj > /dev/null 2>&1 && echo linux),) 46 BCMTSTDIR = $(shell if ls $(DIR) > /dev/null 2>&1; then echo $(DIR); fi) 68 ifeq ($(shell ls /lib/modules/$(KVER)/updates > /dev/null 2>&1 && echo 1),1) 84 SLES_VERSION = $(shell cat /etc/SuSE-release | grep VERSION | grep -o -P [0-9]+) [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | gentab.sh | 36 A1) shell=ksh 40 *) shell=bsh 68 do case $shell in 98 1:?*) case $shell in 179 *) case $shell in 207 case $shell in 219 1:?*) case $shell in
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | mktest.sh | 20 : mktest - generate regress or shell regression test scripts 120 regress|shell) 179 shell) print -u$stdout -r -f ": $QUOTE"$'\n' -- "$*" 195 shell) print -u$stdout -r -f $'set x' 220 shell) print -u$stdout -r -f $'rm -f' 493 if [[ $STYLE == shell ]] 518 shell) DIAGNOSTICS=1 ;; 528 shell) print -u$stdout -r -f $'export' ;; 573 shell) cat <<! 608 shell) SINGLE='#' [all …]
|
H A D | iffe.sh | 400 -) case $shell in 673 *) case $shell in 689 case $shell in 1452 case $shell in 1476 run) case $shell in 1573 s) op=shell ;; 1665 case $shell in 1711 case $shell in 2838 case $shell in 3340 case $shell in [all …]
|
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | dosys.cc | 156 Name shell = getvar(shell_name); in doshell() local 161 if (IS_EQUAL(shell->string_mb, "")) { in doshell() 162 shell = shell_name; in doshell() 165 shellname = shell->string_mb; in doshell() 207 (void) execve(shell->string_mb, argv, environ); in doshell() 209 shell->string_mb, in doshell() 243 Name shell = getvar(shell_name); in exec_vp() local 248 if (IS_EQUAL(shell->string_mb, "")) { in exec_vp() 249 shell = shell_name; in exec_vp() 262 shellname = strrchr(shell->string_mb, (int) slash_char); in exec_vp() [all …]
|
H A D | mksh.cc | 63 static void init_mksh_globals(char *shell); 80 init_mksh_globals(char *shell) in init_mksh_globals() argument 90 dmake_shell = shell; in init_mksh_globals()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | fmtesc.c | 59 int shell; in fmtquote() local 69 shell = 0; in fmtquote() 75 shell = 1; in fmtquote() 177 if (singlequote || shell) in fmtquote() 183 if (shell) in fmtquote() 202 …else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()… in fmtquote() 210 buf += shell + !spaced; in fmtquote()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/ |
H A D | DESIGN | 6 The files nval.h and shell.h are intended to be public 20 The fun directory contains some shell function such as 47 bash if the shell is compiled with SHOPT_BASH and the shell 86 15. shell.h is the public interface for shell functions 87 that are documented int shell.3. 101 shell timeout. 104 shell variables. 111 library and the interface to shell arithmetic. 145 21. parse.c contains the code for the shell parser. 150 rest of the shell can be in a shared library. [all …]
|
H A D | sh.memo | 16 (shell) for the UNIX* 36 shell standard. 102 the C shell\*(Rf, 322 special to the shell. 416 shell. 2135 and the POSIX shell that are not part of the Bourne shell. 2349 The shell variables 2953 shell procedure. 2977 the shell will run 2986 make this shell [all …]
|
H A D | OBSOLETE | 90 invocation of the shell. 92 invocations of the shell should 104 The shell environment variable 127 The shell command line option 129 is obsolete. This option cause the shell to exit after reading 150 These options can also be used upon invocation of the shell.
|
H A D | PROMO.mm | 6 The KornShell is a shell programming language, 12 shell "csh". With KSH-93, medium-sized programming tasks can be 13 performed at shell-level without a significant loss in performance. 29 function records commands entered at any shell level and stores 67 than the System V Bourne shell. A major reason for this is 89 an existing command or shell script. 100 field width, and justification to shell variables. 127 invoked by name, rather than as an argument to the shell.
|
H A D | Makefile | 5 SH := $(PWD:B:/[0-9]*$//:N=ksh*:-ksh) /* name of the shell program */ 25 SHOPT_BRACEPAT == 1 /* C-shell {...,...} expansions (, required) */ 38 SHOPT_KIA == 1 /* shell information database generation */
|
H A D | README | 11 the sh directory. However, the shell editing and history routines 12 are in the edit sub-directory. The code for shell built-ins is 14 data tables and messages that are used by the shell. The include 36 BRACEPAT on C-shell type abc{d,e}f style file generation 47 CRNL off <cr><nl> treated as <nl> in shell grammar. 68 PFSH off Compile with support for profile shell. 77 exiting the shell when you don't enter a command. If 95 shell, then you can run the script mamexec < Mamfile to build ksh. 115 To be able to run setuid/setgid shell scripts, or scripts without read 130 To run all these tests with the shell you just built, go to the tests [all …]
|
/illumos-gate/usr/src/cmd/script/ |
H A D | script.c | 48 char *shell; variable 78 shell = getenv("SHELL"); in main() 79 if (shell == NULL) in main() 80 shell = "/bin/sh"; in main() 214 execl(shell, shell, "-i", (char *)0); in doshell() 215 perror(shell); in doshell()
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_rexd.c | 148 audit_rexd_fail(msg, hostname, user, uid, gid, shell, cmd) in audit_rexd_fail() argument 154 char *shell; /* login shell of user requesting service */ 228 audit_cmd[0] = shell; 267 audit_rexd_success(hostname, user, uid, gid, shell, cmd) in audit_rexd_success() argument 272 char *shell; /* login shell of user requesting service */ 305 if (shell == NULL) 306 shell = empty; 346 audit_cmd[0] = shell;
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | usermod.c | 98 static char *shell = NULL; /* shell from command line */ variable 228 shell = optarg; 527 if (shell) { 528 if (REL_PATH(shell)) { 529 errmsg(M_RELPATH, shell); 532 if (strcmp(pstruct->pw_shell, shell) == 0) { 534 shell = NULL; 536 if (stat(shell, &statbuf) < 0 || 540 errmsg(M_INVALID, shell, "shell"); 627 if (shell) { /* shell */ [all …]
|
H A D | useradd.c | 117 static char *shell = NULL; /* shell from command line */ variable 220 shell = optarg; 379 if (shell != NULL) { 380 valid_input(SHELL, shell); 381 usrdefs->defshell = shell; 535 if (shell != NULL) 536 valid_input(SHELL, shell); 538 shell = usrdefs->defshell; 595 nargv[argindex++] = shell;
|
/illumos-gate/usr/src/grub/grub-0.97/util/ |
H A D | grub-md5-crypt.in | 39 --grub-shell=FILE use FILE as the grub shell 51 --grub-shell=*)
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | Makefile | 40 refer5.o refer6.o refer7.o refer8.o shell.o sortbib.o \ 85 hunt7.o glue5.o refer3.o shell.o \ 91 glue5.o refer0.o shell.o 132 hunt7.c glue5.c refer3.c shell.c \ 138 glue5.c refer0.c shell.c $(LDLIBS)
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | cmdtab.c | 14 extern void shell(int), getfl(int), tip_sendfile(int), chdirectory(int); 20 { '!', NORM, "shell", shell },
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | README | 17 1. In one shell run 'mngr' 22 2. In another shell run bridge instance. 28 separate shell (this way you will be able manage them).
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_data.c | 71 unsigned char shell[ONMSZ] = { variable 114 (unsigned char *)"shell", (unsigned char *)"sh", STRING, 0, 0, shell,
|