/linux/security/apparmor/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor.o 6 apparmor-y := apparmorfs.o audit.o capability.o task.o ipc.o lib.o match.o \ 10 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o 12 obj-$(CONFIG_SECURITY_APPARMOR_KUNIT_TEST) += apparmor_policy_unpack_test.o 13 apparmor_policy_unpack_test-objs += policy_unpack_test.o 15 clean-files := capability_names.h rlim_names.h net_names.h 17 # Build a lower case string table of address family names 30 quiet_cmd_make-af = GEN $@ 31 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\ [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | mq.json | 4 "name": "Add mq Qdisc to multi-queue device (4 queues)", 18 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", 26 "name": "Add mq Qdisc to multi-queue device (256 queues)", 40 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-9,a-f][0-9,a-f]{0,2}", 63 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", 70 "id": "128a", 85 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", 109 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", 117 "name": "Add mq Qdisc to single-queue device", 131 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", [all …]
|
/linux/scripts/ |
H A D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 22 'cross-compile|c=s' => \$cross_compile, 28 my $kerver = `uname -r`; 48 my ($line) = @_; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { 70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) { 74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) { [all …]
|
H A D | headers_install.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 if [ $# -ne 2 ] 24 trap 'rm -f $OUTFILE $TMPFILE' EXIT 26 # SPDX-License-Identifier with GPL variants must have "WITH Linux-syscall-note" 27 if [ - [all...] |
H A D | syscallnr.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Generate a syscall number header. 15 set -e 18 echo >&2 "usage: $0 [--abis ABIS] [--prefix PREFIX] INFILE OUTFILE" >&2 24 echo >&2 " --abis ABIS ABI(s) to handle (By default, all lines are handled)" 25 echo >&2 " --prefix PREFIX The prefix to the macro like __NR_<PREFIX><NAME>" 33 while [ $# -gt 0 ] 36 --abis) 39 --prefix) 42 -*) [all …]
|
H A D | bootgraph.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 13 # This script turns a dmesg output into a SVG graphic that shows which 34 2) perl scripts/bootgraph.pl -h 37 -header Insert kernel version and date 69 my $line = $_; 70 if ($line =~ /([0-9\.]+)\] calling ([a-zA-Z0-9\_\.]+)\+/) { 79 if ($line =~ /\@ ([0-9]+)/) { 85 if ($line =~ /([0-9\.]+)\] async_waiting @ ([0-9]+)/) { 93 $func = "wait_" . $pid . "_" . $pidctr{$pid}; 106 if ($line =~ /([0-9\.]+)\] initcall ([a-zA-Z0-9\_\.]+)\+.*returned/) { [all …]
|
H A D | syscallhdr.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Generate a syscall number header. 16 set -e 19 …echo >&2 "usage: $0 [--abis ABIS] [--emit-nr] [--offset OFFSET] [--prefix PREFIX] INFILE OUTFILE" … 25 echo >&2 " --abis ABIS ABI(s) to handle (By default, all lines are handled)" 26 echo >&2 " --emit-nr Emit the macro of the number of syscalls (__NR_syscalls)" 27 echo >&2 " --offset OFFSET The offset of syscall numbers" 28 echo >&2 " --prefix PREFIX The prefix to the macro like __NR_<PREFIX><NAME>" 38 while [ $# -gt 0 ] 41 --abis) [all …]
|
/linux/scripts/dtc/ |
H A D | dt-extract-compatibles | 2 # SPDX-License-Identifier: GPL-2.0-only 13 # CPU_METHOD_OF_DECLARE does not have a compatible string 15 re_macros = r'(?<!CPU_METHOD_)(IRQCHIP|OF)_(DECLARE|MATCH)(_DRIVER)?\(.*?\)' 17 re_macros = r'(?<!CPU_METHOD_)(IRQCHIP|OF)_(DECLARE|MATCH)\(.*?\)' 43 for m in re.finditer(r'\.of_match_table\s+=\s+(of_match_ptr\()?([a-zA-Z0-9_-]+)', data): 50 """ Find all compatibles in the last argument of a given function """ 52 for m in re.finditer(rf'{func_name}\(([a-zA-Z0-9_>\(\)"\-]+,\s)*"([a-zA-Z0-9_,-]+)"\)', data): 59 with open(file, 'r', encoding='utf-8') as f: 63 # For a compatible in the DT to be matched to a driver it needs to show 64 # up in a driver's of_match_table [all …]
|
/linux/tools/perf/trace/beauty/ |
H A D | drm_ioctl.sh | 2 # SPDX-License-Identifier: LGPL-2.1 4 [ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/drm/ 12 …sed -r 's/^#define +DRM_IOCTL_([A-Z0-9_]+)[ ]+DRM_IO[A-Z]* *\( *(0x[[:xdigit:]]+),*.*/ [\2] = "\1… 13 grep "^#define DRM_I915_[A-Z_0-9]\+[ ]\+0x" $header_dir/i915_drm.h | \ 14 …sed -r 's/^#define +DRM_I915_([A-Z0-9_]+)[ ]+(0x[[:xdigit:]]+)/\t[DRM_COMMAND_BASE + \2] = "I915_…
|
/linux/usr/include/ |
H A D | headers_check.pl | 2 # SPDX-License-Identifier: GPL-2.0 4 # headers_check.pl execute a number of trivial consistency checks 82 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) { 90 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 111 my $path = $_[0]; 143 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) {
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | nvidia,tegra194-pinmux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/nvidia,tegra194-pinmux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra194-pinmux 17 - nvidia,tegra194-pinmux-aon 21 - description: pinmux registers 24 "^pinmux(-[a-z0-9-_]+)?$": [all …]
|
/linux/arch/mips/kernel/syscalls/ |
H A D | syscallnr.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ 11 -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` 12 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | (
|
/linux/arch/arm/tools/ |
H A D | syscallnr.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ 9 -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` 11 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+" "$in" | sort -n | tail -n1 | ( 23 while [ "$(($nr / (256 * $align) ))" -gt 0 ]; do 26 nr=$(( ($nr + $align - 1) & ~($align - 1) ))
|
/linux/tools/perf/util/ |
H A D | demangle-rust.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "demangle-rust.h" 10 * _$LT$std..sys..fd..FileDesc$u20$as$u20$core..ops..Drop$GT$::drop::hc68340e1baa4987a 16 * The last component of the path is a 64-bit hash in lowercase hex, prefixed 17 * with "h". Rust does not have a global namespace between crates, an illusion 21 * Any path component not starting with a XID_Start character is prefixed with 22 * "_". 40 * A double ".." means "::" and a single "." means "-". 42 * The only characters allowed in the mangled symbol are a-zA-Z0-9 and _.:$ 55 * sym: symbol that has been through BFD-demangling [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra-audio-wm9712.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm9712.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-wm9712([-_][a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-wm9712 22 nvidia,audio-routing: [all …]
|
H A D | nvidia,tegra-audio-sgtl5000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-sgtl5000.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-sgtl5000([-_][a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-sgtl5000 22 nvidia,audio-routing: [all …]
|
/linux/arch/riscv/kernel/compat_vdso/ |
H A D | gen_compat_vdso_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define compat\2_offset\t0x\1/p'
|
/linux/arch/riscv/kernel/vdso/ |
H A D | gen_vdso_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define \2_offset\t0x\1/p'
|
/linux/arch/csky/kernel/vdso/ |
H A D | so2s.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 sed 's!\([0-9a-f]*\) T \([a-z0-9_]*\)\(@@LINUX_5.10\)*!.global \2\n.set \2,0x\1!' \
|
/linux/Documentation/driver-api/media/drivers/ccs/ |
H A D | mk-ccs-regs | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 3 # Copyright (C) 2019--2020 Intel Corporation 8 my $ccsregs = "ccs-regs.asc"; 28 $0 - Create CCS register definitions for C 30 usage: $0 -c ccs-regs.asc -e header -r regarray -l limit-c -L limit-header [-k] 32 -c ccs register file 33 -e header file name 34 -r register description array file name 35 -l limit and capability array file name [all …]
|
/linux/arch/loongarch/vdso/ |
H A D | gen_vdso_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # Derived from RISC-V and ARM64: 8 # Match symbols in the DSO that look like VDSO_*; produce a header file 12 LC_ALL=C sed -n -e 's/^00*/0/' -e \ 13 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2\t0x\1/p'
|
/linux/arch/powerpc/kernel/vdso/ |
H A D | gen_vdso64_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # Match symbols in the DSO that look like VDSO_*; produce a header file 8 # Doing this inside the Makefile will break the $(filter-out) function, 9 # causing Kbuild to rebuild the vdso-offsets header file every time. 15 sed -n -e 's/^00*/0/' -e \ 16 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso64_offset_\2\t0x\1/p'
|
H A D | gen_vdso32_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # Match symbols in the DSO that look like VDSO_*; produce a header file 8 # Doing this inside the Makefile will break the $(filter-out) function, 9 # causing Kbuild to rebuild the vdso-offsets header file every time. 15 sed -n -e 's/^00*/0/' -e \ 16 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso32_offset_\2\t0x\1/p'
|
/linux/arch/arm64/kernel/vdso/ |
H A D | gen_vdso_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # Match symbols in the DSO that look like VDSO_*; produce a header file 8 # Doing this inside the Makefile will break the $(filter-out) function, 9 # causing Kbuild to rebuild the vdso-offsets header file every time. 15 sed -n -e 's/^00*/0/' -e \ 16 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2 0x\1/p'
|
/linux/scripts/kconfig/ |
H A D | merge_config.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # merge_config.sh - Takes a list of config fragment values, and merges 10 # http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/kconf_check 11 # http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/generate_cfg 13 # Copyright (c) 2009-2010 Wind River Systems, Inc. 16 set -e 19 rm -f $TMP_FILE 20 rm -f $MERGE_FILE 25 echo " -h display this help text" 26 echo " -m only merge the fragments, do not execute the make command" [all …]
|