__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
#!/bin/sh
# SPDX-License-Identifier: LGPL-2.1

if [ $# -ne 3 ] ; then
	[ $# -eq 1 ] && hostarch=$1 || hostarch=`uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/`
	linux_header_dir=tools/include/uapi/linux
	header_dir=tools/include/uapi/asm-generic
	arch_header_dir=tools/arch/${hostarch}/include/uapi/asm
else
	linux_header_dir=$1
	header_dir=$2
	arch_header_dir=$3
fi

linux_mman=${linux_header_dir}/mman.h
arch_mman=${arch_header_dir}/mman.h

# those in grep -E -vw are flags, we want just the bits

printf "static const char *mmap_flags[] = {\n"
regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MAP_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*'
test -f ${arch_mman} && \
grep -E -q $regex ${arch_mman} && \
(grep -E $regex ${arch_mman} | \
	sed -r "s/$regex/\2 \1 \1 \1 \2/g"	| \
	xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n")
grep -E -q $regex ${linux_mman} && \
(grep -E $regex ${linux_mman} | \
	grep -E -vw 'MAP_(UNINITIALIZED|TYPE|SHARED_VALIDATE)' | \
	sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
	xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n")
( ! test -f ${arch_mman} || \
grep -E -q '#[[:space:]]*include[[:space:]]+.*uapi/asm-generic/mman.*' ${arch_mman}) &&
(grep -E $regex ${header_dir}/mman-common.h | \
	grep -E -vw 'MAP_(UNINITIALIZED|TYPE|SHARED_VALIDATE)' | \
	sed -r "s/$regex/\2 \1 \1 \1 \2/g"	| \
	xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n")
( ! test -f ${arch_mman} || \
grep -E -q '#[[:space:]]*include[[:space:]]+.*uapi/asm-generic/mman.h>.*' ${arch_mman}) &&
(grep -E $regex ${header_dir}/mman.h | \
	sed -r "s/$regex/\2 \1 \1 \1 \2/g"	| \
	xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n")
printf "};\n"

Filemanager

Name Type Size Permission Actions
tracepoints Folder 0755
arch_errno_names.sh File 1.99 KB 0755
clone.sh File 513 B 0755
drm_ioctl.sh File 626 B 0755
fadvise.sh File 836 B 0755
fs_at_flags.sh File 1.07 KB 0755
fsconfig.sh File 413 B 0755
fsmount.sh File 863 B 0755
fspick.sh File 510 B 0755
kcmp_type.sh File 343 B 0755
kvm_ioctl.sh File 523 B 0755
madvise_behavior.sh File 426 B 0755
mmap_flags.sh File 1.77 KB 0755
mmap_prot.sh File 1.16 KB 0755
mount_flags.sh File 763 B 0755
move_mount_flags.sh File 523 B 0755
mremap_flags.sh File 573 B 0755
perf_ioctl.sh File 455 B 0755
pkey_alloc_access_rights.sh File 458 B 0755
prctl_option.sh File 744 B 0755
rename_flags.sh File 606 B 0755
sndrv_ctl_ioctl.sh File 419 B 0755
sndrv_pcm_ioctl.sh File 419 B 0755
sockaddr.sh File 928 B 0755
socket.sh File 874 B 0755
statx_mask.sh File 808 B 0755
sync_file_range.sh File 502 B 0755
usbdevfs_ioctl.sh File 1.05 KB 0755
vhost_virtio_ioctl.sh File 840 B 0755
x86_arch_prctl.sh File 911 B 0755
Filemanager