Browse Source

fix

master
John ShaggyTwoDope Jenkins 4 years ago
parent
commit
aa5a327484

+ 20
- 0
rtuptime View File

@@ -0,0 +1,20 @@
#change paths etc
#
#! /bin/bash
SCGI_SOCKET=/riddlebox/rt/rtorrent.sock

if test \! -S $SCGI_SOCKET; then
echo >&2 "rTorrent is not running (no socket $SCGI_SOCKET)"
exit 1
fi

echo -n rTorrent $(rtxmlrpc system.client_version)/$(rtxmlrpc system.library_version)
echo -n , up $(rtxmlrpc to_elapsed_time $(ls -l --time-style '+%s' $SCGI_SOCKET | awk '{print $6}'))
echo -n \ [$(rtcontrol -qosize \* | awk '{ SUM += $1} END { print SUM/1024/1024/1024 }') GiB loaded]
echo -n , D:$(rtxmlrpc to_mb $(rtxmlrpc get_down_total)) MiB
echo -n \ @ $(rtxmlrpc to_kb $(rtxmlrpc get_down_rate))
echo -n \ / $(rtxmlrpc to_kb $(rtxmlrpc get_download_rate)) KiB/s
echo -n , U:$(rtxmlrpc to_mb $(rtxmlrpc get_up_total)) MiB
echo -n \ @ $(rtxmlrpc to_kb $(rtxmlrpc get_up_rate))
echo -n \ / $(rtxmlrpc to_kb $(rtxmlrpc get_upload_rate)) KiB/s
echo

+ 20
- 0
sortanime View File

@@ -18,3 +18,23 @@ find /riddlebox/Downloads/ -name "*Danna*mkv" -exec mv "{}" /riddlebox/Vidoes/An
find /riddlebox/Downloads/ -name "*DanMachi*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/DanMachi\ \(Dungeon\ ni\ Deai\ wo\ Motomeru\ no\ wa\ Machigatteiru\ Darou\ ka\)/ \;


find /riddlebox/rt/downloads/ -name "*Assassination\ Classroom*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Assassination\ Classroom/ \;
find /riddlebox/rt/downloads/ -name "*Re-Kan*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Re-Kan/ \;
find /riddlebox/rt/downloads/ -name "*RomCom\ SNAFU*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Yahari\ Ore\ no\ Seishun\ Love\ Comedy\ wa\ Machigatteiru.\ Zoku\ –\ My\ Teenage\ RomCom\ SNAFU\ TOO\!/ \;
find /riddlebox/rt/downloads/ -name "*Yamada*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Yamada-kun\ and\ the\ Seven\ Witches/ \;
find /riddlebox/rt/downloads/ -name "*Urawa*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Urawa\ no\ Usagi-chan/ \;
find /riddlebox/rt/downloads/ -name "*Triage*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Triage\ X/ \;
find /riddlebox/rt/downloads/ -name "*Nagato*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/The\ Disappearance\ of\ Nagato\ Yuki-chan/ \;
find /riddlebox/rt/downloads/ -name "*Seraph*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Seraph\ of\ the\ End/ \;
find /riddlebox/rt/downloads/ -name "*Punch*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Punch\ Line/ \;
find /riddlebox/rt/downloads/ -name "*Grisaia*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Grisaia/ \;
find /riddlebox/rt/downloads/ -name "*Plastic*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Plastic\ Memories/ \;
find /riddlebox/rt/downloads/ -name "*Monogatari*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Ore\ Monogatari\!\!/ \;
find /riddlebox/rt/downloads/ -name "*Nisekoi*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Nisekoi_2/ \;
find /riddlebox/rt/downloads/ -name "*BorN*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/High\ Scholl\ DxD\ BorN/ \;
find /riddlebox/rt/downloads/ -name "*Danna*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/Danna\ Ga\ Nani\ wo\ Itteriru\ ka\ Wakaranai\ Ken\ S2/ \;
find /riddlebox/rt/downloads/ -name "*DanMachi*mkv" -exec mv "{}" /riddlebox/Vidoes/Anime\ New/DanMachi\ \(Dungeon\ ni\ Deai\ wo\ Motomeru\ no\ wa\ Machigatteiru\ Darou\ ka\)/ \;





+ 2
- 2
sortfiles View File

@@ -8,8 +8,8 @@ find /riddlebox/Downloads/ -name "*.jar" -exec mv -n -t /riddlebox/bin/java {}
find /riddlebox/Downloads/ -name "*.iso" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -name "*.swf" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(tar|zip|7z|rar|gz|xz|bz2|tgz)$" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(pdf|djvu|txt|doc|docx|fb2|epub|rtf)$" -exec mv -n -t /riddlebox/Dropbox/Text {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(html|htm|mht|mhtml|chm|maff)$" -exec mv -n -t /riddlebox/Dropbox/Text/pages {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(pdf|djvu|txt|doc|docx|fb2|epub|rtf)$" -exec mv -n -t /riddlebox/Text\ and\ Comics {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(html|htm|mht|mhtml|chm|maff)$" -exec mv -n -t /riddlebox/Text\ and\ Comics/pages {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(ttf|otf|woff)$" -exec mv -n -t /riddlebox/misc {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(m4v|flv|mp4|avi|mkv|mov|webm|wmv)$" -exec mv -n -t /riddlebox/Vidoes {} +
find /riddlebox/Downloads/ -regextype posix-egrep -regex ".*\.(mp3|ogg|flac|sid|xm)$" -exec mv -n -t /riddlebox/Music {} +

+ 3
- 0
sorttorrents View File

@@ -0,0 +1,3 @@
#!/bin/bash
find /riddlebox/Downloads/ -name "*.torrent" -exec mv -n -t /riddlebox/rt/watch {} +
exit 0

+ 1
- 0
src/kerntest/.hello.ko.cmd View File

@@ -0,0 +1 @@
cmd_/riddlebox/Downloads/kerntest/hello.ko := ld -r -m elf_x86_64 -T ./scripts/module-common.lds --build-id -o /riddlebox/Downloads/kerntest/hello.ko /riddlebox/Downloads/kerntest/hello.o /riddlebox/Downloads/kerntest/hello.mod.o

+ 589
- 0
src/kerntest/.hello.mod.o.cmd View File

@@ -0,0 +1,589 @@
cmd_/riddlebox/Downloads/kerntest/hello.mod.o := gcc -Wp,-MD,/riddlebox/Downloads/kerntest/.hello.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(hello.mod)" -D"KBUILD_MODNAME=KBUILD_STR(hello)" -DMODULE -c -o /riddlebox/Downloads/kerntest/hello.mod.o /riddlebox/Downloads/kerntest/hello.mod.c

source_/riddlebox/Downloads/kerntest/hello.mod.o := /riddlebox/Downloads/kerntest/hello.mod.c

deps_/riddlebox/Downloads/kerntest/hello.mod.o := \
$(wildcard include/config/module/unload.h) \
include/linux/module.h \
$(wildcard include/config/sysfs.h) \
$(wildcard include/config/modules.h) \
$(wildcard include/config/unused/symbols.h) \
$(wildcard include/config/module/sig.h) \
$(wildcard include/config/generic/bug.h) \
$(wildcard include/config/kallsyms.h) \
$(wildcard include/config/smp.h) \
$(wildcard include/config/tracepoints.h) \
$(wildcard include/config/tracing.h) \
$(wildcard include/config/event/tracing.h) \
$(wildcard include/config/ftrace/mcount/record.h) \
$(wildcard include/config/livepatch.h) \
$(wildcard include/config/constructors.h) \
$(wildcard include/config/debug/set/module/ronx.h) \
include/linux/list.h \
$(wildcard include/config/debug/list.h) \
include/linux/types.h \
$(wildcard include/config/uid16.h) \
$(wildcard include/config/lbdaf.h) \
$(wildcard include/config/arch/dma/addr/t/64bit.h) \
$(wildcard include/config/phys/addr/t/64bit.h) \
$(wildcard include/config/64bit.h) \
include/uapi/linux/types.h \
arch/x86/include/uapi/asm/types.h \
include/uapi/asm-generic/types.h \
include/asm-generic/int-ll64.h \
include/uapi/asm-generic/int-ll64.h \
arch/x86/include/uapi/asm/bitsperlong.h \
include/asm-generic/bitsperlong.h \
include/uapi/asm-generic/bitsperlong.h \
include/uapi/linux/posix_types.h \
include/linux/stddef.h \
include/uapi/linux/stddef.h \
include/linux/compiler.h \
$(wildcard include/config/sparse/rcu/pointer.h) \
$(wildcard include/config/trace/branch/profiling.h) \
$(wildcard include/config/profile/all/branches.h) \
$(wildcard include/config/enable/must/check.h) \
$(wildcard include/config/enable/warn/deprecated.h) \
$(wildcard include/config/kprobes.h) \
include/linux/compiler-gcc.h \
$(wildcard include/config/arch/supports/optimized/inlining.h) \
$(wildcard include/config/optimize/inlining.h) \
include/linux/compiler-gcc4.h \
$(wildcard include/config/arch/use/builtin/bswap.h) \
arch/x86/include/asm/posix_types.h \
$(wildcard include/config/x86/32.h) \
arch/x86/include/uapi/asm/posix_types_64.h \
include/uapi/asm-generic/posix_types.h \
include/linux/poison.h \
$(wildcard include/config/illegal/pointer/value.h) \
include/uapi/linux/const.h \
include/linux/kernel.h \
$(wildcard include/config/preempt/voluntary.h) \
$(wildcard include/config/debug/atomic/sleep.h) \
$(wildcard include/config/mmu.h) \
$(wildcard include/config/prove/locking.h) \
$(wildcard include/config/panic/timeout.h) \
$(wildcard include/config/ring/buffer.h) \
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
include/linux/linkage.h \
include/linux/stringify.h \
include/linux/export.h \
$(wildcard include/config/have/underscore/symbol/prefix.h) \
$(wildcard include/config/modversions.h) \
arch/x86/include/asm/linkage.h \
$(wildcard include/config/x86/64.h) \
$(wildcard include/config/x86/alignment/16.h) \
include/linux/bitops.h \
arch/x86/include/asm/bitops.h \
$(wildcard include/config/x86/cmov.h) \
arch/x86/include/asm/alternative.h \
$(wildcard include/config/paravirt.h) \
arch/x86/include/asm/asm.h \
arch/x86/include/asm/ptrace.h \
$(wildcard include/config/x86/debugctlmsr.h) \
arch/x86/include/asm/segment.h \
$(wildcard include/config/cc/stackprotector.h) \
$(wildcard include/config/x86/32/lazy/gs.h) \
arch/x86/include/asm/cache.h \
$(wildcard include/config/x86/l1/cache/shift.h) \
$(wildcard include/config/x86/internode/cache/shift.h) \
$(wildcard include/config/x86/vsmp.h) \
arch/x86/include/asm/page_types.h \
$(wildcard include/config/physical/start.h) \
$(wildcard include/config/physical/align.h) \
arch/x86/include/asm/page_64_types.h \
$(wildcard include/config/kasan.h) \
$(wildcard include/config/randomize/base.h) \
$(wildcard include/config/randomize/base/max/offset.h) \
arch/x86/include/uapi/asm/ptrace.h \
arch/x86/include/uapi/asm/ptrace-abi.h \
arch/x86/include/asm/processor-flags.h \
$(wildcard include/config/vm86.h) \
arch/x86/include/uapi/asm/processor-flags.h \
arch/x86/include/asm/paravirt_types.h \
$(wildcard include/config/x86/local/apic.h) \
$(wildcard include/config/x86/pae.h) \
$(wildcard include/config/paravirt/debug.h) \
arch/x86/include/asm/desc_defs.h \
arch/x86/include/asm/kmap_types.h \
$(wildcard include/config/debug/highmem.h) \
include/asm-generic/kmap_types.h \
arch/x86/include/asm/pgtable_types.h \
$(wildcard include/config/kmemcheck.h) \
$(wildcard include/config/mem/soft/dirty.h) \
$(wildcard include/config/proc/fs.h) \
arch/x86/include/asm/pgtable_64_types.h \
arch/x86/include/asm/sparsemem.h \
$(wildcard include/config/sparsemem.h) \
arch/x86/include/asm/spinlock_types.h \
$(wildcard include/config/paravirt/spinlocks.h) \
$(wildcard include/config/nr/cpus.h) \
include/asm-generic/qrwlock_types.h \
include/asm-generic/ptrace.h \
arch/x86/include/asm/cpufeature.h \
$(wildcard include/config/x86/feature/names.h) \
$(wildcard include/config/x86/debug/static/cpu/has.h) \
arch/x86/include/asm/required-features.h \
$(wildcard include/config/x86/minimum/cpu/family.h) \
$(wildcard include/config/math/emulation.h) \
$(wildcard include/config/x86/cmpxchg64.h) \
$(wildcard include/config/x86/use/3dnow.h) \
$(wildcard include/config/x86/p6/nop.h) \
$(wildcard include/config/matom.h) \
arch/x86/include/asm/disabled-features.h \
$(wildcard include/config/x86/intel/mpx.h) \
arch/x86/include/asm/rmwcc.h \
arch/x86/include/asm/barrier.h \
$(wildcard include/config/x86/ppro/fence.h) \
arch/x86/include/asm/nops.h \
$(wildcard include/config/mk7.h) \
include/asm-generic/bitops/find.h \
$(wildcard include/config/generic/find/first/bit.h) \
include/asm-generic/bitops/sched.h \
arch/x86/include/asm/arch_hweight.h \
include/asm-generic/bitops/const_hweight.h \
include/asm-generic/bitops/le.h \
arch/x86/include/uapi/asm/byteorder.h \
include/linux/byteorder/little_endian.h \
include/uapi/linux/byteorder/little_endian.h \
include/linux/swab.h \
include/uapi/linux/swab.h \
arch/x86/include/uapi/asm/swab.h \
include/linux/byteorder/generic.h \
include/asm-generic/bitops/ext2-atomic-setbit.h \
include/linux/log2.h \
$(wildcard include/config/arch/has/ilog2/u32.h) \
$(wildcard include/config/arch/has/ilog2/u64.h) \
include/linux/typecheck.h \
include/linux/printk.h \
$(wildcard include/config/message/loglevel/default.h) \
$(wildcard include/config/early/printk.h) \
$(wildcard include/config/printk.h) \
$(wildcard include/config/dynamic/debug.h) \
include/linux/init.h \
$(wildcard include/config/broken/rodata.h) \
$(wildcard include/config/lto.h) \
include/linux/kern_levels.h \
include/linux/cache.h \
$(wildcard include/config/arch/has/cache/line/size.h) \
include/uapi/linux/kernel.h \
include/uapi/linux/sysinfo.h \
include/linux/dynamic_debug.h \
include/linux/stat.h \
arch/x86/include/uapi/asm/stat.h \
include/uapi/linux/stat.h \
include/linux/time.h \
$(wildcard include/config/arch/uses/gettimeoffset.h) \
include/linux/seqlock.h \
$(wildcard include/config/debug/lock/alloc.h) \
include/linux/spinlock.h \
$(wildcard include/config/debug/spinlock.h) \
$(wildcard include/config/generic/lockbreak.h) \
$(wildcard include/config/preempt.h) \
include/linux/preempt.h \
$(wildcard include/config/debug/preempt.h) \
$(wildcard include/config/preempt/tracer.h) \
$(wildcard include/config/preempt/count.h) \
$(wildcard include/config/context/tracking.h) \
$(wildcard include/config/preempt/notifiers.h) \
arch/x86/include/asm/preempt.h \
arch/x86/include/asm/percpu.h \
$(wildcard include/config/x86/64/smp.h) \
include/asm-generic/percpu.h \
$(wildcard include/config/have/setup/per/cpu/area.h) \
include/linux/threads.h \
$(wildcard include/config/base/small.h) \
include/linux/percpu-defs.h \
$(wildcard include/config/debug/force/weak/per/cpu.h) \
include/linux/thread_info.h \
$(wildcard include/config/compat.h) \
$(wildcard include/config/debug/stack/usage.h) \
include/linux/bug.h \
arch/x86/include/asm/bug.h \
$(wildcard include/config/debug/bugverbose.h) \
include/asm-generic/bug.h \
$(wildcard include/config/bug.h) \
$(wildcard include/config/generic/bug/relative/pointers.h) \
arch/x86/include/asm/thread_info.h \
$(wildcard include/config/ia32/emulation.h) \
arch/x86/include/asm/page.h \
arch/x86/include/asm/page_64.h \
$(wildcard include/config/debug/virtual.h) \
$(wildcard include/config/flatmem.h) \
$(wildcard include/config/x86/vsyscall/emulation.h) \
include/linux/range.h \
include/asm-generic/memory_model.h \
$(wildcard include/config/discontigmem.h) \
$(wildcard include/config/sparsemem/vmemmap.h) \
include/asm-generic/getorder.h \
arch/x86/include/asm/processor.h \
$(wildcard include/config/m486.h) \
$(wildcard include/config/xen.h) \
arch/x86/include/asm/vm86.h \
arch/x86/include/uapi/asm/vm86.h \
arch/x86/include/asm/math_emu.h \
arch/x86/include/asm/sigcontext.h \
arch/x86/include/uapi/asm/sigcontext.h \
arch/x86/include/asm/current.h \
arch/x86/include/asm/msr.h \
arch/x86/include/uapi/asm/msr.h \
arch/x86/include/uapi/asm/msr-index.h \
include/uapi/linux/ioctl.h \
arch/x86/include/uapi/asm/ioctl.h \
include/asm-generic/ioctl.h \
include/uapi/asm-generic/ioctl.h \
arch/x86/include/uapi/asm/errno.h \
include/uapi/asm-generic/errno.h \
include/uapi/asm-generic/errno-base.h \
arch/x86/include/asm/cpumask.h \
include/linux/cpumask.h \
$(wildcard include/config/cpumask/offstack.h) \
$(wildcard include/config/hotplug/cpu.h) \
$(wildcard include/config/debug/per/cpu/maps.h) \
$(wildcard include/config/disable/obsolete/cpumask/functions.h) \
include/linux/bitmap.h \
include/linux/string.h \
$(wildcard include/config/binary/printf.h) \
include/uapi/linux/string.h \
arch/x86/include/asm/string.h \
arch/x86/include/asm/string_64.h \
arch/x86/include/asm/paravirt.h \
arch/x86/include/asm/special_insns.h \
include/linux/personality.h \
include/uapi/linux/personality.h \
include/linux/math64.h \
$(wildcard include/config/arch/supports/int128.h) \
arch/x86/include/asm/div64.h \
include/asm-generic/div64.h \
include/linux/err.h \
include/linux/irqflags.h \
$(wildcard include/config/trace/irqflags.h) \
$(wildcard include/config/irqsoff/tracer.h) \
$(wildcard include/config/trace/irqflags/support.h) \
arch/x86/include/asm/irqflags.h \
include/linux/atomic.h \
$(wildcard include/config/arch/has/atomic/or.h) \
$(wildcard include/config/generic/atomic64.h) \
arch/x86/include/asm/atomic.h \
arch/x86/include/asm/cmpxchg.h \
arch/x86/include/asm/cmpxchg_64.h \
arch/x86/include/asm/atomic64_64.h \
include/asm-generic/atomic-long.h \
include/linux/bottom_half.h \
include/linux/preempt_mask.h \
include/linux/spinlock_types.h \
include/linux/lockdep.h \
$(wildcard include/config/lockdep.h) \
$(wildcard include/config/lock/stat.h) \
$(wildcard include/config/prove/rcu.h) \
include/linux/rwlock_types.h \
arch/x86/include/asm/spinlock.h \
include/linux/jump_label.h \
$(wildcard include/config/jump/label.h) \
arch/x86/include/asm/jump_label.h \
arch/x86/include/asm/qrwlock.h \
include/asm-generic/qrwlock.h \
include/linux/rwlock.h \
include/linux/spinlock_api_smp.h \
$(wildcard include/config/inline/spin/lock.h) \
$(wildcard include/config/inline/spin/lock/bh.h) \
$(wildcard include/config/inline/spin/lock/irq.h) \
$(wildcard include/config/inline/spin/lock/irqsave.h) \
$(wildcard include/config/inline/spin/trylock.h) \
$(wildcard include/config/inline/spin/trylock/bh.h) \
$(wildcard include/config/uninline/spin/unlock.h) \
$(wildcard include/config/inline/spin/unlock/bh.h) \
$(wildcard include/config/inline/spin/unlock/irq.h) \
$(wildcard include/config/inline/spin/unlock/irqrestore.h) \
include/linux/rwlock_api_smp.h \
$(wildcard include/config/inline/read/lock.h) \
$(wildcard include/config/inline/write/lock.h) \
$(wildcard include/config/inline/read/lock/bh.h) \
$(wildcard include/config/inline/write/lock/bh.h) \
$(wildcard include/config/inline/read/lock/irq.h) \
$(wildcard include/config/inline/write/lock/irq.h) \
$(wildcard include/config/inline/read/lock/irqsave.h) \
$(wildcard include/config/inline/write/lock/irqsave.h) \
$(wildcard include/config/inline/read/trylock.h) \
$(wildcard include/config/inline/write/trylock.h) \
$(wildcard include/config/inline/read/unlock.h) \
$(wildcard include/config/inline/write/unlock.h) \
$(wildcard include/config/inline/read/unlock/bh.h) \
$(wildcard include/config/inline/write/unlock/bh.h) \
$(wildcard include/config/inline/read/unlock/irq.h) \
$(wildcard include/config/inline/write/unlock/irq.h) \
$(wildcard include/config/inline/read/unlock/irqrestore.h) \
$(wildcard include/config/inline/write/unlock/irqrestore.h) \
include/linux/time64.h \
include/uapi/linux/time.h \
include/linux/uidgid.h \
$(wildcard include/config/user/ns.h) \
include/linux/highuid.h \
include/linux/kmod.h \
include/linux/gfp.h \
$(wildcard include/config/numa.h) \
$(wildcard include/config/highmem.h) \
$(wildcard include/config/zone/dma.h) \
$(wildcard include/config/zone/dma32.h) \
$(wildcard include/config/pm/sleep.h) \
$(wildcard include/config/cma.h) \
include/linux/mmdebug.h \
$(wildcard include/config/debug/vm.h) \
include/linux/mmzone.h \
$(wildcard include/config/force/max/zoneorder.h) \
$(wildcard include/config/memory/isolation.h) \
$(wildcard include/config/memcg.h) \
$(wildcard include/config/memory/hotplug.h) \
$(wildcard include/config/compaction.h) \
$(wildcard include/config/have/memblock/node/map.h) \
$(wildcard include/config/flat/node/mem/map.h) \
$(wildcard include/config/page/extension.h) \
$(wildcard include/config/no/bootmem.h) \
$(wildcard include/config/numa/balancing.h) \
$(wildcard include/config/have/memory/present.h) \
$(wildcard include/config/have/memoryless/nodes.h) \
$(wildcard include/config/need/node/memmap/size.h) \
$(wildcard include/config/need/multiple/nodes.h) \
$(wildcard include/config/have/arch/early/pfn/to/nid.h) \
$(wildcard include/config/sparsemem/extreme.h) \
$(wildcard include/config/have/arch/pfn/valid.h) \
$(wildcard include/config/nodes/span/other/nodes.h) \
$(wildcard include/config/holes/in/zone.h) \
$(wildcard include/config/arch/has/holes/memorymodel.h) \
include/linux/wait.h \
include/uapi/linux/wait.h \
include/linux/numa.h \
$(wildcard include/config/nodes/shift.h) \
include/linux/nodemask.h \
$(wildcard include/config/movable/node.h) \
include/linux/pageblock-flags.h \
$(wildcard include/config/hugetlb/page.h) \
$(wildcard include/config/hugetlb/page/size/variable.h) \
include/linux/page-flags-layout.h \
include/generated/bounds.h \
include/linux/memory_hotplug.h \
$(wildcard include/config/memory/hotremove.h) \
$(wildcard include/config/have/arch/nodedata/extension.h) \
$(wildcard include/config/have/bootmem/info/node.h) \
include/linux/notifier.h \
include/linux/errno.h \
include/uapi/linux/errno.h \
include/linux/mutex.h \
$(wildcard include/config/debug/mutexes.h) \
$(wildcard include/config/mutex/spin/on/owner.h) \
include/linux/osq_lock.h \
include/linux/rwsem.h \
$(wildcard include/config/rwsem/spin/on/owner.h) \
$(wildcard include/config/rwsem/generic/spinlock.h) \
arch/x86/include/asm/rwsem.h \
include/linux/srcu.h \
include/linux/rcupdate.h \
$(wildcard include/config/tree/rcu.h) \
$(wildcard include/config/preempt/rcu.h) \
$(wildcard include/config/rcu/trace.h) \
$(wildcard include/config/rcu/stall/common.h) \
$(wildcard include/config/rcu/user/qs.h) \
$(wildcard include/config/rcu/nocb/cpu.h) \
$(wildcard include/config/tasks/rcu.h) \
$(wildcard include/config/tiny/rcu.h) \
$(wildcard include/config/debug/objects/rcu/head.h) \
$(wildcard include/config/rcu/boost.h) \
$(wildcard include/config/rcu/nocb/cpu/all.h) \
$(wildcard include/config/no/hz/full/sysidle.h) \
include/linux/completion.h \
include/linux/debugobjects.h \
$(wildcard include/config/debug/objects.h) \
$(wildcard include/config/debug/objects/free.h) \
include/linux/rcutree.h \
include/linux/workqueue.h \
$(wildcard include/config/debug/objects/work.h) \
$(wildcard include/config/freezer.h) \
include/linux/timer.h \
$(wildcard include/config/timer/stats.h) \
$(wildcard include/config/debug/objects/timers.h) \
include/linux/ktime.h \
include/linux/jiffies.h \
include/linux/timex.h \
include/uapi/linux/timex.h \
include/uapi/linux/param.h \
arch/x86/include/uapi/asm/param.h \
include/asm-generic/param.h \
$(wildcard include/config/hz.h) \
include/uapi/asm-generic/param.h \
arch/x86/include/asm/timex.h \
arch/x86/include/asm/tsc.h \
$(wildcard include/config/x86/tsc.h) \
include/linux/timekeeping.h \
arch/x86/include/asm/mmzone.h \
arch/x86/include/asm/mmzone_64.h \
arch/x86/include/asm/smp.h \
$(wildcard include/config/x86/io/apic.h) \
$(wildcard include/config/x86/32/smp.h) \
$(wildcard include/config/debug/nmi/selftest.h) \
arch/x86/include/asm/mpspec.h \
$(wildcard include/config/eisa.h) \
$(wildcard include/config/x86/mpparse.h) \
arch/x86/include/asm/mpspec_def.h \
arch/x86/include/asm/x86_init.h \
arch/x86/include/uapi/asm/bootparam.h \
include/linux/screen_info.h \
include/uapi/linux/screen_info.h \
include/linux/apm_bios.h \
include/uapi/linux/apm_bios.h \
include/linux/edd.h \
include/uapi/linux/edd.h \
arch/x86/include/asm/e820.h \
$(wildcard include/config/efi.h) \
$(wildcard include/config/hibernation.h) \
$(wildcard include/config/memtest.h) \
arch/x86/include/uapi/asm/e820.h \
$(wildcard include/config/intel/txt.h) \
include/linux/ioport.h \
arch/x86/include/asm/ist.h \
arch/x86/include/uapi/asm/ist.h \
include/video/edid.h \
$(wildcard include/config/x86.h) \
include/uapi/video/edid.h \
arch/x86/include/asm/apicdef.h \
arch/x86/include/asm/apic.h \
$(wildcard include/config/x86/x2apic.h) \
include/linux/pm.h \
$(wildcard include/config/vt/console/sleep.h) \
$(wildcard include/config/pm.h) \
$(wildcard include/config/pm/clk.h) \
$(wildcard include/config/pm/generic/domains.h) \
arch/x86/include/asm/fixmap.h \
$(wildcard include/config/paravirt/clock.h) \
$(wildcard include/config/provide/ohci1394/dma/init.h) \
$(wildcard include/config/pci/mmconfig.h) \
$(wildcard include/config/x86/intel/mid.h) \
arch/x86/include/asm/acpi.h \
$(wildcard include/config/acpi.h) \
$(wildcard include/config/acpi/numa.h) \
include/acpi/pdc_intel.h \
arch/x86/include/asm/numa.h \
$(wildcard include/config/numa/emu.h) \
arch/x86/include/asm/topology.h \
$(wildcard include/config/x86/ht.h) \
include/asm-generic/topology.h \
arch/x86/include/asm/mmu.h \
arch/x86/include/asm/realmode.h \
$(wildcard include/config/acpi/sleep.h) \
arch/x86/include/asm/io.h \
$(wildcard include/config/mtrr.h) \
arch/x86/include/generated/asm/early_ioremap.h \
include/asm-generic/early_ioremap.h \
$(wildcard include/config/generic/early/ioremap.h) \
include/asm-generic/iomap.h \
$(wildcard include/config/has/ioport/map.h) \
$(wildcard include/config/pci.h) \
$(wildcard include/config/generic/iomap.h) \
include/asm-generic/pci_iomap.h \
$(wildcard include/config/no/generic/pci/ioport/map.h) \
$(wildcard include/config/generic/pci/iomap.h) \
include/linux/vmalloc.h \
include/linux/rbtree.h \
include/xen/xen.h \
$(wildcard include/config/xen/dom0.h) \
$(wildcard include/config/xen/pvh.h) \
include/xen/interface/xen.h \
arch/x86/include/asm/xen/interface.h \
arch/x86/include/asm/xen/interface_64.h \
arch/x86/include/asm/pvclock-abi.h \
arch/x86/include/asm/xen/hypervisor.h \
include/xen/features.h \
include/xen/interface/features.h \
arch/x86/include/asm/pvclock.h \
include/linux/clocksource.h \
$(wildcard include/config/arch/clocksource/data.h) \
$(wildcard include/config/clocksource/watchdog.h) \
$(wildcard include/config/clksrc/of.h) \
arch/x86/include/asm/clocksource.h \
arch/x86/include/uapi/asm/vsyscall.h \
include/asm-generic/fixmap.h \
arch/x86/include/asm/idle.h \
arch/x86/include/asm/io_apic.h \
arch/x86/include/asm/irq_vectors.h \
$(wildcard include/config/have/kvm.h) \
include/linux/topology.h \
$(wildcard include/config/use/percpu/numa/node/id.h) \
$(wildcard include/config/sched/smt.h) \
include/linux/smp.h \
$(wildcard include/config/up/late/init.h) \
include/linux/llist.h \
$(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
include/linux/percpu.h \
$(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
$(wildcard include/config/need/per/cpu/page/first/chunk.h) \
include/linux/pfn.h \
include/linux/sysctl.h \
$(wildcard include/config/sysctl.h) \
include/uapi/linux/sysctl.h \
include/linux/elf.h \
arch/x86/include/asm/elf.h \
$(wildcard include/config/x86/x32/abi.h) \
arch/x86/include/asm/user.h \
arch/x86/include/asm/user_64.h \
arch/x86/include/uapi/asm/auxvec.h \
arch/x86/include/asm/vdso.h \
$(wildcard include/config/x86/x32.h) \
include/linux/mm_types.h \
$(wildcard include/config/split/ptlock/cpus.h) \
$(wildcard include/config/arch/enable/split/pmd/ptlock.h) \
$(wildcard include/config/have/cmpxchg/double.h) \
$(wildcard include/config/have/aligned/struct/page.h) \
$(wildcard include/config/transparent/hugepage.h) \
$(wildcard include/config/aio.h) \
$(wildcard include/config/mmu/notifier.h) \
include/linux/auxvec.h \
include/uapi/linux/auxvec.h \
include/linux/uprobes.h \
$(wildcard include/config/uprobes.h) \
arch/x86/include/asm/uprobes.h \
include/uapi/linux/elf.h \
include/uapi/linux/elf-em.h \
include/linux/kobject.h \
$(wildcard include/config/uevent/helper.h) \
$(wildcard include/config/debug/kobject/release.h) \
include/linux/sysfs.h \
include/linux/kernfs.h \
$(wildcard include/config/kernfs.h) \
include/linux/idr.h \
include/linux/kobject_ns.h \
include/linux/kref.h \
include/linux/moduleparam.h \
$(wildcard include/config/alpha.h) \
$(wildcard include/config/ia64.h) \
$(wildcard include/config/ppc64.h) \
arch/x86/include/asm/module.h \
$(wildcard include/config/m586.h) \
$(wildcard include/config/m586tsc.h) \
$(wildcard include/config/m586mmx.h) \
$(wildcard include/config/mcore2.h) \
$(wildcard include/config/m686.h) \
$(wildcard include/config/mpentiumii.h) \
$(wildcard include/config/mpentiumiii.h) \
$(wildcard include/config/mpentiumm.h) \
$(wildcard include/config/mpentium4.h) \
$(wildcard include/config/mk6.h) \
$(wildcard include/config/mk8.h) \
$(wildcard include/config/melan.h) \
$(wildcard include/config/mcrusoe.h) \
$(wildcard include/config/mefficeon.h) \
$(wildcard include/config/mwinchipc6.h) \
$(wildcard include/config/mwinchip3d.h) \
$(wildcard include/config/mcyrixiii.h) \
$(wildcard include/config/mviac3/2.h) \
$(wildcard include/config/mviac7.h) \
$(wildcard include/config/mgeodegx1.h) \
$(wildcard include/config/mgeode/lx.h) \
include/asm-generic/module.h \
$(wildcard include/config/have/mod/arch/specific.h) \
$(wildcard include/config/modules/use/elf/rel.h) \
$(wildcard include/config/modules/use/elf/rela.h) \
include/linux/vermagic.h \
include/generated/utsrelease.h \

/riddlebox/Downloads/kerntest/hello.mod.o: $(deps_/riddlebox/Downloads/kerntest/hello.mod.o)

$(deps_/riddlebox/Downloads/kerntest/hello.mod.o):

+ 587
- 0
src/kerntest/.hello.o.cmd View File

@@ -0,0 +1,587 @@
cmd_/riddlebox/Downloads/kerntest/hello.o := gcc -Wp,-MD,/riddlebox/Downloads/kerntest/.hello.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -DMODULE -D"KBUILD_STR(s)=\#s" -D"KBUILD_BASENAME=KBUILD_STR(hello)" -D"KBUILD_MODNAME=KBUILD_STR(hello)" -c -o /riddlebox/Downloads/kerntest/.tmp_hello.o /riddlebox/Downloads/kerntest/hello.c

source_/riddlebox/Downloads/kerntest/hello.o := /riddlebox/Downloads/kerntest/hello.c

deps_/riddlebox/Downloads/kerntest/hello.o := \
include/linux/module.h \
$(wildcard include/config/sysfs.h) \
$(wildcard include/config/modules.h) \
$(wildcard include/config/unused/symbols.h) \
$(wildcard include/config/module/sig.h) \
$(wildcard include/config/generic/bug.h) \
$(wildcard include/config/kallsyms.h) \
$(wildcard include/config/smp.h) \
$(wildcard include/config/tracepoints.h) \
$(wildcard include/config/tracing.h) \
$(wildcard include/config/event/tracing.h) \
$(wildcard include/config/ftrace/mcount/record.h) \
$(wildcard include/config/livepatch.h) \
$(wildcard include/config/module/unload.h) \
$(wildcard include/config/constructors.h) \
$(wildcard include/config/debug/set/module/ronx.h) \
include/linux/list.h \
$(wildcard include/config/debug/list.h) \
include/linux/types.h \
$(wildcard include/config/uid16.h) \
$(wildcard include/config/lbdaf.h) \
$(wildcard include/config/arch/dma/addr/t/64bit.h) \
$(wildcard include/config/phys/addr/t/64bit.h) \
$(wildcard include/config/64bit.h) \
include/uapi/linux/types.h \
arch/x86/include/uapi/asm/types.h \
include/uapi/asm-generic/types.h \
include/asm-generic/int-ll64.h \
include/uapi/asm-generic/int-ll64.h \
arch/x86/include/uapi/asm/bitsperlong.h \
include/asm-generic/bitsperlong.h \
include/uapi/asm-generic/bitsperlong.h \
include/uapi/linux/posix_types.h \
include/linux/stddef.h \
include/uapi/linux/stddef.h \
include/linux/compiler.h \
$(wildcard include/config/sparse/rcu/pointer.h) \
$(wildcard include/config/trace/branch/profiling.h) \
$(wildcard include/config/profile/all/branches.h) \
$(wildcard include/config/enable/must/check.h) \
$(wildcard include/config/enable/warn/deprecated.h) \
$(wildcard include/config/kprobes.h) \
include/linux/compiler-gcc.h \
$(wildcard include/config/arch/supports/optimized/inlining.h) \
$(wildcard include/config/optimize/inlining.h) \
include/linux/compiler-gcc4.h \
$(wildcard include/config/arch/use/builtin/bswap.h) \
arch/x86/include/asm/posix_types.h \
$(wildcard include/config/x86/32.h) \
arch/x86/include/uapi/asm/posix_types_64.h \
include/uapi/asm-generic/posix_types.h \
include/linux/poison.h \
$(wildcard include/config/illegal/pointer/value.h) \
include/uapi/linux/const.h \
include/linux/kernel.h \
$(wildcard include/config/preempt/voluntary.h) \
$(wildcard include/config/debug/atomic/sleep.h) \
$(wildcard include/config/mmu.h) \
$(wildcard include/config/prove/locking.h) \
$(wildcard include/config/panic/timeout.h) \
$(wildcard include/config/ring/buffer.h) \
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdarg.h \
include/linux/linkage.h \
include/linux/stringify.h \
include/linux/export.h \
$(wildcard include/config/have/underscore/symbol/prefix.h) \
$(wildcard include/config/modversions.h) \
arch/x86/include/asm/linkage.h \
$(wildcard include/config/x86/64.h) \
$(wildcard include/config/x86/alignment/16.h) \
include/linux/bitops.h \
arch/x86/include/asm/bitops.h \
$(wildcard include/config/x86/cmov.h) \
arch/x86/include/asm/alternative.h \
$(wildcard include/config/paravirt.h) \
arch/x86/include/asm/asm.h \
arch/x86/include/asm/ptrace.h \
$(wildcard include/config/x86/debugctlmsr.h) \
arch/x86/include/asm/segment.h \
$(wildcard include/config/cc/stackprotector.h) \
$(wildcard include/config/x86/32/lazy/gs.h) \
arch/x86/include/asm/cache.h \
$(wildcard include/config/x86/l1/cache/shift.h) \
$(wildcard include/config/x86/internode/cache/shift.h) \
$(wildcard include/config/x86/vsmp.h) \
arch/x86/include/asm/page_types.h \
$(wildcard include/config/physical/start.h) \
$(wildcard include/config/physical/align.h) \
arch/x86/include/asm/page_64_types.h \
$(wildcard include/config/kasan.h) \
$(wildcard include/config/randomize/base.h) \
$(wildcard include/config/randomize/base/max/offset.h) \
arch/x86/include/uapi/asm/ptrace.h \
arch/x86/include/uapi/asm/ptrace-abi.h \
arch/x86/include/asm/processor-flags.h \
$(wildcard include/config/vm86.h) \
arch/x86/include/uapi/asm/processor-flags.h \
arch/x86/include/asm/paravirt_types.h \
$(wildcard include/config/x86/local/apic.h) \
$(wildcard include/config/x86/pae.h) \
$(wildcard include/config/paravirt/debug.h) \
arch/x86/include/asm/desc_defs.h \
arch/x86/include/asm/kmap_types.h \
$(wildcard include/config/debug/highmem.h) \
include/asm-generic/kmap_types.h \
arch/x86/include/asm/pgtable_types.h \
$(wildcard include/config/kmemcheck.h) \
$(wildcard include/config/mem/soft/dirty.h) \
$(wildcard include/config/proc/fs.h) \
arch/x86/include/asm/pgtable_64_types.h \
arch/x86/include/asm/sparsemem.h \
$(wildcard include/config/sparsemem.h) \
arch/x86/include/asm/spinlock_types.h \
$(wildcard include/config/paravirt/spinlocks.h) \
$(wildcard include/config/nr/cpus.h) \
include/asm-generic/qrwlock_types.h \
include/asm-generic/ptrace.h \
arch/x86/include/asm/cpufeature.h \
$(wildcard include/config/x86/feature/names.h) \
$(wildcard include/config/x86/debug/static/cpu/has.h) \
arch/x86/include/asm/required-features.h \
$(wildcard include/config/x86/minimum/cpu/family.h) \
$(wildcard include/config/math/emulation.h) \
$(wildcard include/config/x86/cmpxchg64.h) \
$(wildcard include/config/x86/use/3dnow.h) \
$(wildcard include/config/x86/p6/nop.h) \
$(wildcard include/config/matom.h) \
arch/x86/include/asm/disabled-features.h \
$(wildcard include/config/x86/intel/mpx.h) \
arch/x86/include/asm/rmwcc.h \
arch/x86/include/asm/barrier.h \
$(wildcard include/config/x86/ppro/fence.h) \
arch/x86/include/asm/nops.h \
$(wildcard include/config/mk7.h) \
include/asm-generic/bitops/find.h \
$(wildcard include/config/generic/find/first/bit.h) \
include/asm-generic/bitops/sched.h \
arch/x86/include/asm/arch_hweight.h \
include/asm-generic/bitops/const_hweight.h \
include/asm-generic/bitops/le.h \
arch/x86/include/uapi/asm/byteorder.h \
include/linux/byteorder/little_endian.h \
include/uapi/linux/byteorder/little_endian.h \
include/linux/swab.h \
include/uapi/linux/swab.h \
arch/x86/include/uapi/asm/swab.h \
include/linux/byteorder/generic.h \
include/asm-generic/bitops/ext2-atomic-setbit.h \
include/linux/log2.h \
$(wildcard include/config/arch/has/ilog2/u32.h) \
$(wildcard include/config/arch/has/ilog2/u64.h) \
include/linux/typecheck.h \
include/linux/printk.h \
$(wildcard include/config/message/loglevel/default.h) \
$(wildcard include/config/early/printk.h) \
$(wildcard include/config/printk.h) \
$(wildcard include/config/dynamic/debug.h) \
include/linux/init.h \
$(wildcard include/config/broken/rodata.h) \
$(wildcard include/config/lto.h) \
include/linux/kern_levels.h \
include/linux/cache.h \
$(wildcard include/config/arch/has/cache/line/size.h) \
include/uapi/linux/kernel.h \
include/uapi/linux/sysinfo.h \
include/linux/dynamic_debug.h \
include/linux/stat.h \
arch/x86/include/uapi/asm/stat.h \
include/uapi/linux/stat.h \
include/linux/time.h \
$(wildcard include/config/arch/uses/gettimeoffset.h) \
include/linux/seqlock.h \
$(wildcard include/config/debug/lock/alloc.h) \
include/linux/spinlock.h \
$(wildcard include/config/debug/spinlock.h) \
$(wildcard include/config/generic/lockbreak.h) \
$(wildcard include/config/preempt.h) \
include/linux/preempt.h \
$(wildcard include/config/debug/preempt.h) \
$(wildcard include/config/preempt/tracer.h) \
$(wildcard include/config/preempt/count.h) \
$(wildcard include/config/context/tracking.h) \
$(wildcard include/config/preempt/notifiers.h) \
arch/x86/include/asm/preempt.h \
arch/x86/include/asm/percpu.h \
$(wildcard include/config/x86/64/smp.h) \
include/asm-generic/percpu.h \
$(wildcard include/config/have/setup/per/cpu/area.h) \
include/linux/threads.h \
$(wildcard include/config/base/small.h) \
include/linux/percpu-defs.h \
$(wildcard include/config/debug/force/weak/per/cpu.h) \
include/linux/thread_info.h \
$(wildcard include/config/compat.h) \
$(wildcard include/config/debug/stack/usage.h) \
include/linux/bug.h \
arch/x86/include/asm/bug.h \
$(wildcard include/config/debug/bugverbose.h) \
include/asm-generic/bug.h \
$(wildcard include/config/bug.h) \
$(wildcard include/config/generic/bug/relative/pointers.h) \
arch/x86/include/asm/thread_info.h \
$(wildcard include/config/ia32/emulation.h) \
arch/x86/include/asm/page.h \
arch/x86/include/asm/page_64.h \
$(wildcard include/config/debug/virtual.h) \
$(wildcard include/config/flatmem.h) \
$(wildcard include/config/x86/vsyscall/emulation.h) \
include/linux/range.h \
include/asm-generic/memory_model.h \
$(wildcard include/config/discontigmem.h) \
$(wildcard include/config/sparsemem/vmemmap.h) \
include/asm-generic/getorder.h \
arch/x86/include/asm/processor.h \
$(wildcard include/config/m486.h) \
$(wildcard include/config/xen.h) \
arch/x86/include/asm/vm86.h \
arch/x86/include/uapi/asm/vm86.h \
arch/x86/include/asm/math_emu.h \
arch/x86/include/asm/sigcontext.h \
arch/x86/include/uapi/asm/sigcontext.h \
arch/x86/include/asm/current.h \
arch/x86/include/asm/msr.h \
arch/x86/include/uapi/asm/msr.h \
arch/x86/include/uapi/asm/msr-index.h \
include/uapi/linux/ioctl.h \
arch/x86/include/uapi/asm/ioctl.h \
include/asm-generic/ioctl.h \
include/uapi/asm-generic/ioctl.h \
arch/x86/include/uapi/asm/errno.h \
include/uapi/asm-generic/errno.h \
include/uapi/asm-generic/errno-base.h \
arch/x86/include/asm/cpumask.h \
include/linux/cpumask.h \
$(wildcard include/config/cpumask/offstack.h) \
$(wildcard include/config/hotplug/cpu.h) \
$(wildcard include/config/debug/per/cpu/maps.h) \
$(wildcard include/config/disable/obsolete/cpumask/functions.h) \
include/linux/bitmap.h \
include/linux/string.h \
$(wildcard include/config/binary/printf.h) \
include/uapi/linux/string.h \
arch/x86/include/asm/string.h \
arch/x86/include/asm/string_64.h \
arch/x86/include/asm/paravirt.h \
arch/x86/include/asm/special_insns.h \
include/linux/personality.h \
include/uapi/linux/personality.h \
include/linux/math64.h \
$(wildcard include/config/arch/supports/int128.h) \
arch/x86/include/asm/div64.h \
include/asm-generic/div64.h \
include/linux/err.h \
include/linux/irqflags.h \
$(wildcard include/config/trace/irqflags.h) \
$(wildcard include/config/irqsoff/tracer.h) \
$(wildcard include/config/trace/irqflags/support.h) \
arch/x86/include/asm/irqflags.h \
include/linux/atomic.h \
$(wildcard include/config/arch/has/atomic/or.h) \
$(wildcard include/config/generic/atomic64.h) \
arch/x86/include/asm/atomic.h \
arch/x86/include/asm/cmpxchg.h \
arch/x86/include/asm/cmpxchg_64.h \
arch/x86/include/asm/atomic64_64.h \
include/asm-generic/atomic-long.h \
include/linux/bottom_half.h \
include/linux/preempt_mask.h \
include/linux/spinlock_types.h \
include/linux/lockdep.h \
$(wildcard include/config/lockdep.h) \
$(wildcard include/config/lock/stat.h) \
$(wildcard include/config/prove/rcu.h) \
include/linux/rwlock_types.h \
arch/x86/include/asm/spinlock.h \
include/linux/jump_label.h \
$(wildcard include/config/jump/label.h) \
arch/x86/include/asm/jump_label.h \
arch/x86/include/asm/qrwlock.h \
include/asm-generic/qrwlock.h \
include/linux/rwlock.h \
include/linux/spinlock_api_smp.h \
$(wildcard include/config/inline/spin/lock.h) \
$(wildcard include/config/inline/spin/lock/bh.h) \
$(wildcard include/config/inline/spin/lock/irq.h) \
$(wildcard include/config/inline/spin/lock/irqsave.h) \
$(wildcard include/config/inline/spin/trylock.h) \
$(wildcard include/config/inline/spin/trylock/bh.h) \
$(wildcard include/config/uninline/spin/unlock.h) \
$(wildcard include/config/inline/spin/unlock/bh.h) \
$(wildcard include/config/inline/spin/unlock/irq.h) \
$(wildcard include/config/inline/spin/unlock/irqrestore.h) \
include/linux/rwlock_api_smp.h \
$(wildcard include/config/inline/read/lock.h) \
$(wildcard include/config/inline/write/lock.h) \
$(wildcard include/config/inline/read/lock/bh.h) \
$(wildcard include/config/inline/write/lock/bh.h) \
$(wildcard include/config/inline/read/lock/irq.h) \
$(wildcard include/config/inline/write/lock/irq.h) \
$(wildcard include/config/inline/read/lock/irqsave.h) \
$(wildcard include/config/inline/write/lock/irqsave.h) \
$(wildcard include/config/inline/read/trylock.h) \
$(wildcard include/config/inline/write/trylock.h) \
$(wildcard include/config/inline/read/unlock.h) \
$(wildcard include/config/inline/write/unlock.h) \
$(wildcard include/config/inline/read/unlock/bh.h) \
$(wildcard include/config/inline/write/unlock/bh.h) \
$(wildcard include/config/inline/read/unlock/irq.h) \
$(wildcard include/config/inline/write/unlock/irq.h) \
$(wildcard include/config/inline/read/unlock/irqrestore.h) \
$(wildcard include/config/inline/write/unlock/irqrestore.h) \
include/linux/time64.h \
include/uapi/linux/time.h \
include/linux/uidgid.h \
$(wildcard include/config/user/ns.h) \
include/linux/highuid.h \
include/linux/kmod.h \
include/linux/gfp.h \
$(wildcard include/config/numa.h) \
$(wildcard include/config/highmem.h) \
$(wildcard include/config/zone/dma.h) \
$(wildcard include/config/zone/dma32.h) \
$(wildcard include/config/pm/sleep.h) \
$(wildcard include/config/cma.h) \
include/linux/mmdebug.h \
$(wildcard include/config/debug/vm.h) \
include/linux/mmzone.h \
$(wildcard include/config/force/max/zoneorder.h) \
$(wildcard include/config/memory/isolation.h) \
$(wildcard include/config/memcg.h) \
$(wildcard include/config/memory/hotplug.h) \
$(wildcard include/config/compaction.h) \
$(wildcard include/config/have/memblock/node/map.h) \
$(wildcard include/config/flat/node/mem/map.h) \
$(wildcard include/config/page/extension.h) \
$(wildcard include/config/no/bootmem.h) \
$(wildcard include/config/numa/balancing.h) \
$(wildcard include/config/have/memory/present.h) \
$(wildcard include/config/have/memoryless/nodes.h) \
$(wildcard include/config/need/node/memmap/size.h) \
$(wildcard include/config/need/multiple/nodes.h) \
$(wildcard include/config/have/arch/early/pfn/to/nid.h) \
$(wildcard include/config/sparsemem/extreme.h) \
$(wildcard include/config/have/arch/pfn/valid.h) \
$(wildcard include/config/nodes/span/other/nodes.h) \
$(wildcard include/config/holes/in/zone.h) \
$(wildcard include/config/arch/has/holes/memorymodel.h) \
include/linux/wait.h \
include/uapi/linux/wait.h \
include/linux/numa.h \
$(wildcard include/config/nodes/shift.h) \
include/linux/nodemask.h \
$(wildcard include/config/movable/node.h) \
include/linux/pageblock-flags.h \
$(wildcard include/config/hugetlb/page.h) \
$(wildcard include/config/hugetlb/page/size/variable.h) \
include/linux/page-flags-layout.h \
include/generated/bounds.h \
include/linux/memory_hotplug.h \
$(wildcard include/config/memory/hotremove.h) \
$(wildcard include/config/have/arch/nodedata/extension.h) \
$(wildcard include/config/have/bootmem/info/node.h) \
include/linux/notifier.h \
include/linux/errno.h \
include/uapi/linux/errno.h \
include/linux/mutex.h \
$(wildcard include/config/debug/mutexes.h) \
$(wildcard include/config/mutex/spin/on/owner.h) \
include/linux/osq_lock.h \
include/linux/rwsem.h \
$(wildcard include/config/rwsem/spin/on/owner.h) \
$(wildcard include/config/rwsem/generic/spinlock.h) \
arch/x86/include/asm/rwsem.h \
include/linux/srcu.h \
include/linux/rcupdate.h \
$(wildcard include/config/tree/rcu.h) \
$(wildcard include/config/preempt/rcu.h) \
$(wildcard include/config/rcu/trace.h) \
$(wildcard include/config/rcu/stall/common.h) \
$(wildcard include/config/rcu/user/qs.h) \
$(wildcard include/config/rcu/nocb/cpu.h) \
$(wildcard include/config/tasks/rcu.h) \
$(wildcard include/config/tiny/rcu.h) \
$(wildcard include/config/debug/objects/rcu/head.h) \
$(wildcard include/config/rcu/boost.h) \
$(wildcard include/config/rcu/nocb/cpu/all.h) \
$(wildcard include/config/no/hz/full/sysidle.h) \
include/linux/completion.h \
include/linux/debugobjects.h \
$(wildcard include/config/debug/objects.h) \
$(wildcard include/config/debug/objects/free.h) \
include/linux/rcutree.h \
include/linux/workqueue.h \
$(wildcard include/config/debug/objects/work.h) \
$(wildcard include/config/freezer.h) \
include/linux/timer.h \
$(wildcard include/config/timer/stats.h) \
$(wildcard include/config/debug/objects/timers.h) \
include/linux/ktime.h \
include/linux/jiffies.h \
include/linux/timex.h \
include/uapi/linux/timex.h \
include/uapi/linux/param.h \
arch/x86/include/uapi/asm/param.h \
include/asm-generic/param.h \
$(wildcard include/config/hz.h) \
include/uapi/asm-generic/param.h \
arch/x86/include/asm/timex.h \
arch/x86/include/asm/tsc.h \
$(wildcard include/config/x86/tsc.h) \
include/linux/timekeeping.h \
arch/x86/include/asm/mmzone.h \
arch/x86/include/asm/mmzone_64.h \
arch/x86/include/asm/smp.h \
$(wildcard include/config/x86/io/apic.h) \
$(wildcard include/config/x86/32/smp.h) \
$(wildcard include/config/debug/nmi/selftest.h) \
arch/x86/include/asm/mpspec.h \
$(wildcard include/config/eisa.h) \
$(wildcard include/config/x86/mpparse.h) \
arch/x86/include/asm/mpspec_def.h \
arch/x86/include/asm/x86_init.h \
arch/x86/include/uapi/asm/bootparam.h \
include/linux/screen_info.h \
include/uapi/linux/screen_info.h \
include/linux/apm_bios.h \
include/uapi/linux/apm_bios.h \
include/linux/edd.h \
include/uapi/linux/edd.h \
arch/x86/include/asm/e820.h \
$(wildcard include/config/efi.h) \
$(wildcard include/config/hibernation.h) \
$(wildcard include/config/memtest.h) \
arch/x86/include/uapi/asm/e820.h \
$(wildcard include/config/intel/txt.h) \
include/linux/ioport.h \
arch/x86/include/asm/ist.h \
arch/x86/include/uapi/asm/ist.h \
include/video/edid.h \
$(wildcard include/config/x86.h) \
include/uapi/video/edid.h \
arch/x86/include/asm/apicdef.h \
arch/x86/include/asm/apic.h \
$(wildcard include/config/x86/x2apic.h) \
include/linux/pm.h \
$(wildcard include/config/vt/console/sleep.h) \
$(wildcard include/config/pm.h) \
$(wildcard include/config/pm/clk.h) \
$(wildcard include/config/pm/generic/domains.h) \
arch/x86/include/asm/fixmap.h \
$(wildcard include/config/paravirt/clock.h) \
$(wildcard include/config/provide/ohci1394/dma/init.h) \
$(wildcard include/config/pci/mmconfig.h) \
$(wildcard include/config/x86/intel/mid.h) \
arch/x86/include/asm/acpi.h \
$(wildcard include/config/acpi.h) \
$(wildcard include/config/acpi/numa.h) \
include/acpi/pdc_intel.h \
arch/x86/include/asm/numa.h \
$(wildcard include/config/numa/emu.h) \
arch/x86/include/asm/topology.h \
$(wildcard include/config/x86/ht.h) \
include/asm-generic/topology.h \
arch/x86/include/asm/mmu.h \
arch/x86/include/asm/realmode.h \
$(wildcard include/config/acpi/sleep.h) \
arch/x86/include/asm/io.h \
$(wildcard include/config/mtrr.h) \
arch/x86/include/generated/asm/early_ioremap.h \
include/asm-generic/early_ioremap.h \
$(wildcard include/config/generic/early/ioremap.h) \
include/asm-generic/iomap.h \
$(wildcard include/config/has/ioport/map.h) \
$(wildcard include/config/pci.h) \
$(wildcard include/config/generic/iomap.h) \
include/asm-generic/pci_iomap.h \
$(wildcard include/config/no/generic/pci/ioport/map.h) \
$(wildcard include/config/generic/pci/iomap.h) \
include/linux/vmalloc.h \
include/linux/rbtree.h \
include/xen/xen.h \
$(wildcard include/config/xen/dom0.h) \
$(wildcard include/config/xen/pvh.h) \
include/xen/interface/xen.h \
arch/x86/include/asm/xen/interface.h \
arch/x86/include/asm/xen/interface_64.h \
arch/x86/include/asm/pvclock-abi.h \
arch/x86/include/asm/xen/hypervisor.h \
include/xen/features.h \
include/xen/interface/features.h \
arch/x86/include/asm/pvclock.h \
include/linux/clocksource.h \
$(wildcard include/config/arch/clocksource/data.h) \
$(wildcard include/config/clocksource/watchdog.h) \
$(wildcard include/config/clksrc/of.h) \
arch/x86/include/asm/clocksource.h \
arch/x86/include/uapi/asm/vsyscall.h \
include/asm-generic/fixmap.h \
arch/x86/include/asm/idle.h \
arch/x86/include/asm/io_apic.h \
arch/x86/include/asm/irq_vectors.h \
$(wildcard include/config/have/kvm.h) \
include/linux/topology.h \
$(wildcard include/config/use/percpu/numa/node/id.h) \
$(wildcard include/config/sched/smt.h) \
include/linux/smp.h \
$(wildcard include/config/up/late/init.h) \
include/linux/llist.h \
$(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
include/linux/percpu.h \
$(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
$(wildcard include/config/need/per/cpu/page/first/chunk.h) \
include/linux/pfn.h \
include/linux/sysctl.h \
$(wildcard include/config/sysctl.h) \
include/uapi/linux/sysctl.h \
include/linux/elf.h \
arch/x86/include/asm/elf.h \
$(wildcard include/config/x86/x32/abi.h) \
arch/x86/include/asm/user.h \
arch/x86/include/asm/user_64.h \
arch/x86/include/uapi/asm/auxvec.h \
arch/x86/include/asm/vdso.h \
$(wildcard include/config/x86/x32.h) \
include/linux/mm_types.h \
$(wildcard include/config/split/ptlock/cpus.h) \
$(wildcard include/config/arch/enable/split/pmd/ptlock.h) \
$(wildcard include/config/have/cmpxchg/double.h) \
$(wildcard include/config/have/aligned/struct/page.h) \
$(wildcard include/config/transparent/hugepage.h) \
$(wildcard include/config/aio.h) \
$(wildcard include/config/mmu/notifier.h) \
include/linux/auxvec.h \
include/uapi/linux/auxvec.h \
include/linux/uprobes.h \
$(wildcard include/config/uprobes.h) \
arch/x86/include/asm/uprobes.h \
include/uapi/linux/elf.h \
include/uapi/linux/elf-em.h \
include/linux/kobject.h \
$(wildcard include/config/uevent/helper.h) \
$(wildcard include/config/debug/kobject/release.h) \
include/linux/sysfs.h \
include/linux/kernfs.h \
$(wildcard include/config/kernfs.h) \
include/linux/idr.h \
include/linux/kobject_ns.h \
include/linux/kref.h \
include/linux/moduleparam.h \
$(wildcard include/config/alpha.h) \
$(wildcard include/config/ia64.h) \
$(wildcard include/config/ppc64.h) \
arch/x86/include/asm/module.h \
$(wildcard include/config/m586.h) \
$(wildcard include/config/m586tsc.h) \
$(wildcard include/config/m586mmx.h) \
$(wildcard include/config/mcore2.h) \
$(wildcard include/config/m686.h) \
$(wildcard include/config/mpentiumii.h) \
$(wildcard include/config/mpentiumiii.h) \
$(wildcard include/config/mpentiumm.h) \
$(wildcard include/config/mpentium4.h) \
$(wildcard include/config/mk6.h) \
$(wildcard include/config/mk8.h) \
$(wildcard include/config/melan.h) \
$(wildcard include/config/mcrusoe.h) \
$(wildcard include/config/mefficeon.h) \
$(wildcard include/config/mwinchipc6.h) \
$(wildcard include/config/mwinchip3d.h) \
$(wildcard include/config/mcyrixiii.h) \
$(wildcard include/config/mviac3/2.h) \
$(wildcard include/config/mviac7.h) \
$(wildcard include/config/mgeodegx1.h) \
$(wildcard include/config/mgeode/lx.h) \
include/asm-generic/module.h \
$(wildcard include/config/have/mod/arch/specific.h) \
$(wildcard include/config/modules/use/elf/rel.h) \
$(wildcard include/config/modules/use/elf/rela.h) \

/riddlebox/Downloads/kerntest/hello.o: $(deps_/riddlebox/Downloads/kerntest/hello.o)

$(deps_/riddlebox/Downloads/kerntest/hello.o):

+ 2
- 0
src/kerntest/.tmp_versions/hello.mod View File

@@ -0,0 +1,2 @@
/riddlebox/Downloads/kerntest/hello.ko
/riddlebox/Downloads/kerntest/hello.o

+ 7
- 0
src/kerntest/Makefile View File

@@ -0,0 +1,7 @@
obj-m += hello.o

all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

+ 0
- 0
src/kerntest/Module.symvers View File


+ 21
- 0
src/kerntest/hello.c View File

@@ -0,0 +1,21 @@
#include <linux/module.h> // included for all kernel modules
#include <linux/kernel.h> // included for KERN_INFO
#include <linux/init.h> // included for __init and __exit macros

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Lakshmanan");
MODULE_DESCRIPTION("A Simple Hello World module");

static int __init hello_init(void)
{
printk(KERN_INFO "Hello world!\n");
return 0; // Non-zero return means that the module couldn't be loaded.
}

static void __exit hello_cleanup(void)
{
printk(KERN_INFO "Cleaning up module.\n");
}

module_init(hello_init);
module_exit(hello_cleanup);

BIN
src/kerntest/hello.ko View File


+ 28
- 0
src/kerntest/hello.mod.c View File

@@ -0,0 +1,28 @@
#include <linux/module.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>

MODULE_INFO(vermagic, VERMAGIC_STRING);

__visible struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.arch = MODULE_ARCH_INIT,
};

static const struct modversion_info ____versions[]
__used
__attribute__((section("__versions"))) = {
{ 0x41809b88, __VMLINUX_SYMBOL_STR(module_layout) },
{ 0x27e1a049, __VMLINUX_SYMBOL_STR(printk) },
};

static const char __module_depends[]
__used
__attribute__((section(".modinfo"))) =
"depends=";


BIN
src/kerntest/hello.mod.o View File


BIN
src/kerntest/hello.o View File


+ 1
- 0
src/kerntest/modules.order View File

@@ -0,0 +1 @@
kernel//riddlebox/Downloads/kerntest/hello.ko

Loading…
Cancel
Save