/freebsd/contrib/netbsd-tests/ipf/input/ |
H A D | ni19 | 1 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,… 8 # 10.1.1.4.shell > 10.1.1.1.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2> 15 # 192.168.113.3.1009 > 10.1.1.4.shell 21 # 192.168.113.3.1009 > 10.1.1.4.shell 27 # 10.1.1.4.shell > 10.1.1.1.1009 54 # 192.168.113.3.1009 > 10.1.1.4.shell 60 # 10.1.1.4.shell > 10.1.1.1.1009 66 # 192.168.113.3.1009 > 10.1.1.4.shell 75 # 10.1.1.4.shell > 10.1.1.1.1009 81 # 10.1.1.4.shell > 10.1.1.1.1009 [all …]
|
H A D | ni20 | 1 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,… 8 # 192.168.113.4.shell > 192.168.113.3.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2> 15 # 192.168.113.3.1009 > 10.1.1.4.shell 21 # 192.168.113.3.1009 > 10.1.1.4.shell 27 # 192.168.113.4.shell > 192.168.113.3.1009 54 # 192.168.113.3.1009 > 10.1.1.4.shell PUSH+ACK 60 # 192.168.113.4.shell > 192.168.113.3.1009 ACK 66 # 192.168.113.3.1009 > 10.1.1.4.shell PUSH+ACK 75 # 192.168.113.4.shell > 192.168.113.3.1009 ACK 81 # 192.168.113.4.shell > 192.168.113.3.1009 PUSH+ACK [all …]
|
/freebsd/usr.bin/newgrp/ |
H A D | newgrp.c | 260 const char *shell; in loginshell() local 263 shell = pwd->pw_shell; in loginshell() 264 if (*shell == '\0') in loginshell() 265 shell = _PATH_BSHELL; in loginshell() 284 setenv("SHELL", shell, 1); in loginshell() 291 if (asprintf(args, "-%s", shell) < 0) in loginshell() 295 execv(shell, args); in loginshell() 296 err(1, "%s", shell); in loginshell() 302 const char *shell; in doshell() local 304 shell = pwd->pw_shell; in doshell() [all …]
|
/freebsd/sys/contrib/zstd/lib/ |
H A D | libzstd.mk | 57 LIBVER_MAJOR := $(shell echo $(LIBVER_MAJOR_SCRIPT)) 58 LIBVER_MINOR := $(shell echo $(LIBVER_MINOR_SCRIPT)) 59 LIBVER_PATCH := $(shell echo $(LIBVER_PATCH_SCRIPT)) 60 LIBVER := $(shell echo $(LIBVER_SCRIPT)) 61 CCVER := $(shell $(CC) --version) 68 HAVE_CC_OZ ?= $(shell echo "" | $(CC) -Oz -x c -c - -o /dev/null 2> /dev/null && echo 1 || echo 0) 104 ifeq ($(shell echo "int main(int argc, char* argv[]) { (void)argc; (void)argv; return 0; }" | $(CC)… 107 ifeq ($(shell echo | $(CC) $(FLAGS) -Wa,--noexecstack -x assembler -Werror -c - -o $(VOID) 2>$(VOID… 110 else ifeq ($(shell echo | $(CC) $(FLAGS) -Qunused-arguments -Wa,--noexecstack -x assembler -Werror … 117 HAVE_COLORNEVER = $(shell echo a | grep --color=never a > /dev/null 2> /dev/null && echo 1 || echo … [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | commands | 6 #0 string/w : shell archive or script for antique kernel text 7 0 string/fwt #!\ /bin/sh POSIX shell script text executable 9 0 string/fwb #!\ /bin/sh POSIX shell script executable (binary data) 14 0 string/fwt #!\ /bin/csh C shell script text executable 17 # korn shell magic, sent by George Wu, gwu@clyde.att.com 18 0 string/fwt #!\ /bin/ksh Korn shell script text executable 20 0 string/fwb #!\ /bin/ksh Korn shell script executable (binary data) 23 0 string/fwt #!\ /bin/tcsh Tenex C shell script text executable 25 0 string/fwt #!\ /usr/bin/tcsh Tenex C shell script text executable 27 0 string/fwt #!\ /usr/local/tcsh Tenex C shell script text executable [all …]
|
/freebsd/contrib/atf/atf-sh/ |
H A D | integration_test.sh | 88 This is the custom shell 92 cat >custom-shell <<EOF 97 chmod +x custom-shell 100 atf_check -s eq:0 -o file:expout -e empty "${ATF_SH}" -s ./custom-shell tp 107 This is the custom shell 111 cat >custom-shell <<EOF 116 chmod +x custom-shell 131 cat >custom-shell <<EOF 135 chmod +x custom-shell 147 "${ATF_SH}" -s ./custom-shell tp helper
|
/freebsd/usr.bin/bmake/tests/shell/path_select/ |
H A D | Makefile.test | 14 .SHELL: name=sh path=${.CURDIR}/shell 16 @: This is the shell. 20 .SHELL: name=csh path=${.CURDIR}/shell 22 @: This is the C-shell. 26 .SHELL: name=ksh path=${.CURDIR}/shell 28 @: This is the Korn-shell.
|
/freebsd/usr.sbin/setpmac/ |
H A D | setpmac.c | 60 const char *shell; in main() local 86 if (!(shell = getenv("SHELL"))) in main() 87 shell = _PATH_BSHELL; in main() 88 execlp(shell, shell, "-i", (char *)NULL); in main() 89 err(1, "%s", shell); in main()
|
/freebsd/contrib/bmake/ |
H A D | job.c | 102 * define the shell that is used for the creation 157 * A shell defines how the commands are run. All commands for a target are 158 * written into a single file, which is then given to the shell to execute 162 * The name of the shell is the basename for the predefined shells, such as 164 * basename is used to select the type of shell; the longest match wins. 168 * echoOn, noPrint and noPrintLen. When echoOff is executed by the shell, it 175 * In case a shell doesn't have error control, echoTmpl is a printf template 179 * causing the shell to exit on error. If any of these strings are empty when 183 * shell code injection, the escaped command is safe to use in double quotes. 186 * "echo" flag causes the shell t 424 static Shell *shell = &shells[DEFSHELL_INDEX]; global() variable [all...] |
/freebsd/contrib/bmake/unit-tests/ |
H A D | comment.exp | 1 echo This is a shell comment: # comment 2 This is a shell comment: 3 echo This is not a shell comment: '# comment' 4 This is not a shell comment: # comment 5 A shell comment can#not start in the middle of a word.
|
H A D | var-op-sunsh.mk | 29 VAR:shell= echo colon-shell 33 .if ${${:UVAR\:shell}} != "echo colon-shell" 65 VAR.${:U echo\:shell}= ok-shell 66 .if ${VAR.${:U echo\:shell}} != "ok-shell"
|
H A D | Makefile | 162 TESTS+= deptgt-shell 316 TESTS+= shell-csh 317 TESTS+= shell-custom 319 TESTS+= shell-ksh 321 TESTS+= shell-sh 356 TESTS+= var-op-shell 365 TESTS+= varmod-assign-shell 368 TESTS+= varmod-exclam-shell 396 TESTS+= varmod-shell 399 TESTS+= varmod-sun-shell [all …]
|
/freebsd/bin/sh/tests/builtins/ |
H A D | command6.0.stdout | 1 true is a shell builtin 3 fun is a shell function 4 break is a special shell builtin 5 if is a shell keyword 6 { is a shell keyword
|
H A D | command5.0.stdout | 2 true is a shell builtin 4 fun is a shell function 5 break is a special shell builtin 6 if is a shell keyword 7 { is a shell keyword
|
/freebsd/usr.bin/apply/ |
H A D | apply.c | 63 char *cmd, *name, *p, *shell, *slashp, *tmpshell; in main() local 115 shell = name = NULL; in main() 117 shell = (tmpshell != NULL) ? strdup(tmpshell) : strdup(_PATH_BSHELL); in main() 118 if (shell == NULL) in main() 120 slashp = strrchr(shell, '/'); in main() 121 name = (slashp != NULL) ? slashp + 1 : shell; in main() 193 if (exec_shell(sbuf_data(cmdbuf), shell, name)) in main() 202 free(shell); in main()
|
/freebsd/crypto/libecc/ |
H A D | common.mk | 4 MINGW := $(shell $(CROSS_COMPILE)$(CC) -dumpmachine 2>&1 | grep -v mingw) 6 APPLE := $(shell $(CROSS_COMPILE)$(CC) -dumpmachine 2>&1 | grep -v apple) 17 SYS_ROOT_PATH := $(shell xcode-select --print-path) 37 CLANG := $(shell $(CROSS_COMPILE)$(CC) -v 2>&1 | grep clang) 41 CLANG_VERSION := $(shell $(CROSS_COMPILE)$(CC) -dumpversion) 43 CLANG_VERSION := $(shell echo $(CLANG_VERSION) | cut -f1-2 -d. | sed -e 's/\./*100+/g') 45 CLANG_VERSION := $(shell echo $$(($(CLANG_VERSION)))) 47 CLANG_VERSION_GTE_12 := $(shell [ $(CLANG_VERSION) -ge 1200 ] && echo true) 48 CLANG_VERSION_GTE_13 := $(shell [ $(CLANG_VERSION) -ge 1300 ] && echo true) 49 CLANG_VERSION_GTE_16 := $(shell [ $(CLANG_VERSION) -ge 1600 ] && echo true) [all …]
|
/freebsd/contrib/wpa/hs20/client/ |
H A D | Makefile | 11 TEST_WK := $(shell pkg-config --silence-errors --cflags webkitgtk-3.0) 14 GTKCFLAGS := $(shell pkg-config --cflags gtk+-3.0 webkit2gtk-4.0) 15 GTKLIBS := $(shell pkg-config --libs gtk+-3.0 webkit2gtk-4.0) 18 GTKCFLAGS := $(shell pkg-config --cflags gtk+-3.0 webkitgtk-3.0) 19 GTKLIBS := $(shell pkg-config --libs gtk+-3.0 webkitgtk-3.0) 60 CFLAGS += $(shell xml2-config --cflags) 61 LIBS += $(shell xml2-config --libs)
|
/freebsd/usr.sbin/chroot/ |
H A D | chroot.c | 55 const char *shell; in main() local 171 if (!(shell = getenv("SHELL"))) in main() 172 shell = _PATH_BSHELL; in main() 173 execlp(shell, shell, "-i", (char *)NULL); in main() 174 err(1, "%s", shell); in main()
|
/freebsd/usr.sbin/jexec/ |
H A D | jexec.c | 64 const char *username, *shell, *term; in main() local 148 if (!(shell = getenv("SHELL"))) in main() 149 shell = _PATH_BSHELL; in main() 150 if (execlp(shell, shell, "-i", NULL) < 0) in main() 151 err(1, "execlp: %s", shell); in main()
|
/freebsd/contrib/libcbor/examples/bazel/ |
H A D | README.md | 9 ```shell 17 ```shell 25 ```shell 31 ```shell
|
/freebsd/usr.bin/bmake/unit-tests/ |
H A D | Makefile | 165 TESTS+= deptgt-shell 319 TESTS+= shell-csh 320 TESTS+= shell-custom 322 TESTS+= shell-ksh 324 TESTS+= shell-sh 359 TESTS+= var-op-shell 368 TESTS+= varmod-assign-shell 371 TESTS+= varmod-exclam-shell 399 TESTS+= varmod-shell 402 TESTS+= varmod-sun-shell [all...] |
/freebsd/contrib/less/ |
H A D | lsystem.c | 41 * Pass the specified command to a shell to be executed. 48 constant char *shell; in lsystem() 125 * If the command is empty, just invoke a shell. in lsystem() 129 if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0') in lsystem() 132 p = save(shell); in lsystem() 138 size_t len = strlen(shell) + strlen(esccmd) + 5; in lsystem() 140 SNPRINTF3(p, len, "%s %s %s", shell, shell_coption(), esccmd); in lsystem() 239 * Pipe a section of the input file into the given shell command. 278 * Create a pipe to the given shell comman 49 char *shell; lsystem() local [all...] |
/freebsd/crypto/heimdal/appl/su/ |
H A D | su.c | 337 char *shell; in main() local 384 shell = login_info->pw_shell; in main() 386 shell = su_info->pw_shell; in main() 387 if(shell == NULL || *shell == '\0') in main() 388 shell = _PATH_BSHELL; in main() 472 esetenv("SHELL", shell, 1); in main() 480 p = strrchr(shell, '/'); in main() 484 p = shell; in main() 522 execve(shell, args, environ); in main()
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | Makefile | 41 DBUS_LIBS := $(shell $(PKG_CONFIG) --libs dbus-1) 44 DBUS_INCLUDE := $(shell $(PKG_CONFIG) --cflags dbus-1) 48 DBUS_INCLUDE += $(shell xml2-config --cflags) 49 DBUS_LIBS += $(shell xml2-config --libs)
|
/freebsd/usr.bin/su/ |
H A D | su.c | 153 const char *p, *user, *shell, *mytty, **nargv; in main() local 162 p = shell = class = cleanenv = NULL; in main() 267 shell = shellbuf; in main() 270 shell = _PATH_BSHELL; in main() 374 shell = pwd->pw_shell; in main() 378 shell = _PATH_BSHELL; in main() 384 p = strrchr(shell, '/'); in main() 388 p = shell; in main() 505 setenv("SHELL", shell, 1); in main() 543 execv(shell, np.b); in main() [all …]
|