403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/src/snapapi26-0.8.48/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/src/snapapi26-0.8.48/Makefile
SNAPAPI_FLAGS += $(shell \
	if grep -qw ''static.*kmap_atomic\(.*page.*,.*\)'\|'define\ kmap_atomic\(page,.*\)'' $(srctree)/include/linux/highmem.h; then \
		echo -DHAVE_KMAP_ATOMIC_2ARGS;						\
	fi)
SNAPAPI_FLAGS += $(shell \
	grep -qw "pid_ns_for_children" $(srctree)/include/linux/nsproxy.h && \
		echo -DHAVE_PID_NS_CHILDREN)
SNAPAPI_FLAGS += $(shell \
	grep -v '^//' $(srctree)/include/linux/fs.h | grep -qw "f_dentry" && \
		echo -DHAVE_FILE_F_DENTRY)
SNAPAPI_FLAGS += $(shell \
	grep -qw "set_mb" $(srctree)/arch/x86/include/asm/barrier.h \
	$(srctree)/arch/x86/include/asm/system.h \
	$(srctree)/include/asm/system.h \
	$(srctree)/include/asm-generic/system.h	&& \
		echo -DHAVE_ASM_HAVE_SET_MB)
SNAPAPI_FLAGS += $(shell \
	if grep -qw "extern void bio_endio(.*bio.*,.*)" $(srctree)/include/linux/bio.h; then \
		echo -DHAVE_BIO_ENDIO_2ARGS;						\
	fi)
SNAPAPI_FLAGS += $(shell \
	if grep -qw "BIO_UPTODATE" $(srctree)/include/linux/blk_types.h 		\
	$(srctree)/include/linux/bio.h ; then 						\
		echo -DHAVE_BIO_UPTODATE;						\
	elif grep -qw "bi_error" $(srctree)/include/linux/blk_types.h; then		\
		echo -DHAVE_BIO_BI_ERROR;						\
	fi)
SNAPAPI_FLAGS += $(shell \
	if grep -qw "page_cache_release" $(srctree)/include/linux/pagemap.h; then 	\
		echo -DHAVE_PAGE_CACHE_RELEASE;						\
	fi)

SNAPAPI_FLAGS += $(shell \
	grep -qw "submit_bio(struct bio \*)\|submit_bio(struct bio \*bio)" $(srctree)/include/linux/fs.h \
       		 $(srctree)/include/linux/bio.h && \
		echo -DHAVE_SUBMIT_BIO_ONEARG)
SNAPAPI_FLAGS += $(shell \
	grep -qw "op_is_write" $(srctree)/include/linux/fs.h \
       		$(srctree)/include/linux/blk_types.h && \
		echo -DHAVE_OP_IS_WRITE)
SNAPAPI_FLAGS += $(shell \
	grep -qw "bi_opf" $(srctree)/include/linux/fs.h \
       		$(srctree)/include/linux/blk_types.h && \
		echo -DHAVE_BIO_OPF)
SNAPAPI_FLAGS += $(shell \
	grep -qw "virtual_address;" $(srctree)/include/linux/mm.h && \
		echo -DHAVE_VMFAULT_VIRTUAL_ADDRESS)
SNAPAPI_FLAGS += $(shell \
	grep -qw "fault.(.*,.*)" $(srctree)/include/linux/mm.h && \
		echo -DHAVE_VM_FAULT_2ARGS)
SNAPAPI_FLAGS += $(shell \
	if grep -qw "bio_set_dev" $(srctree)/include/linux/bio.h; then \
		echo -DHAVE_BIO_SET_DEV;						\
	fi)

SNAPAPI_FLAGS += $(shell \
	if grep -qw "init_timer" $(srctree)/include/linux/timer.h; then \
		echo -DHAVE_INIT_TIMER;						\
	fi)

SNAPAPI_FLAGS += $(shell \
	grep -qw vm_fault_t $(srctree)/include/linux/mm_types.h && \
		echo -DHAVE_VMFAULT_T)

SNAPAPI_FLAGS += $(shell \
	grep -qw "bi_bdev" $(srctree)/include/linux/blk_types.h \
		$(srctree)/include/linux/bio.h && \
		echo -DHAVE_BIO_BI_BDEV)

SNAPAPI_FLAGS += $(shell \
	grep -qw "bdget" $(srctree)/include/linux/fs.h && \
		echo -DHAVE_BDGET)

SNAPAPI_FLAGS += $(shell \
	grep -qw "thaw_bdev(.*,.*)" $(srctree)/include/linux/fs.h \
		$(srctree)/include/linux/buffer_head.h \
		$(srctree)/include/linux/blkdev.h && \
		echo -DHAVE_THAW_BDEV_2ARGS)

SNAPAPI_FLAGS += $(shell \
	grep -qw "bd_part" $(srctree)/include/linux/blk_types.h \
		$(srctree)/include/linux/fs.h && \
		echo -DHAVE_BD_PART)

SNAPAPI_FLAGS += $(shell \
	grep -qw "__state;" $(srctree)/include/linux/sched.h && \
		echo -DHAVE_UNDERLINE_STATE)

SNAPAPI_FLAGS += $(shell \
	grep -qw "complete_and_exit" $(srctree)/include/linux/kernel.h && \
		echo -DHAVE_COMPLETE_AND_EXIT)

SNAPAPI_FLAGS += $(shell \
	grep -qw "bio_alloc(.*,.*)" $(srctree)/include/linux/bio.h && \
		echo -DHAVE_BIO_ALLOC_2ARGS)

EXTRA_CFLAGS += $(SNAPAPI_FLAGS) $(DKMS_CFLAGS) -Wno-error

obj-m				+= snapapi26.o
obj-m				+= snumbd26.o

Youez - 2016 - github.com/yon3zu
LinuXploit