| /kernel/linux/linux-5.10/security/apparmor/ |
| 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 \ 9 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o 11 clean-files := capability_names.h rlim_names.h net_names.h 13 # Build a lower case string table of address family names 26 quiet_cmd_make-af = GEN $@ 27 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\ 28 sed $< >>$@ -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \ 29 's/^\#define[ \t]+AF_([A-Z0-9_]+)[ \t]+([0-9]+)(.*)/[\2] = "\L\1",/p';\ [all …]
|
| /kernel/linux/linux-4.19/security/apparmor/ |
| 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 \ 9 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o 11 clean-files := capability_names.h rlim_names.h net_names.h 13 # Build a lower case string table of address family names 26 quiet_cmd_make-af = GEN $@ 27 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\ 28 sed $< >>$@ -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \ 29 's/^\#define[ \t]+AF_([A-Z0-9_]+)[ \t]+([0-9]+)(.*)/[\2] = "\L\1",/p';\ [all …]
|
| /kernel/liteos_a/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 6 You may obtain a copy of the License at 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 17 <!-- 19 --> 27 … <policyitem type="license" name="BSD-3-Clause" path=".*" desc="Liteos kernel use bsd3 license"/> 37 …<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan result… 38 …<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering sc… [all …]
|
| /kernel/liteos_m/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd. 6 You may obtain a copy of the License at 8 http://www.apache.org/licenses/LICENSE-2.0 18 --> 26 … <policyitem type="license" name="BSD-3-Clause" path=".*" desc="Liteos kernel use bsd3 license"/> 27 … <policyitem type="license" name="BSD-3-Clause" path=".*" desc="Liteos kernel use bsd3 license"/> 32 …<filteritem type="filepath" name="arch/risc-v/nuclei/gcc/nmsis/Library/.*" desc="文件属于三方芯片的二进制代码,属于… 36 … <filteritem type="filepath" name="arch/risc-v/nuclei" desc="该文件的license为apache 2.0符合"/> 39 …<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan result… [all …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 22 'cross-compile|c=s' => \$cross_compile, 28 my $kerver = `uname -r`; 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]+)/) { 79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) { [all …]
|
| D | headers_check.pl | 2 # SPDX-License-Identifier: GPL-2.0 4 # headers_check.pl execute a number of trivial consistency checks 58 $inc =~ s#asm/#asm-$arch/#; 87 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) { 95 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 148 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) {
|
| D | kernel-doc | 2 # SPDX-License-Identifier: GPL-2.0 10 ## Copyright (C) 2005-2012 Randy Dunlap ## 19 # 18/01/2001 - Cleanups 22 # -- huggie@earth.li 24 # 27/06/2001 - Allowed whitespace after initial "/**" and 26 # -- Christian Kreibich <ck@whoop.org> 29 # - add perldoc documentation 30 # - Look more closely at some of the scarier bits :) 32 # 26/05/2001 - Support for separate source and object trees. 36 # 23/09/2001 - Added support for typedefs, structs, enums and unions [all …]
|
| /kernel/linux/linux-4.19/scripts/ |
| D | markup_oops.pl | 25 'cross-compile|c=s' => \$cross_compile, 31 my $kerver = `uname -r`; 52 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 58 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 63 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 68 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { 73 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) { 77 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) { 82 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) { 107 if ($line =~ /([0-9a-zA-Z\,\%\(\)\-\+]+)$/) { [all …]
|
| D | headers_install.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 if [ $# -lt 2 ] 30 trap 'rm -f "$OUTDIR/$FILE" "$OUTDIR/$FILE.sed"' EXIT 34 sed -E \ 35 -e 's/([[:space:](])(__user|__force|__iomem)[[:space:]]/\1/g' \ 36 -e 's/__attribute_const__([[:space:]]|$)/\1/g' \ 37 -e 's@^#include <linux/compiler(|_types).h>@@' \ 38 -e 's/(^|[^a-zA-Z0-9])__packed([^a-zA-Z0-9_]|$)/\1__attribute__((packed))\2/g' \ 39 -e 's/(^|[[:space:](])(inline|asm|volatile)([[:space:](]|$)/\1__\2__\3/g' \ 40 -e 's@#(ifndef|define|endif[[:space:]]*/[*])[[:space:]]*_UAPI@#\1 @' \ [all …]
|
| D | headers_check.pl | 2 # SPDX-License-Identifier: GPL-2.0 4 # headers_check.pl execute a number of trivial consistency checks 58 $inc =~ s#asm/#asm-$arch/#; 87 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) { 95 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 148 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) {
|
| D | kernel-doc | 2 # SPDX-License-Identifier: GPL-2.0 10 ## Copyright (C) 2005-2012 Randy Dunlap ## 19 # 18/01/2001 - Cleanups 22 # -- huggie@earth.li 24 # 27/06/2001 - Allowed whitespace after initial "/**" and 26 # -- Christian Kreibich <ck@whoop.org> 29 # - add perldoc documentation 30 # - Look more closely at some of the scarier bits :) 32 # 26/05/2001 - Support for separate source and object trees. 36 # 23/09/2001 - Added support for typedefs, structs, enums and unions [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/devices/ |
| D | alps.rst | 1 ---------------------- 3 ---------------------- 6 ------------ 10 Since roughly mid-2010 several new ALPS touchpads have been released and 11 integrated into a variety of laptops and netbooks. These new touchpads 14 adequate. The design choices were to re-define the alps_model_data 23 (Compatibility ID) definition as a way to uniquely identify the 24 different ALPS variants but there did not appear to be a 1:1 mapping. 29 --------- 32 E8-E6-E6-E6-E9. An ALPS touchpad should respond with either 00-00-0A or [all …]
|
| /kernel/linux/linux-4.19/Documentation/input/devices/ |
| D | alps.rst | 1 ---------------------- 3 ---------------------- 6 ------------ 10 Since roughly mid-2010 several new ALPS touchpads have been released and 11 integrated into a variety of laptops and netbooks. These new touchpads 14 adequate. The design choices were to re-define the alps_model_data 23 (Compatibility ID) definition as a way to uniquely identify the 24 different ALPS variants but there did not appear to be a 1:1 mapping. 29 --------- 32 E8-E6-E6-E6-E9. An ALPS touchpad should respond with either 00-00-0A or [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | parse-events.l | 3 %option bison-bridge 6 %option bison-locations 16 #include "parse-events.h" 17 #include "parse-events-bison.h" 32 yylval->num = num; in __value() 50 yylval->str = strdup(text); in str() 53 * If a text tag specified on the command line in str() 61 yylval->str = strndup(&text[1], strlen(text) - 2); in str() 84 if ((text[len - 1] == 'c' || text[len - 1] == 'o') && in isbpf_suffix() 85 text[len - 2] == '.') in isbpf_suffix() [all …]
|
| /kernel/linux/linux-4.19/tools/perf/util/ |
| D | parse-events.l | 3 %option bison-bridge 6 %option bison-locations 16 #include "parse-events.h" 17 #include "parse-events-bison.h" 31 yylval->num = num; in __value() 57 yylval->str = strdup(text); in str() 60 * If a text tag specified on the command line in str() 68 yylval->str = strndup(&text[1], strlen(text) - 2); in str() 80 if ((text[len - 1] == 'c' || text[len - 1] == 'o') && in isbpf_suffix() 81 text[len - 2] == '.') in isbpf_suffix() [all …]
|
| /kernel/linux/linux-4.19/tools/perf/trace/beauty/ |
| D | drm_ioctl.sh | 3 [ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/drm/ 11 …sed -r 's/^#define +DRM_IOCTL_([A-Z0-9_]+)[ ]+DRM_IO[A-Z]* *\( *(0x[[:xdigit:]]+),*.*/ [\2] = "\1… 12 grep "^#define DRM_I915_[A-Z_0-9]\+[ ]\+0x" $header_dir/i915_drm.h | \ 13 …sed -r 's/^#define +DRM_I915_([A-Z0-9_]+)[ ]+(0x[[:xdigit:]]+)/\t[DRM_COMMAND_BASE + \2] = "I915_…
|
| /kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
| 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_…
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/ |
| D | mips-extns.h | 2 * Copyright 2003-2011 NetLogic Microsystems, Inc. (NetLogic). All rights 5 * This software is available to you under a choice of one of two 24 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 43 * On non-R2 platforms the flags has part of EIMR that is shadowed in STATUS 57 "dmtc0\t%L0, $9, 7\n\t" \ 61 __write_64bit_c0_register($9, 7, (val)); \ 65 * Handling the 64 bit EIMR and EIRR registers in 32-bit mode with 79 "dmtc0 $1, $9, 6\n\t" in ack_c0_eirr() 92 "dmfc0 $1, $9, 7\n\t" in set_c0_eimr() 94 "dmtc0 $1, $9, 7\n\t" in set_c0_eimr() [all …]
|
| /kernel/linux/linux-4.19/arch/mips/include/asm/netlogic/ |
| D | mips-extns.h | 2 * Copyright 2003-2011 NetLogic Microsystems, Inc. (NetLogic). All rights 5 * This software is available to you under a choice of one of two 24 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 43 * On non-R2 platforms the flags has part of EIMR that is shadowed in STATUS 57 "dmtc0\t%L0, $9, 7\n\t" \ 61 __write_64bit_c0_register($9, 7, (val)); \ 65 * Handling the 64 bit EIMR and EIRR registers in 32-bit mode with 79 "dmtc0 $1, $9, 6\n\t" in ack_c0_eirr() 92 "dmfc0 $1, $9, 7\n\t" in set_c0_eimr() 94 "dmtc0 $1, $9, 7\n\t" in set_c0_eimr() [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/rcutorture/bin/ |
| D | kvm.sh | 3 # Run a series of tests under KVM. By default, this series is specified 4 # by the relevant CFLIST file, but can be overridden by the --configs 5 # command-line argument. 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # You should have received a copy of the GNU General Public License 21 # http://www.gnu.org/licenses/gpl-2.0.html. 30 T=${TMPDIR-/tmp}/kvm.sh.$$ 31 trap 'rm -rf $T' 0 51 ds=`date +%Y.%m.%d-%H:%M:%S` 52 jitter="-1" [all …]
|
| /kernel/linux/linux-5.10/arch/riscv/kernel/vdso/ |
| D | so2s.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 5 sed 's!\([0-9a-f]*\) T \([a-z0-9_]*\)\(@@LINUX_4.15\)*!.global \2\n.set \2,0x\1!' \
|
| /kernel/linux/linux-4.19/Documentation/arm64/ |
| D | sve.txt | 14 model. To aid understanding, a minimal description of relevant programmer's 15 model features for SVE is included in Appendix A. 19 ----------- 21 * SVE registers Z0..Z31, P0..P15 and FFR and the current vector length VL, are 22 tracked per-thread. 26 instructions and registers, and the Linux-specific system interfaces 39 is to connect to a target process first and then attempt a 44 ----------------------------- 51 * Vector length (VL) = size of a Z-register in bytes 53 * Vector quadwords (VQ) = size of a Z-register in units of 128 bits [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
| D | kvm.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Run a series of tests under KVM. By default, this series is specified 5 # by the relevant CFLIST file, but can be overridden by the --configs 6 # command-line argument. 17 T=${TMPDIR-/tmp}/kvm.sh.$$ 18 trap 'rm -rf $T' 0 47 ds=`date +%Y.%m.%d-%H.%M.%S` 48 jitter="-1" 52 echo " --allcpus" 53 echo " --bootargs kernel-boot-arguments" [all …]
|
| /kernel/linux/linux-5.10/arch/nds32/kernel/vdso/ |
| D | gen_vdso_offsets.sh | 4 # Match symbols in the DSO that look like VDSO_*; produce a header file 7 # Doing this inside the Makefile will break the $(filter-out) function, 8 # causing Kbuild to rebuild the vdso-offsets header file every time. 14 sed -n -e 's/^00*/0/' -e \ 15 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2\t0x\1/p'
|
| /kernel/linux/linux-4.19/arch/nds32/kernel/vdso/ |
| D | gen_vdso_offsets.sh | 4 # Match symbols in the DSO that look like VDSO_*; produce a header file 7 # Doing this inside the Makefile will break the $(filter-out) function, 8 # causing Kbuild to rebuild the vdso-offsets header file every time. 14 sed -n -e 's/^00*/0/' -e \ 15 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2\t0x\1/p'
|