Home
last modified time | relevance | path

Searched full:shell (Results 1 – 25 of 842) sorted by relevance

12345678910>>...34

/kernel/linux/linux-5.10/tools/scripts/
Dutilities.mak22 # GNU make's $(shell ...) function converts to a
42 # shell-escape-nl
44 # Usage: $(shell some-command | $(call shell-escape-nl[,escape]))
46 # Use this to escape newlines from within a shell call;
50 # in an `awk' program that is delimited by shell
54 define shell-escape-nl
58 # shell-unescape-nl
60 # Usage: $(shell some-command | $(call shell-unescape-nl[,escape]))
62 # Use this to unescape newlines from within a shell call;
67 # delimited by shell single-quotes, so be wary
[all …]
/kernel/linux/linux-6.6/tools/scripts/
Dutilities.mak22 # GNU make's $(shell ...) function converts to a
42 # shell-escape-nl
44 # Usage: $(shell some-command | $(call shell-escape-nl[,escape]))
46 # Use this to escape newlines from within a shell call;
50 # in an `awk' program that is delimited by shell
54 define shell-escape-nl
58 # shell-unescape-nl
60 # Usage: $(shell some-command | $(call shell-unescape-nl[,escape]))
62 # Use this to unescape newlines from within a shell call;
67 # delimited by shell single-quotes, so be wary
[all …]
/kernel/liteos_a/shell/
DKconfig1 config SHELL config
2 bool "Enable Shell"
6 Answer Y to enable LiteOS support shell cmd.
8 menu "Functionality of Shell"
9 depends on SHELL
12 bool "Enable Shell lk"
14 depends on DEBUG_VERSION && SHELL
16 Answer Y to enable LiteOS support shell lk.
19 bool "Enable Shell dmesg"
21 depends on DEBUG_VERSION && SHELL && SHELL_CMD_DEBUG
[all …]
/kernel/liteos_m/components/shell/
DKconfig1 config SHELL config
2 bool "Enable Shell"
7 Answer Y to enable LiteOS support shell cmd.
13 menu "Functionality of Shell"
14 depends on SHELL
17 int "Shell Task Priority"
20 depends on SHELL
23 int "Shell Task Stack Size"
25 depends on SHELL
/kernel/linux/linux-6.6/drivers/staging/vt6655/
Dtest1 KSP := /lib/modules/$(shell uname -r)/build \
2 /usr/src/linux-$(shell uname -r) \
3 /usr/src/linux-$(shell uname -r | sed 's/-.*//') \
4 # /usr/src/kernel-headers-$(shell uname -r) \
5 # /usr/src/kernel-source-$(shell uname -r) \
6 # /usr/src/linux-$(shell uname -r | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
8 test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Dtest1 KSP := /lib/modules/$(shell uname -r)/build \
2 /usr/src/linux-$(shell uname -r) \
3 /usr/src/linux-$(shell uname -r | sed 's/-.*//') \
4 # /usr/src/kernel-headers-$(shell uname -r) \
5 # /usr/src/kernel-source-$(shell uname -r) \
6 # /usr/src/linux-$(shell uname -r | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
8 test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
/kernel/linux/linux-6.6/scripts/
DKconfig.include16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)")
44 cc-info := $(shell,$(srctree)/scripts/cc-version.sh $(CC))
46 cc-name := $(shell,set -- $(cc-info) && echo $1)
47 cc-version := $(shell,set -- $(cc-info) && echo $2)
50 as-info := $(shell,$(srctree)/scripts/as-version.sh $(CC) $(CLANG_FLAGS))
52 as-name := $(shell,set -- $(as-info) && echo $1)
53 as-version := $(shell,set -- $(as-info) && echo $2)
56 ld-info := $(shell,$(srctree)/scripts/ld-version.sh $(LD))
58 ld-name := $(shell,set -- $(ld-info) && echo $1)
59 ld-version := $(shell,set -- $(ld-info) && echo $2)
/kernel/linux/linux-5.10/Documentation/kbuild/
Dkconfig-macro-language.rst38 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC))
107 - $(shell,command)
109 The "shell" function accepts a single argument that is expanded and passed
181 For example, $(shell echo hello, world) runs the command "echo hello, world".
188 $(shell, echo hello, world)
190 is an error because it is passing two parameters where the 'shell' function
194 $(shell, echo hello$(comma) world)
228 Obviously from the design, $(shell command) is expanded in the textual
229 substitution phase. You cannot pass symbols to the 'shell' function.
239 def_bool $(shell $(srctree)/scripts/gcc-check-flag ENDIAN_FLAG)
[all …]
/kernel/linux/linux-6.6/Documentation/kbuild/
Dkconfig-macro-language.rst38 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC))
107 - $(shell,command)
109 The "shell" function accepts a single argument that is expanded and passed
181 For example, $(shell echo hello, world) runs the command "echo hello, world".
188 $(shell, echo hello, world)
190 is an error because it is passing two parameters where the 'shell' function
194 $(shell, echo hello$(comma) world)
228 Obviously from the design, $(shell command) is expanded in the textual
229 substitution phase. You cannot pass symbols to the 'shell' function.
239 def_bool $(shell $(srctree)/scripts/gcc-check-flag ENDIAN_FLAG)
[all …]
/kernel/linux/linux-6.6/tools/perf/
DMakefile.perf359 PYTHON_EXT_SRCS := $(shell grep -v ^\# util/python-ext-sources)
361 PYTHON_EXT_SRCS := $(shell grep -v '^\#\|util/trace-event.c' util/python-ext-sources)
432 SHELL = $(SHELL_PATH)
448 _dummy := $(shell [ -d '$(beauty_ioctl_outdir)' ] || mkdir -p '$(beauty_ioctl_outdir)')
451 $(Q)$(SHELL) '$(drm_ioctl_tbl)' $(drm_hdr_dir) > $@
457 $(Q)$(SHELL) '$(fadvise_advice_tbl)' $(linux_uapi_dir) > $@
463 $(Q)$(SHELL) '$(fsmount_tbls)' $(linux_uapi_dir) > $@
469 $(Q)$(SHELL) '$(fspick_tbls)' $(linux_uapi_dir) > $@
475 $(Q)$(SHELL) '$(fsconfig_tbls)' $(linux_uapi_dir) > $@
482 $(Q)$(SHELL) '$(pkey_alloc_access_rights_tbl)' $(asm_generic_hdr_dir) > $@
[all …]
DMakefile.config15 $(shell printf "" > $(OUTPUT).config-detected)
16 detected = $(shell echo "$(1)=y" >> $(OUTPUT).config-detected)
17 detected_var = $(shell echo "$(1)=$($(1))" >> $(OUTPUT).config-detected)
226 …ifeq ($(shell expr $(shell $(BISON) --version | grep bison | sed -e 's/.\+ \([0-9]\+\).\([0-9]\+\)…
299 PYTHON_CONFIG_SQ := $(call shell-sq,$(PYTHON_CONFIG))
304 ifeq ($(shell $(PYTHON_CONFIG_SQ) --ldflags --embed 2>&1 1>/dev/null; echo $$?), 0)
311 PYTHON_EMBED_LDOPTS := $(shell $(PYTHON_CONFIG_SQ) $(PYTHON_CONFIG_LDFLAGS) 2>/dev/null)
314 PYTHON_EMBED_CCOPTS := $(shell $(PYTHON_CONFIG_SQ) --includes 2>/dev/null)
450 ifneq ($(shell ldconfig -p | grep libasan >/dev/null 2>&1; echo $$?), 0)
456 ifneq ($(shell ldconfig -p | grep libubsan >/dev/null 2>&1; echo $$?), 0)
[all …]
/kernel/linux/linux-5.10/tools/perf/
DMakefile.perf333 PYTHON_EXT_SRCS := $(shell grep -v ^\# util/python-ext-sources)
399 …CLANGLIBS_NOEXT_LIST = $(foreach l,$(CLANGLIBS_LIST),$(shell $(LLVM_CONFIG) --libdir)/libclang$(l))
405 LIBLLVM = $(shell $(LLVM_CONFIG) --libs all) $(shell $(LLVM_CONFIG) --system-libs)
406 LIBS += -L$(shell $(LLVM_CONFIG) --libdir) $(LIBLLVM)
417 SHELL = $(SHELL_PATH)
433 _dummy := $(shell [ -d '$(beauty_ioctl_outdir)' ] || mkdir -p '$(beauty_ioctl_outdir)')
436 $(Q)$(SHELL) '$(drm_ioctl_tbl)' $(drm_hdr_dir) > $@
442 $(Q)$(SHELL) '$(fadvise_advice_tbl)' $(linux_uapi_dir) > $@
448 $(Q)$(SHELL) '$(fsmount_tbls)' $(linux_uapi_dir) > $@
454 $(Q)$(SHELL) '$(fspick_tbls)' $(linux_uapi_dir) > $@
[all …]
/kernel/linux/linux-6.6/tools/build/feature/
DMakefile211 $(BUILD) $(shell $(PKG_CONFIG) --cflags libtraceevent 2>/dev/null) -ltracefs
217 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) -Wno-deprecated-declarations
220 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null)
225 PERL_EMBED_LDOPTS = $(shell perl -MExtUtils::Embed -e ldopts 2>/dev/null)
228 PERL_EMBED_CCOPTS = $(shell perl -MExtUtils::Embed -e ccopts 2>/dev/null)
344 -I$(shell $(LLVM_CONFIG) --includedir) \
345 -L$(shell $(LLVM_CONFIG) --libdir) \
346 $(shell $(LLVM_CONFIG) --libs Core BPF) \
347 $(shell $(LLVM_CONFIG) --system-libs) \
352 -I$(shell $(LLVM_CONFIG) --includedir) \
[all …]
/kernel/linux/linux-5.10/tools/build/feature/
DMakefile202 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) -Wno-deprecated-declarations
205 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null)
210 PERL_EMBED_LDOPTS = $(shell perl -MExtUtils::Embed -e ldopts 2>/dev/null)
213 PERL_EMBED_CCOPTS = $(shell perl -MExtUtils::Embed -e ccopts 2>/dev/null)
303 -I$(shell $(LLVM_CONFIG) --includedir) \
304 -L$(shell $(LLVM_CONFIG) --libdir) \
305 $(shell $(LLVM_CONFIG) --libs Core BPF) \
306 $(shell $(LLVM_CONFIG) --system-libs) \
311 -I$(shell $(LLVM_CONFIG) --includedir) \
316 -I$(shell $(LLVM_CONFIG) --includedir) \
[all …]
/kernel/linux/linux-5.10/arch/xtensa/
DMakefile25 COMPILE_ARCH = $(shell uname -m)
55 ifeq ($(shell echo __XTENSA_EB__ | $(CC) -E - | grep -v "\#"),1)
59 ifeq ($(shell echo __XTENSA_EL__ | $(CC) -E - | grep -v "\#"),1)
73 buildvar := $(shell test -e $(srctree)/arch/xtensa/variants/$(VARIANT)/Makefile && echo arch/xtensa…
74 buildplf := $(shell test -e $(srctree)/arch/xtensa/platforms/$(PLATFORM)/Makefile && echo arch/xten…
78 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
/kernel/linux/linux-5.10/scripts/kconfig/
DMakefile164 HOSTLDLIBS_nconf = $(shell . $(obj)/nconf-cfg && echo $$libs)
165 HOSTCFLAGS_nconf.o = $(shell . $(obj)/nconf-cfg && echo $$cflags)
166 HOSTCFLAGS_nconf.gui.o = $(shell . $(obj)/nconf-cfg && echo $$cflags)
176 HOSTLDLIBS_mconf = $(shell . $(obj)/mconf-cfg && echo $$libs)
178 $(eval HOSTCFLAGS_$f = $$(shell . $(obj)/mconf-cfg && echo $$$$cflags)))
187 HOSTLDLIBS_qconf = $(shell . $(obj)/qconf-cfg && echo $$libs)
188 HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/qconf-cfg && echo $$cflags)
189 HOSTCXXFLAGS_qconf-moc.o = $(shell . $(obj)/qconf-cfg && echo $$cflags)
194 cmd_moc = $(shell . $(obj)/qconf-cfg && echo $$moc) $< -o $@
205 HOSTLDLIBS_gconf = $(shell . $(obj)/gconf-cfg && echo $$libs)
[all …]
/kernel/linux/linux-5.10/tools/build/
DMakefile.feature6 $(shell mkdir -p $(OUTPUT_FEATURES))
11 …feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_…
176 MSG = $(shell printf '...%30s: [ \033[32mon\033[m ]' $(1))
178 MSG = $(shell printf '...%30s: [ \033[31mOFF\033[m ]' $(1))
184 MSG = $(shell printf '...%30s: %s' $(1) $(2))
194 FEATURE_DUMP := $(shell touch $(FEATURE_DUMP_FILENAME); cat $(FEATURE_DUMP_FILENAME))
221 $(shell rm -f $(FEATURE_DUMP_FILENAME))
222 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI…
/kernel/linux/linux-6.6/tools/build/
DMakefile.feature6 $(shell mkdir -p $(OUTPUT_FEATURES))
11 …feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_…
202 MSG = $(shell printf '...%40s: [ \033[32mon\033[m ]' $(1))
204 MSG = $(shell printf '...%40s: [ \033[31mOFF\033[m ]' $(1))
210 MSG = $(shell printf '...%40s: %s' $(1) $(2))
220 FEATURE_DUMP := $(shell touch $(FEATURE_DUMP_FILENAME); cat $(FEATURE_DUMP_FILENAME))
247 $(shell rm -f $(FEATURE_DUMP_FILENAME))
248 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI…
/kernel/linux/linux-5.10/Documentation/admin-guide/aoe/
Dexamples.rst11 :language: shell
17 :language: shell
23 :language: shell
/kernel/linux/linux-6.6/Documentation/admin-guide/aoe/
Dexamples.rst11 :language: shell
17 :language: shell
23 :language: shell
/kernel/linux/linux-6.6/Documentation/admin-guide/
Dperf-security.rst168 privileged environment, naturally shell, is possible. The shell provides
175 1. Create shell script that uses capsh utility [16]_ to assign CAP_PERFMON
176 and other required capabilities into ambient capability set of the shell
184 # ls -alh /usr/local/bin/perf.shell
185 -rwxr-xr-x. 1 root root 83 Oct 13 23:57 /usr/local/bin/perf.shell
186 # cat /usr/local/bin/perf.shell
194 %perf_users ALL=/usr/local/bin/perf.shell
197 shell and have CAP_PERFMON and other required capabilities enabled
204 $ sudo perf.shell
270 (ulimit -n), which is usually derived from the login shell process. When
/kernel/linux/linux-5.10/scripts/kconfig/tests/preprocess/builtin_func/
DKconfig17 # 'shell' executes a command, and returns its stdout.
18 $(warning,$(shell,echo hello world 3))
22 $(warning,$(shell,printf 'hello\nworld\n\n4\n\n\n'))
/kernel/linux/linux-6.6/scripts/kconfig/tests/preprocess/builtin_func/
DKconfig17 # 'shell' executes a command, and returns its stdout.
18 $(warning,$(shell,echo hello world 3))
22 $(warning,$(shell,printf 'hello\nworld\n\n4\n\n\n'))
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/
DMakefile22 _dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
25 $(Q)$(SHELL) '$(systbl)' '64' $(sysdef) > $@
28 $(Q)$(SHELL) '$(systbl)' '32' $(sysdef) > $@
/kernel/linux/linux-6.6/samples/bpf/
Dtcp_bpf.readme3 a cgroupv2 and attach a bash shell to the group.
11 Anything that runs under this shell belongs to the foo cgroupv2. To load
23 cgroupv2 to which the BPF programs are attached (i.e. under bash shell

12345678910>>...34