OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
scripts
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
.gitignore
162 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
Kbuild.include
18.36 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Lindent
502 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
Makefile
1.9 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Makefile.asm-generic
1.17 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile.build
20.68 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Makefile.clean
2.96 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile.dtbinst
1.09 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile.extrawarn
2.9 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Makefile.gcc-plugins
3.75 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Makefile.headersinst
3.98 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile.host
6.23 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile.kasan
1.09 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Makefile.kcov
201 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile.lib
15.25 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Makefile.modbuiltin
1.82 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile.modinst
1.52 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Makefile.modpost
5.43 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
Makefile.modsign
1.02 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
Makefile.ubsan
1.07 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
adjust_autoksyms.sh
3.09 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
asn1_compiler.c
35.54 KB
01/28/2018 09:20:33 PM
rw-r--r--
📁
basic
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
bloat-o-meter
3.22 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
bootgraph.pl
6.28 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
check_00index.sh
1.3 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
check_extable.sh
4.93 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
checkincludes.pl
1.94 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
checkkconfigsymbols.py
15.51 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
checkpatch.pl
186.79 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
checkstack.pl
5.49 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
checksyscalls.sh
5.68 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
checkversion.pl
1.9 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
cleanfile
3.46 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
cleanpatch
5.06 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
coccicheck
7.24 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📁
coccinelle
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
config
4.64 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
conmakehash.c
5.98 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
const_structs.checkpatch
964 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
decode_stacktrace.sh
3.82 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
decodecode
2.3 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
depmod.sh
1.94 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
diffconfig
3.72 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
documentation-file-ref-check
395 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📁
dtc
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
export_report.pl
4.55 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
extract-cert.c
3.63 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
extract-ikconfig
1.69 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
extract-module-sig.pl
3.66 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
extract-sys-certs.pl
3.75 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
extract-vmlinux
1.6 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
extract_xc3028.pl
44.6 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
faddr2line
5.53 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
find-unused-docs.sh
1.27 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
gcc-goto.sh
530 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
gcc-ld
711 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
gcc-plugin.sh
1.06 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📁
gcc-plugins
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
gcc-version.sh
857 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
gcc-x86_32-has-stack-protector.sh
219 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
gcc-x86_64-has-stack-protector.sh
244 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📁
gdb
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
gen_initramfs_list.sh
8.03 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📁
genksyms
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
get_dvb_firmware
25.22 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
get_maintainer.pl
65.03 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
gfp-translate
1.71 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
headerdep.pl
3.5 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
headers.sh
512 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
headers_check.pl
3.73 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
headers_install.sh
1.32 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
insert-sys-cert.c
13.08 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
kallsyms.c
18.89 KB
06/16/2023 05:32:39 PM
rw-r--r--
📁
kconfig
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
kernel-doc
92.36 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
kmsg-doc
12.13 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📁
ksymoops
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
ld-version.sh
269 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
leaking_addresses.pl
9.65 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
link-vmlinux.sh
7.65 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
makelst
808 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
markup_oops.pl
8.08 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
mkcompile_h
2.74 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
mkmakefile
1.19 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
mksysmap
1.34 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
mkuboot.sh
414 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📁
mod
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
module-common.lds
901 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
namespace.pl
13.18 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
objdiff
2.85 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📁
package
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
parse-maintainers.pl
3.72 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
patch-kernel
9.95 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
pnmtologo.c
11.91 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
profile2linkerlist.pl
414 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
prune-kernel
708 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
recordmcount.c
17.49 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
recordmcount.h
16.4 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
recordmcount.pl
18.41 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📁
selinux
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
setlocalversion
4.72 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
show_delta
2.99 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
sign-file.c
9.93 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
sortextable.c
8.35 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sortextable.h
5.48 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
spelling.txt
24.97 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sphinx-pre-install
14.04 KB
06/16/2023 05:32:39 PM
rwxr-xr-x
📄
stackdelta
1.84 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
stackusage
794 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
subarch.include
641 bytes
06/16/2023 05:32:39 PM
rw-r--r--
📄
tags.sh
9.49 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📁
tracing
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
ubuntu-retpoline-extract-one
7.26 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
unifdef.c
34.8 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ver_linux
2.94 KB
01/28/2018 09:20:33 PM
rwxr-xr-x
📄
xen-hypercalls.sh
386 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
xz_wrap.sh
562 bytes
01/28/2018 09:20:33 PM
rwxr-xr-x
Editing: setlocalversion
Close
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 # # This scripts adds local version information from the version # control systems git, mercurial (hg) and subversion (svn). # # If something goes wrong, send a mail the kernel build mailinglist # (see MAINTAINERS) and CC Nico Schottelius # <nico-linuxsetlocalversion -at- schottelius.org>. # # usage() { echo "Usage: $0 [--save-scmversion] [srctree]" >&2 exit 1 } scm_only=false srctree=. if test "$1" = "--save-scmversion"; then scm_only=true shift fi if test $# -gt 0; then srctree=$1 shift fi if test $# -gt 0 -o ! -d "$srctree"; then usage fi scm_version() { local short short=false cd "$srctree" if test -e .scmversion; then cat .scmversion return fi if test "$1" = "--short"; then short=true fi # Check for git and a git repo. if test -z "$(git rev-parse --show-cdup 2>/dev/null)" && head=$(git rev-parse --verify HEAD 2>/dev/null); then # If we are at a tagged commit (like "v2.6.30-rc6"), we ignore # it, because this version is defined in the top level Makefile. if [ -z "`git describe --exact-match 2>/dev/null`" ]; then # If only the short version is requested, don't bother # running further git commands if $short; then echo "+" return fi # If we are past a tagged commit (like # "v2.6.30-rc5-302-g72357d5"), we pretty print it. # # Ensure the abbreviated sha1 has exactly 12 # hex characters, to make the output # independent of git version, local # core.abbrev settings and/or total number of # objects in the current repository - passing # --abbrev=12 ensures a minimum of 12, and the # awk substr() then picks the 'g' and first 12 # hex chars. if atag="$(git describe --abbrev=12 2>/dev/null)"; then echo "$atag" | awk -F- '{printf("-%05d-%s", $(NF-1),substr($(NF),0,13))}' # If we don't have a tag at all we print -g{commitish}, # again using exactly 12 hex chars. else head="$(echo $head | cut -c1-12)" printf '%s%s' -g $head fi fi # Is this git on svn? if git config --get svn-remote.svn.url >/dev/null; then printf -- '-svn%s' "`git svn find-rev $head`" fi # Check for uncommitted changes. # First, with git-status, but --no-optional-locks is only # supported in git >= 2.14, so fall back to git-diff-index if # it fails. Note that git-diff-index does not refresh the # index, so it may give misleading results. See # git-update-index(1), git-diff-index(1), and git-status(1). if { git --no-optional-locks status -uno --porcelain 2>/dev/null || git diff-index --name-only HEAD } | grep -qvE '^(.. )?scripts/package'; then printf '%s' -dirty fi # All done with git return fi # Check for mercurial and a mercurial repo. if test -d .hg && hgid=`hg id 2>/dev/null`; then # Do we have an tagged version? If so, latesttagdistance == 1 if [ "`hg log -r . --template '{latesttagdistance}'`" == "1" ]; then id=`hg log -r . --template '{latesttag}'` printf '%s%s' -hg "$id" else tag=`printf '%s' "$hgid" | cut -d' ' -f2` if [ -z "$tag" -o "$tag" = tip ]; then id=`printf '%s' "$hgid" | sed 's/[+ ].*//'` printf '%s%s' -hg "$id" fi fi # Are there uncommitted changes? # These are represented by + after the changeset id. case "$hgid" in *+|*+\ *) printf '%s' -dirty ;; esac # All done with mercurial return fi # Check for svn and a svn repo. if rev=`LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'`; then rev=`echo $rev | awk '{print $NF}'` printf -- '-svn%s' "$rev" # All done with svn return fi } collect_files() { local file res for file; do case "$file" in *\~*) continue ;; esac if test -e "$file"; then res="$res$(cat "$file")" fi done echo "$res" } if $scm_only; then if test ! -e .scmversion; then res=$(scm_version) echo "$res" >.scmversion fi exit fi if test -e include/config/auto.conf; then . include/config/auto.conf else echo "Error: kernelrelease not valid - run 'make prepare' to update it" >&2 exit 1 fi # localversion* files in the build and source directory res="$(collect_files localversion*)" if test ! "$srctree" -ef .; then res="$res$(collect_files "$srctree"/localversion*)" fi # CONFIG_LOCALVERSION and LOCALVERSION (if set) res="${res}${CONFIG_LOCALVERSION}${LOCALVERSION}" # scm version string if not at a tagged commit if test "$CONFIG_LOCALVERSION_AUTO" = "y"; then # full scm version string res="$res$(scm_version)" else # append a plus sign if the repository is not in a clean # annotated or signed tagged state (as git describe only # looks at signed or annotated tags - git tag -a/-s) and # LOCALVERSION= is not specified if test "${LOCALVERSION+set}" != "set"; then scm=$(scm_version --short) res="$res${scm:++}" fi fi echo "$res"