/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | suid_exec.c | 89 static char *shell; variable 236 shell = getenv("SHELL"); in main() 237 if(shell == 0 || !endsh(shell) || ( in main() 238 !in_dir("/bin",shell) && in main() 239 !in_dir("/usr/bin",shell) && in main() 240 !in_dir("/usr/lbin",shell) && in main() 241 !in_dir("/usr/local/bin",shell))) in main() 242 shell = DEFSHELL; in main() 245 execv(shell,argv); in main() 253 static int endsh(register const char *shell) in endsh() argument [all …]
|
/titanic_41/usr/src/cmd/newgrp/ |
H A D | newgrp.c | 87 char *shell, *dir, *name; in main() local 145 if ((shell = getenv("SHELL")) != NULL) { in main() 146 p->pw_shell = shell; in main() 176 if ((shell = (char *)malloc(len)) == NULL) in main() 178 (void) snprintf(shell, len, "-%s", p->pw_shell); in main() 179 simple = strrchr(shell, '/'); in main() 181 *(shell+1) = '\0'; in main() 182 shell = strcat(shell, ++simple); in main() 186 shell = p->pw_shell; in main() 188 (void) execl(p->pw_shell, shell, NULL); in main()
|
/titanic_41/usr/src/cmd/runat/ |
H A D | runat.c | 59 char *shell; in main() local 92 shell = getenv("SHELL"); in main() 93 if (shell == NULL) { in main() 97 shell = "/bin/sh"; in main() 100 (void) execl(shell, shell, NULL); in main() 102 gettext("runat: Failed to exec %s: %s\n"), shell, in main()
|
/titanic_41/usr/src/lib/libpp/common/ |
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
|
/titanic_41/usr/src/lib/libast/common/string/ |
H A D | fmtesc.c | 54 int shell; in fmtquote() local 64 shell = 0; in fmtquote() 70 shell = 1; in fmtquote() 166 if (singlequote || shell) in fmtquote() 172 if (shell) in fmtquote() 191 …else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()… in fmtquote() 199 buf += shell + !spaced; in fmtquote()
|
/titanic_41/usr/src/cmd/make/lib/mksh/ |
H A D | dosys.cc | 156 register Name shell = getvar(shell_name); in doshell() local 161 if (IS_EQUAL(shell->string_mb, "")) { in doshell() 162 shell = shell_name; in doshell() 164 if ((shellname = strrchr(shell->string_mb, (int) slash_char)) == NULL) { 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 register 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() [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()
|
/titanic_41/usr/src/lib/libshell/common/ |
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 37 where shell_path is an absolute pathname for the shell to 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. 107 1. args.c contains functions for parsing shell options 110 library and the interface to shell arithmetic. [all …]
|
H A D | sh.memo | 16 (shell) for the UNIX* 22 is essentially compatible with the System V version of the Bourne shell\*(Rf, 36 shell standard. 39 is related to shell programming. 71 assumes that the reader is already familiar with the Bourne shell. 73 relative to the Bourne shell; both 80 The term "shell" is used to describe a program that provides 87 system shell is a user level program, and not part of 89 anyone can write a new shell or modify an existing one. 93 The most widely available UNIX system shells are the Bourne shell\*(Rf, [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 | 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. 57 KIA off Allow generation of shell cross reference database with -I. 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 [all …]
|
/titanic_41/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()
|
/titanic_41/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;
|
/titanic_41/usr/src/cmd/oamuser/user/ |
H A D | usermod.c | 97 static char *shell = NULL; /* shell from command line */ variable 227 shell = optarg; 502 if (shell) { 503 if (REL_PATH(shell)) { 504 errmsg(M_RELPATH, shell); 507 if (strcmp(pstruct->pw_shell, shell) == 0) { 509 shell = NULL; 511 if (stat(shell, &statbuf) < 0 || 515 errmsg(M_INVALID, shell, "shell"); 602 if (shell) { /* shell */ [all …]
|
H A D | useradd.c | 115 static char *shell = NULL; /* shell from command line */ variable 216 shell = optarg; 357 if (shell != NULL) { 358 valid_input(SHELL, shell); 359 usrdefs->defshell = shell; 513 if (shell != NULL) 514 valid_input(SHELL, shell); 516 shell = usrdefs->defshell; 573 nargv[argindex++] = shell;
|
/titanic_41/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=*)
|
/titanic_41/usr/src/lib/libshell/common/tests/ |
H A D | README.tests | 17 and a 2nd time as compiled shell script. The env 18 variable SHCOMP defines the version of the shell 22 -c execute test module as compiled shell script 23 -s execute test module as normal shell script
|
/titanic_41/usr/src/cmd/refer/ |
H A D | Makefile | 39 refer5.o refer6.o refer7.o refer8.o shell.o sortbib.o \ 81 hunt7.o glue5.o refer3.o shell.o \ 87 glue5.o refer0.o shell.o 128 hunt7.c glue5.c refer3.c shell.c \ 134 glue5.c refer0.c shell.c $(LDLIBS)
|
/titanic_41/usr/src/cmd/tip/ |
H A D | cmdtab.c | 16 extern void shell(int), getfl(int), tip_sendfile(int), chdirectory(int); 22 { '!', NORM, "shell", shell },
|
/titanic_41/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).
|
/titanic_41/usr/src/cmd/vi/port/ |
H A D | ex_data.c | 73 unsigned char shell[ONMSZ] = { variable 116 (unsigned char *)"shell", (unsigned char *)"sh", STRING, 0, 0, shell,
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | execvp.c | 45 static char *shell = "/bin/sh"; variable 89 (void) execv(shell, newargs); in execvp()
|
/titanic_41/usr/src/cmd/login/ |
H A D | login.dfl | 25 # Set the TZ environment variable of the shell. 49 # PATH sets the initial shell PATH variable 53 # SUPATH sets the initial shell PATH variable for root 62 # UMASK sets the initial shell file creation mode mask. See umask(1).
|
/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | conf.sh | 46 shell=`eval 'x=123&&integer n=\${#x}\${x#1?}&&((n==330/(10)))&&echo ksh' 2>/dev/null` 218 *.h) case $shell in 873 case $shell in 1334 case $shell in 1369 case $shell in 1394 '0|'*) case $shell in 1401 case $shell in 1425 case $shell in 1457 case $shell in 1553 do case $shell in
|