| /OK3568_Linux_fs/kernel/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 \ 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 …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/shadow/files/ |
| H A D | shadow-relaxed-usernames.patch | 12 characters from the portable filename character set [A-Za-z0-9._-]. 14 Upstream-Status: Pending 16 Signed-off-by: Shan Hai <shan.hai@windriver.com> 18 --- 19 libmisc/chkname.c | 30 ++++++++++++++++++------------ 20 man/groupadd.8.xml | 6 ------ 21 man/useradd.8.xml | 8 +------- 22 3 files changed, 19 insertions(+), 25 deletions(-) 24 diff --git a/libmisc/chkname.c b/libmisc/chkname.c 26 --- a/libmisc/chkname.c [all …]
|
| /OK3568_Linux_fs/kernel/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`; 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 …]
|
| /OK3568_Linux_fs/u-boot/tools/scripts/ |
| H A D | define2mk.sed | 4 # It is expected that this script is fed the output of 'gpp -dM' 10 /^#define CONFIG_[A-Za-z0-9_][A-Za-z0-9_]*/ { 21 # Assume strings as default - add quotes around values 24 s/="\([0-9][0-9]*\)"/=\1/; 26 s/="\(-[1-9][0-9]*\)"/=\1/; 28 s/="\(0[Xx][0-9a-fA-F][0-9a-fA-F]*\)"/=\1/; 30 s/="\(CONFIG_[A-Za-z0-9_][A-Za-z0-9_]*\)"/=$(\1)/;
|
| /OK3568_Linux_fs/yocto/poky/bitbake/contrib/vim/syntax/ |
| H A D | bitbake.vim | 53 syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained 54 syn match bbVarDeref "${[a-zA-Z0-9\-_:\.\/\+]\+}" contained 56 syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.\/\+][${}a-zA-Z0-9\-_:\.\/\+]*\)\… 61 syn match bbVarFlagDef "^\([a-zA-Z0-9\-_\.]\+\)\(\[[a-zA-Z0-9\-_\.+]\+\]\)\@=" contains=bb… 78 syn match bbFunction "\h[0-9A-Za-z_\-\.]*" display contained contains=bbOEFunctions 88 syn match bbShFuncDef "^\(fakeroot\s*\)\?\([\.0-9A-Za-z_:${}\-\.]\+\)\(python\)\@<!\(\s*(… 96 syn match bbPyFuncDef "^\(fakeroot\s*\)\?\(python\)\(\s\+[0-9A-Za-z_:${}\-\.]\+\)\?\(\s*(… 101 syn region bbPyDefRegion start='^\(def\s\+\)\([0-9A-Za-z_-]\+\)\(\s*(.*)\s*\):\s*$' end='^\(…
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/parse/parse_py/ |
| H A D | ConfHandler.py | 4 Reads a .conf file and obtains its metadata 11 # SPDX-License-Identifier: GPL-2.0-only 23 (?P<var>[a-zA-Z0-9\-_+.${}/~:]+?) 24 (\[(?P<flag>[a-zA-Z0-9\-_+.]+)\])? 46 __export_regexp__ = re.compile( r"export\s+([a-zA-Z0-9\-_+.${}/~]+)$" ) 47 __unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" ) 48 __unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.]+)\]$" ) 54 return fn[-5:] == ".conf" 58 error_out: A string indicating the verb (e.g. "include", "inherit") to be 59 used in a ParseError that will be raised if the file to be included could [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | build-whitelist.sh | 27 git grep CONFIG_SYS_EXTRA_OPTIONS |sed -n \ 30 | sed 's/ *\([A-Za-z0-9_]*\).*/CONFIG_\1/' 33 egrep -vi "(Kconfig:|defconfig:|README|\.py|\.pl:)" \ 35 | sed -n 's/^\(CONFIG_[A-Za-z0-9_]*\).*/\1/p' 39 # Finally, we need a list of the valid Kconfig options to exclude these from 41 cat `find . -name "Kconfig*"` |sed -n \ 42 -e 's/^\s*config *\([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ 43 -e 's/^\s*menuconfig *\([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ 47 comm -23 scripts/config_whitelist.txt.tmp1 scripts/config_whitelist.txt.tmp2 \ 52 if [ -r scripts/config_whitelist.txt ]; then [all …]
|
| H A D | check-config.sh | 5 # Check that the u-boot.cfg file provided does not introduce any new 6 # ad-hoc CONFIG options 8 # Use scripts/build-whitelist.sh to generate the list of current ad-hoc 12 # check-config.sh <path to u-boot.cfg> <path to whitelist file> <source dir> 15 # scripts/check-config.sh b/chromebook_link/u-boot.cfg kconfig_whitelist.txt . 30 cat ${path} |sed -n 's/^#define \(CONFIG_[A-Za-z0-9_]*\).*/\1/p' |sort |uniq \ 33 comm -23 ${configs} ${whitelist} > ${suspects} 35 cat `find ${srctree} -name "Kconfig*"` |sed -n \ 36 -e 's/^\s*config *\([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ 37 -e 's/^\s*menuconfig \([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ [all …]
|
| H A D | kernel-doc | 1 #!/usr/bin/perl -w 8 ## Copyright (C) 2005-2012 Randy Dunlap ## 17 # 18/01/2001 - Cleanups 20 # -- huggie@earth.li 22 # 27/06/2001 - Allowed whitespace after initial "/**" and 24 # -- Christian Kreibich <ck@whoop.org> 27 # - add perldoc documentation 28 # - Look more closely at some of the scarier bits :) 30 # 26/05/2001 - Support for separate source and object trees. 34 # 23/09/2001 - Added support for typedefs, structs, enums and unions [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | sstate.py | 2 # SPDX-License-Identifier: MIT 30 # Creates a special sstate configuration with the option to add sstate mirrors 48 …or) == os.path.join(self.sstate_path), msg='Cannot add the current sstate path as a sstate mirror') 52 # Returns a list containing sstate files 56 …if distro_specific and re.search(r"%s/%s/[a-z0-9]{2}/[a-z0-9]{2}$" % (self.sstate_path, self.hostd… 60 … if distro_nonspecific and re.search(r"%s/[a-z0-9]{2}/[a-z0-9]{2}$" % self.sstate_path, root):
|
| /OK3568_Linux_fs/kernel/Documentation/input/devices/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A 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 …]
|
| /OK3568_Linux_fs/buildroot/build/ |
| 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. 17 # Copyright (c) 2022 Jeffy Chen <jeffy.chen@rock-chips.com> 25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 28 set -e 31 rm -f $TMP_FILE 32 rm -f $TMP_MERGE_FILE [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/ |
| H A D | sdksyms.sh | 5 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 8 #include <xorg-config.h> 24 /* fb/Makefile.am -- module */ 34 /* miext/shadow/Makefile.am -- module */ 51 /* Xext/Makefile.am -- half is module, half is builtin */ 71 /* hw/xfree86/int10/Makefile.am -- module */ 77 /* hw/xfree86/i2c/Makefile.am -- "mostly" modules */ 103 /* hw/xfree86/dri2/Makefile.am -- module */ 110 /* hw/xfree86/vgahw/Makefile.am -- module */ 116 /* hw/xfree86/fbdevhw/Makefile.am -- module */ [all …]
|
| /OK3568_Linux_fs/buildroot/support/kconfig/patches/ |
| H A D | 21-Avoid-false-positive-matches-from-comment-lines.patch | 3 --- kconfig.orig/merge_config.sh 5 @@ -109,7 +109,8 @@ if [ ! -r "$INITFILE" ]; then 9 -SED_CONFIG_EXP="s/^\(# \)\{0,1\}\(${CONFIG_PREFIX}[a-zA-Z0-9_]*\)[= ].*/\2/p" 10 +SED_CONFIG_EXP1="s/^\(${CONFIG_PREFIX}[a-zA-Z0-9_]*\)=.*/\1/p" 11 +SED_CONFIG_EXP2="s/^# \(${CONFIG_PREFIX}[a-zA-Z0-9_]*\) is not set$/\1/p" 13 TMP_FILE=$(mktemp -t .tmp.config.XXXXXXXXXX) 15 @@ -123,7 +124,7 @@ for MERGE_FILE in $MERGE_LIST ; do 19 - CFG_LIST=$(sed -n "$SED_CONFIG_EXP" $MERGE_FILE) 20 + CFG_LIST=$(sed -n -e "$SED_CONFIG_EXP1" -e "$SED_CONFIG_EXP2" $MERGE_FILE) 23 grep -q -w $CFG $TMP_FILE || continue [all …]
|
| H A D | 20-merge_config.sh-Allow-to-define-config-prefix.patch | 3 --- kconfig.orig/merge_config.sh 5 @@ -34,12 +34,16 @@ usage() { 6 echo " -r list redundant entries when merging fragments" 7 echo " -O dir to put generated output files. Consider setting \$KCONFIG_CONFIG instead." 8 echo " -e colon-separated list of br2-external trees to use (optional)" 18 +CONFIG_PREFIX=${CONFIG_-CONFIG_} 22 @@ -105,7 +109,8 @@ if [ ! -r "$INITFILE" ]; then 26 -SED_CONFIG_EXP="s/^\(# \)\{0,1\}\(CONFIG_[a-zA-Z0-9_]*\)[= ].*/\2/p" 27 +SED_CONFIG_EXP="s/^\(# \)\{0,1\}\(${CONFIG_PREFIX}[a-zA-Z0-9_]*\)[= ].*/\2/p" 29 TMP_FILE=$(mktemp -t .tmp.config.XXXXXXXXXX)
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/ |
| H A D | 0001-kbuild-install_headers.sh-Strip-_UAPI-from-if-define.patch | 1 From 9ca6c6a510bda90954aa2532711200b89dd1df89 Mon Sep 17 00:00:00 2001 5 #if-defined() guards 10 in the "#if defined()" style, which may be needed for non-trivial 19 Signed-off-by: Dave Martin <Dave.Martin@arm.com> 20 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> 22 Upstream-Status: Submitted [https://www.spinics.net/lists/arm-kernel/msg694800.html] 23 --- 27 Index: linux-5.4/scripts/headers_install.sh 29 --- linux-5.4.orig/scripts/headers_install.sh 30 +++ linux-5.4/scripts/headers_install.sh [all …]
|
| /OK3568_Linux_fs/buildroot/utils/checkpackagelib/ |
| H A D | lib_mk.py | 80 CONCATENATING = re.compile(r"^([A-Z0-9_]+)\s*(\+|:|)=\s*\$\(\\1\)") 84 VARIABLE = re.compile(r"^([A-Z0-9_]+)\s*((\+|:|)=)") 85 USUALLY_OVERRIDDEN = re.compile(r"^[A-Z0-9_]+({})".format("|".join([ 102 self.conditional -= 1 154 return ["{}:{}: should be 80 hashes ({}#writing-rules-mk)" 160 return ["{}:{}: should be 1 hash ({}#writing-rules-mk)" 165 return ["{}:{}: should be a blank line ({}#writing-rules-mk)" 175 package_upper = package.replace("-", "_").upper() 178 r"^{}_SOURCE\s*=\s*{}-\$\({}_VERSION\)\.tar\.gz" 188 "({}#generic-package-reference)" [all …]
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/4g/ |
| H A D | configurer.cpp | 23 QStringList list = SystemManager::instance()->getMatch(row, "[#a-zA-Z0-9_]+"); in changConf() 46 QStringList list = SystemManager::instance()->getMatch(row, "[#a-zA-Z0-9_]+"); in changConf() 71 QStringList list = SystemManager::instance()->getMatch(row, "[#a-zA-Z0-9_]+"); in conf()
|
| /OK3568_Linux_fs/kernel/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_…
|
| /OK3568_Linux_fs/device/rockchip/common/linux-kbuild/aarch64/linux-kbuild-4.4/scripts/ |
| H A D | kernel-doc | 1 #!/usr/bin/perl -w 8 ## Copyright (C) 2005-2012 Randy Dunlap ## 17 # 18/01/2001 - Cleanups 20 # -- huggie@earth.li 22 # 27/06/2001 - Allowed whitespace after initial "/**" and 24 # -- Christian Kreibich <ck@whoop.org> 27 # - add perldoc documentation 28 # - Look more closely at some of the scarier bits :) 30 # 26/05/2001 - Support for separate source and object trees. 34 # 23/09/2001 - Added support for typedefs, structs, enums and unions [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/linux-kbuild/armhf/linux-kbuild-4.4/scripts/ |
| H A D | kernel-doc | 1 #!/usr/bin/perl -w 8 ## Copyright (C) 2005-2012 Randy Dunlap ## 17 # 18/01/2001 - Cleanups 20 # -- huggie@earth.li 22 # 27/06/2001 - Allowed whitespace after initial "/**" and 24 # -- Christian Kreibich <ck@whoop.org> 27 # - add perldoc documentation 28 # - Look more closely at some of the scarier bits :) 30 # 26/05/2001 - Support for separate source and object trees. 34 # 23/09/2001 - Added support for typedefs, structs, enums and unions [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/netlogic/ |
| H A 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 …]
|
| /OK3568_Linux_fs/device/rockchip/common/build-hooks/ |
| H A D | build-helper | 3 [ -z "$DEBUG" ] || set -x 6 if [ "$BASH_SOURCE" = "$0" -o -z "$RK_SESSION" ];then 13 ret=${1:-$?} 14 [ "$ret" -eq 0 ] && return 16 echo "ERROR: Running $0 - ${2:-${FUNCNAME[1]}} failed!" 18 echo " ${3:-$BASH_COMMAND}" 20 for i in $(seq 1 $((${#FUNCNAME[@]} - 1))); do 22 LINE=${BASH_LINENO[$(( $i - 1 ))]} 28 set -eE 62 echo -e "# run func: $@\n" >> "$LOG_FILE" [all …]
|
| /OK3568_Linux_fs/device/rockchip/common/scripts/ |
| H A D | build-helper | 3 [ -z "$DEBUG" ] || set -x 6 if [ "$BASH_SOURCE" = "$0" -o -z "$RK_SESSION" ];then 13 ret=${1:-$?} 14 [ "$ret" -eq 0 ] && return 16 echo "ERROR: Running $0 - ${2:-${FUNCNAME[1]}} failed!" 18 echo " ${3:-$BASH_COMMAND}" 20 for i in $(seq 1 $((${#FUNCNAME[@]} - 1))); do 22 LINE=${BASH_LINENO[$(( $i - 1 ))]} 28 set -eE 62 echo -e "# run func: $@\n" >> "$LOG_FILE" [all …]
|