손지언

d

...@@ -13,8 +13,9 @@ unsigned int (* sys_write_orig)(int fd, char *byf, size_t count); ...@@ -13,8 +13,9 @@ unsigned int (* sys_write_orig)(int fd, char *byf, size_t count);
13 13
14 //sys_write_orig() 호출 전 pBuF의 내용 수정 14 //sys_write_orig() 호출 전 pBuF의 내용 수정
15 unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){ 15 unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){
16 - printk("current process: %s", current->comm); 16 +
17 if(current->comm == "hello_world" && nFD == 1){ 17 if(current->comm == "hello_world" && nFD == 1){
18 + printk("current process: %s", current->comm);
18 memset(pBuf, 0, nCnt); 19 memset(pBuf, 0, nCnt);
19 strcpy(pBuf, "Hacked!!!\n"); 20 strcpy(pBuf, "Hacked!!!\n");
20 return sys_write_orig(nFD,pBuf, nCnt); 21 return sys_write_orig(nFD,pBuf, nCnt);
......
...@@ -30,4 +30,4 @@ __attribute__((section(".modinfo"))) = ...@@ -30,4 +30,4 @@ __attribute__((section(".modinfo"))) =
30 "depends="; 30 "depends=";
31 31
32 32
33 -MODULE_INFO(srcversion, "2A131E5614C253504393ED6"); 33 +MODULE_INFO(srcversion, "6656FAE980A32BBBB7648FE");
......
1 -export APP_NAME=hello_world
2 -export MOD_NAME=hooker
3 -
4 -PWD := $(shell pwd)
5 -APP_PATH=$(PWD)/d$(APP_NAME)
6 -MOD_PATH=$(PWD)/d$(MOD_NAME)
7 -
8 -all: $(MOD_NAME) $(APP_NAME)
9 -
10 -$(MOD_NAME):
11 - $(MAKE) -C $(MOD_PATH)
12 - mv $(MOD_PATH)/$@.ko $(PWD)
13 -
14 -$(APP_NAME):
15 - $(MAKE) -C $(APP_PATH)
16 - mv $(APP_PATH)/$@ $(PWD)
17 -
18 -clean:
19 - $(RM) $(PWD)/$(MOD_NAME).ko
20 - $(RM) $(PWD)/$(APP_NAME)
21 - arm-linux-gnueabihf-gcc -C $(MOD_PATH) clean
22 - arm-linux-gnueabihf-gcc -C $(APP_PATH) clean
1 -APP_NAME := hello_world
2 -
3 -all:
4 - arm-linux-gnueabihf-gcc -o $(APP_NAME) $(APP_NAME).c
5 -
6 -clean:
7 - $(RM) $(APP_NAME).o
1 -#include <stdio.h>
2 -
3 -int main(int argc, char *argv[]){
4 - char sHelloMsg[] = {"Hello world!\n"};
5 - printf(sHelloMsg);
6 - return 0;
7 -}
1 -cmd_/root/hooking/dhooker/hooker.ko := arm-linux-gnueabihf-ld -EL -r -T ./scripts/module-common.lds --build-id -o /root/hooking/dhooker/hooker.ko /root/hooking/dhooker/hooker.o /root/hooking/dhooker/hooker.mod.o
1 -cmd_/root/hooking/dhooker/hooker.mod.o := arm-linux-gnueabihf-gcc -Wp,-MD,/root/hooking/dhooker/.hooker.mod.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -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(hooker.mod)" -D"KBUILD_MODNAME=KBUILD_STR(hooker)" -DMODULE -c -o /root/hooking/dhooker/hooker.mod.o /root/hooking/dhooker/hooker.mod.c
2 -
3 -source_/root/hooking/dhooker/hooker.mod.o := /root/hooking/dhooker/hooker.mod.c
4 -
5 -deps_/root/hooking/dhooker/hooker.mod.o := \
6 - $(wildcard include/config/module/unload.h) \
7 - include/linux/module.h \
8 - $(wildcard include/config/modules.h) \
9 - $(wildcard include/config/sysfs.h) \
10 - $(wildcard include/config/unused/symbols.h) \
11 - $(wildcard include/config/module/sig.h) \
12 - $(wildcard include/config/modules/tree/lookup.h) \
13 - $(wildcard include/config/generic/bug.h) \
14 - $(wildcard include/config/kallsyms.h) \
15 - $(wildcard include/config/smp.h) \
16 - $(wildcard include/config/tracepoints.h) \
17 - $(wildcard include/config/tracing.h) \
18 - $(wildcard include/config/event/tracing.h) \
19 - $(wildcard include/config/ftrace/mcount/record.h) \
20 - $(wildcard include/config/livepatch.h) \
21 - $(wildcard include/config/constructors.h) \
22 - $(wildcard include/config/debug/set/module/ronx.h) \
23 - include/linux/list.h \
24 - $(wildcard include/config/debug/list.h) \
25 - include/linux/types.h \
26 - $(wildcard include/config/have/uid16.h) \
27 - $(wildcard include/config/uid16.h) \
28 - $(wildcard include/config/lbdaf.h) \
29 - $(wildcard include/config/arch/dma/addr/t/64bit.h) \
30 - $(wildcard include/config/phys/addr/t/64bit.h) \
31 - $(wildcard include/config/64bit.h) \
32 - include/uapi/linux/types.h \
33 - arch/arm/include/asm/types.h \
34 - include/asm-generic/int-ll64.h \
35 - include/uapi/asm-generic/int-ll64.h \
36 - arch/arm/include/generated/asm/bitsperlong.h \
37 - include/asm-generic/bitsperlong.h \
38 - include/uapi/asm-generic/bitsperlong.h \
39 - include/uapi/linux/posix_types.h \
40 - include/linux/stddef.h \
41 - include/uapi/linux/stddef.h \
42 - include/linux/compiler.h \
43 - $(wildcard include/config/sparse/rcu/pointer.h) \
44 - $(wildcard include/config/trace/branch/profiling.h) \
45 - $(wildcard include/config/profile/all/branches.h) \
46 - $(wildcard include/config/kasan.h) \
47 - $(wildcard include/config/enable/must/check.h) \
48 - $(wildcard include/config/enable/warn/deprecated.h) \
49 - $(wildcard include/config/kprobes.h) \
50 - include/linux/compiler-gcc.h \
51 - $(wildcard include/config/arch/supports/optimized/inlining.h) \
52 - $(wildcard include/config/optimize/inlining.h) \
53 - $(wildcard include/config/gcov/kernel.h) \
54 - $(wildcard include/config/arch/use/builtin/bswap.h) \
55 - arch/arm/include/uapi/asm/posix_types.h \
56 - include/uapi/asm-generic/posix_types.h \
57 - include/linux/poison.h \
58 - $(wildcard include/config/illegal/pointer/value.h) \
59 - include/uapi/linux/const.h \
60 - include/linux/kernel.h \
61 - $(wildcard include/config/preempt/voluntary.h) \
62 - $(wildcard include/config/debug/atomic/sleep.h) \
63 - $(wildcard include/config/mmu.h) \
64 - $(wildcard include/config/prove/locking.h) \
65 - $(wildcard include/config/panic/timeout.h) \
66 - /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
67 - include/linux/linkage.h \
68 - include/linux/stringify.h \
69 - include/linux/export.h \
70 - $(wildcard include/config/have/underscore/symbol/prefix.h) \
71 - $(wildcard include/config/modversions.h) \
72 - arch/arm/include/asm/linkage.h \
73 - include/linux/bitops.h \
74 - arch/arm/include/asm/bitops.h \
75 - include/linux/irqflags.h \
76 - $(wildcard include/config/trace/irqflags.h) \
77 - $(wildcard include/config/irqsoff/tracer.h) \
78 - $(wildcard include/config/preempt/tracer.h) \
79 - $(wildcard include/config/trace/irqflags/support.h) \
80 - include/linux/typecheck.h \
81 - arch/arm/include/asm/irqflags.h \
82 - $(wildcard include/config/cpu/v7m.h) \
83 - arch/arm/include/asm/ptrace.h \
84 - $(wildcard include/config/arm/thumb.h) \
85 - $(wildcard include/config/thumb2/kernel.h) \
86 - arch/arm/include/uapi/asm/ptrace.h \
87 - $(wildcard include/config/cpu/endian/be8.h) \
88 - arch/arm/include/asm/hwcap.h \
89 - arch/arm/include/uapi/asm/hwcap.h \
90 - include/asm-generic/irqflags.h \
91 - arch/arm/include/asm/barrier.h \
92 - $(wildcard include/config/cpu/32v6k.h) \
93 - $(wildcard include/config/cpu/xsc3.h) \
94 - $(wildcard include/config/cpu/fa526.h) \
95 - $(wildcard include/config/arm/heavy/mb.h) \
96 - $(wildcard include/config/arch/has/barriers.h) \
97 - $(wildcard include/config/arm/dma/mem/bufferable.h) \
98 - include/asm-generic/bitops/non-atomic.h \
99 - include/asm-generic/bitops/fls64.h \
100 - include/asm-generic/bitops/sched.h \
101 - include/asm-generic/bitops/hweight.h \
102 - include/asm-generic/bitops/arch_hweight.h \
103 - include/asm-generic/bitops/const_hweight.h \
104 - include/asm-generic/bitops/lock.h \
105 - include/asm-generic/bitops/le.h \
106 - arch/arm/include/uapi/asm/byteorder.h \
107 - include/linux/byteorder/little_endian.h \
108 - include/uapi/linux/byteorder/little_endian.h \
109 - include/linux/swab.h \
110 - include/uapi/linux/swab.h \
111 - arch/arm/include/asm/swab.h \
112 - arch/arm/include/uapi/asm/swab.h \
113 - include/linux/byteorder/generic.h \
114 - include/asm-generic/bitops/ext2-atomic-setbit.h \
115 - include/linux/log2.h \
116 - $(wildcard include/config/arch/has/ilog2/u32.h) \
117 - $(wildcard include/config/arch/has/ilog2/u64.h) \
118 - include/linux/printk.h \
119 - $(wildcard include/config/message/loglevel/default.h) \
120 - $(wildcard include/config/early/printk.h) \
121 - $(wildcard include/config/printk.h) \
122 - $(wildcard include/config/dynamic/debug.h) \
123 - include/linux/init.h \
124 - $(wildcard include/config/broken/rodata.h) \
125 - $(wildcard include/config/lto.h) \
126 - include/linux/kern_levels.h \
127 - include/linux/cache.h \
128 - $(wildcard include/config/arch/has/cache/line/size.h) \
129 - include/uapi/linux/kernel.h \
130 - include/uapi/linux/sysinfo.h \
131 - arch/arm/include/asm/cache.h \
132 - $(wildcard include/config/arm/l1/cache/shift.h) \
133 - $(wildcard include/config/aeabi.h) \
134 - include/linux/dynamic_debug.h \
135 - include/linux/string.h \
136 - $(wildcard include/config/binary/printf.h) \
137 - include/uapi/linux/string.h \
138 - arch/arm/include/asm/string.h \
139 - $(wildcard include/config/mach/bcm2708.h) \
140 - include/linux/errno.h \
141 - include/uapi/linux/errno.h \
142 - arch/arm/include/generated/asm/errno.h \
143 - include/uapi/asm-generic/errno.h \
144 - include/uapi/asm-generic/errno-base.h \
145 - arch/arm/include/asm/div64.h \
146 - arch/arm/include/asm/compiler.h \
147 - arch/arm/include/asm/bug.h \
148 - $(wildcard include/config/bug.h) \
149 - $(wildcard include/config/debug/bugverbose.h) \
150 - $(wildcard include/config/arm/lpae.h) \
151 - arch/arm/include/asm/opcodes.h \
152 - $(wildcard include/config/cpu/endian/be32.h) \
153 - include/asm-generic/bug.h \
154 - $(wildcard include/config/generic/bug/relative/pointers.h) \
155 - include/linux/stat.h \
156 - arch/arm/include/uapi/asm/stat.h \
157 - include/uapi/linux/stat.h \
158 - include/linux/time.h \
159 - $(wildcard include/config/arch/uses/gettimeoffset.h) \
160 - include/linux/seqlock.h \
161 - $(wildcard include/config/debug/lock/alloc.h) \
162 - include/linux/spinlock.h \
163 - $(wildcard include/config/debug/spinlock.h) \
164 - $(wildcard include/config/generic/lockbreak.h) \
165 - $(wildcard include/config/preempt.h) \
166 - include/linux/preempt.h \
167 - $(wildcard include/config/preempt/count.h) \
168 - $(wildcard include/config/debug/preempt.h) \
169 - $(wildcard include/config/preempt/notifiers.h) \
170 - arch/arm/include/generated/asm/preempt.h \
171 - include/asm-generic/preempt.h \
172 - include/linux/thread_info.h \
173 - $(wildcard include/config/compat.h) \
174 - $(wildcard include/config/debug/stack/usage.h) \
175 - include/linux/bug.h \
176 - arch/arm/include/asm/thread_info.h \
177 - $(wildcard include/config/crunch.h) \
178 - $(wildcard include/config/arm/thumbee.h) \
179 - arch/arm/include/asm/fpstate.h \
180 - $(wildcard include/config/vfpv3.h) \
181 - $(wildcard include/config/iwmmxt.h) \
182 - arch/arm/include/asm/page.h \
183 - $(wildcard include/config/cpu/copy/v4wt.h) \
184 - $(wildcard include/config/cpu/copy/v4wb.h) \
185 - $(wildcard include/config/cpu/copy/feroceon.h) \
186 - $(wildcard include/config/cpu/copy/fa.h) \
187 - $(wildcard include/config/cpu/sa1100.h) \
188 - $(wildcard include/config/cpu/xscale.h) \
189 - $(wildcard include/config/cpu/copy/v6.h) \
190 - $(wildcard include/config/kuser/helpers.h) \
191 - $(wildcard include/config/have/arch/pfn/valid.h) \
192 - arch/arm/include/asm/glue.h \
193 - arch/arm/include/asm/pgtable-2level-types.h \
194 - arch/arm/include/asm/memory.h \
195 - $(wildcard include/config/need/mach/memory/h.h) \
196 - $(wildcard include/config/page/offset.h) \
197 - $(wildcard include/config/highmem.h) \
198 - $(wildcard include/config/dram/base.h) \
199 - $(wildcard include/config/dram/size.h) \
200 - $(wildcard include/config/have/tcm.h) \
201 - $(wildcard include/config/arm/patch/phys/virt.h) \
202 - $(wildcard include/config/phys/offset.h) \
203 - $(wildcard include/config/virt/to/bus.h) \
204 - include/linux/sizes.h \
205 - arch/arm/mach-bcm2709/include/mach/memory.h \
206 - $(wildcard include/config/bcm2708/nol2cache.h) \
207 - include/asm-generic/memory_model.h \
208 - $(wildcard include/config/flatmem.h) \
209 - $(wildcard include/config/discontigmem.h) \
210 - $(wildcard include/config/sparsemem/vmemmap.h) \
211 - $(wildcard include/config/sparsemem.h) \
212 - include/asm-generic/getorder.h \
213 - include/linux/bottom_half.h \
214 - include/linux/spinlock_types.h \
215 - arch/arm/include/asm/spinlock_types.h \
216 - include/linux/lockdep.h \
217 - $(wildcard include/config/lockdep.h) \
218 - $(wildcard include/config/lock/stat.h) \
219 - include/linux/rwlock_types.h \
220 - arch/arm/include/asm/spinlock.h \
221 - include/linux/prefetch.h \
222 - arch/arm/include/asm/processor.h \
223 - $(wildcard include/config/have/hw/breakpoint.h) \
224 - $(wildcard include/config/arm/errata/754327.h) \
225 - arch/arm/include/asm/hw_breakpoint.h \
226 - arch/arm/include/asm/unified.h \
227 - $(wildcard include/config/arm/asm/unified.h) \
228 - include/linux/rwlock.h \
229 - include/linux/spinlock_api_smp.h \
230 - $(wildcard include/config/inline/spin/lock.h) \
231 - $(wildcard include/config/inline/spin/lock/bh.h) \
232 - $(wildcard include/config/inline/spin/lock/irq.h) \
233 - $(wildcard include/config/inline/spin/lock/irqsave.h) \
234 - $(wildcard include/config/inline/spin/trylock.h) \
235 - $(wildcard include/config/inline/spin/trylock/bh.h) \
236 - $(wildcard include/config/uninline/spin/unlock.h) \
237 - $(wildcard include/config/inline/spin/unlock/bh.h) \
238 - $(wildcard include/config/inline/spin/unlock/irq.h) \
239 - $(wildcard include/config/inline/spin/unlock/irqrestore.h) \
240 - include/linux/rwlock_api_smp.h \
241 - $(wildcard include/config/inline/read/lock.h) \
242 - $(wildcard include/config/inline/write/lock.h) \
243 - $(wildcard include/config/inline/read/lock/bh.h) \
244 - $(wildcard include/config/inline/write/lock/bh.h) \
245 - $(wildcard include/config/inline/read/lock/irq.h) \
246 - $(wildcard include/config/inline/write/lock/irq.h) \
247 - $(wildcard include/config/inline/read/lock/irqsave.h) \
248 - $(wildcard include/config/inline/write/lock/irqsave.h) \
249 - $(wildcard include/config/inline/read/trylock.h) \
250 - $(wildcard include/config/inline/write/trylock.h) \
251 - $(wildcard include/config/inline/read/unlock.h) \
252 - $(wildcard include/config/inline/write/unlock.h) \
253 - $(wildcard include/config/inline/read/unlock/bh.h) \
254 - $(wildcard include/config/inline/write/unlock/bh.h) \
255 - $(wildcard include/config/inline/read/unlock/irq.h) \
256 - $(wildcard include/config/inline/write/unlock/irq.h) \
257 - $(wildcard include/config/inline/read/unlock/irqrestore.h) \
258 - $(wildcard include/config/inline/write/unlock/irqrestore.h) \
259 - include/linux/atomic.h \
260 - $(wildcard include/config/generic/atomic64.h) \
261 - arch/arm/include/asm/atomic.h \
262 - arch/arm/include/asm/cmpxchg.h \
263 - $(wildcard include/config/cpu/sa110.h) \
264 - $(wildcard include/config/cpu/v6.h) \
265 - include/asm-generic/cmpxchg-local.h \
266 - include/asm-generic/atomic-long.h \
267 - include/linux/math64.h \
268 - $(wildcard include/config/arch/supports/int128.h) \
269 - include/linux/time64.h \
270 - include/uapi/linux/time.h \
271 - include/linux/uidgid.h \
272 - $(wildcard include/config/multiuser.h) \
273 - $(wildcard include/config/user/ns.h) \
274 - include/linux/highuid.h \
275 - include/linux/kmod.h \
276 - include/linux/gfp.h \
277 - $(wildcard include/config/zone/dma.h) \
278 - $(wildcard include/config/zone/dma32.h) \
279 - $(wildcard include/config/numa.h) \
280 - $(wildcard include/config/deferred/struct/page/init.h) \
281 - $(wildcard include/config/pm/sleep.h) \
282 - $(wildcard include/config/cma.h) \
283 - include/linux/mmdebug.h \
284 - $(wildcard include/config/debug/vm.h) \
285 - $(wildcard include/config/debug/virtual.h) \
286 - include/linux/mmzone.h \
287 - $(wildcard include/config/force/max/zoneorder.h) \
288 - $(wildcard include/config/memory/isolation.h) \
289 - $(wildcard include/config/memcg.h) \
290 - $(wildcard include/config/zone/device.h) \
291 - $(wildcard include/config/memory/hotplug.h) \
292 - $(wildcard include/config/compaction.h) \
293 - $(wildcard include/config/flat/node/mem/map.h) \
294 - $(wildcard include/config/page/extension.h) \
295 - $(wildcard include/config/no/bootmem.h) \
296 - $(wildcard include/config/numa/balancing.h) \
297 - $(wildcard include/config/have/memory/present.h) \
298 - $(wildcard include/config/have/memoryless/nodes.h) \
299 - $(wildcard include/config/need/node/memmap/size.h) \
300 - $(wildcard include/config/have/memblock/node/map.h) \
301 - $(wildcard include/config/need/multiple/nodes.h) \
302 - $(wildcard include/config/have/arch/early/pfn/to/nid.h) \
303 - $(wildcard include/config/sparsemem/extreme.h) \
304 - $(wildcard include/config/holes/in/zone.h) \
305 - $(wildcard include/config/arch/has/holes/memorymodel.h) \
306 - include/linux/wait.h \
307 - arch/arm/include/generated/asm/current.h \
308 - include/asm-generic/current.h \
309 - include/uapi/linux/wait.h \
310 - include/linux/threads.h \
311 - $(wildcard include/config/nr/cpus.h) \
312 - $(wildcard include/config/base/small.h) \
313 - include/linux/numa.h \
314 - $(wildcard include/config/nodes/shift.h) \
315 - include/linux/nodemask.h \
316 - $(wildcard include/config/movable/node.h) \
317 - include/linux/bitmap.h \
318 - include/linux/pageblock-flags.h \
319 - $(wildcard include/config/hugetlb/page.h) \
320 - $(wildcard include/config/hugetlb/page/size/variable.h) \
321 - include/linux/page-flags-layout.h \
322 - include/generated/bounds.h \
323 - include/linux/memory_hotplug.h \
324 - $(wildcard include/config/memory/hotremove.h) \
325 - $(wildcard include/config/have/arch/nodedata/extension.h) \
326 - $(wildcard include/config/have/bootmem/info/node.h) \
327 - include/linux/notifier.h \
328 - include/linux/mutex.h \
329 - $(wildcard include/config/debug/mutexes.h) \
330 - $(wildcard include/config/mutex/spin/on/owner.h) \
331 - include/linux/osq_lock.h \
332 - include/linux/rwsem.h \
333 - $(wildcard include/config/rwsem/spin/on/owner.h) \
334 - $(wildcard include/config/rwsem/generic/spinlock.h) \
335 - arch/arm/include/generated/asm/rwsem.h \
336 - include/asm-generic/rwsem.h \
337 - include/linux/srcu.h \
338 - include/linux/rcupdate.h \
339 - $(wildcard include/config/tiny/rcu.h) \
340 - $(wildcard include/config/tree/rcu.h) \
341 - $(wildcard include/config/preempt/rcu.h) \
342 - $(wildcard include/config/rcu/trace.h) \
343 - $(wildcard include/config/rcu/stall/common.h) \
344 - $(wildcard include/config/no/hz/full.h) \
345 - $(wildcard include/config/rcu/nocb/cpu.h) \
346 - $(wildcard include/config/tasks/rcu.h) \
347 - $(wildcard include/config/debug/objects/rcu/head.h) \
348 - $(wildcard include/config/hotplug/cpu.h) \
349 - $(wildcard include/config/prove/rcu.h) \
350 - $(wildcard include/config/rcu/boost.h) \
351 - $(wildcard include/config/rcu/nocb/cpu/all.h) \
352 - $(wildcard include/config/no/hz/full/sysidle.h) \
353 - include/linux/cpumask.h \
354 - $(wildcard include/config/cpumask/offstack.h) \
355 - $(wildcard include/config/debug/per/cpu/maps.h) \
356 - include/linux/completion.h \
357 - include/linux/debugobjects.h \
358 - $(wildcard include/config/debug/objects.h) \
359 - $(wildcard include/config/debug/objects/free.h) \
360 - include/linux/ktime.h \
361 - include/linux/jiffies.h \
362 - include/linux/timex.h \
363 - include/uapi/linux/timex.h \
364 - include/uapi/linux/param.h \
365 - arch/arm/include/generated/asm/param.h \
366 - include/asm-generic/param.h \
367 - $(wildcard include/config/hz.h) \
368 - include/uapi/asm-generic/param.h \
369 - arch/arm/include/asm/timex.h \
370 - include/generated/timeconst.h \
371 - include/linux/timekeeping.h \
372 - include/linux/rcutree.h \
373 - include/linux/workqueue.h \
374 - $(wildcard include/config/debug/objects/work.h) \
375 - $(wildcard include/config/freezer.h) \
376 - include/linux/timer.h \
377 - $(wildcard include/config/timer/stats.h) \
378 - $(wildcard include/config/debug/objects/timers.h) \
379 - $(wildcard include/config/no/hz/common.h) \
380 - include/linux/sysctl.h \
381 - $(wildcard include/config/sysctl.h) \
382 - include/linux/rbtree.h \
383 - include/uapi/linux/sysctl.h \
384 - include/linux/topology.h \
385 - $(wildcard include/config/use/percpu/numa/node/id.h) \
386 - $(wildcard include/config/sched/smt.h) \
387 - include/linux/smp.h \
388 - $(wildcard include/config/up/late/init.h) \
389 - include/linux/llist.h \
390 - $(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
391 - arch/arm/include/asm/smp.h \
392 - include/linux/percpu.h \
393 - $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
394 - $(wildcard include/config/need/per/cpu/page/first/chunk.h) \
395 - $(wildcard include/config/have/setup/per/cpu/area.h) \
396 - include/linux/pfn.h \
397 - arch/arm/include/asm/percpu.h \
398 - include/asm-generic/percpu.h \
399 - include/linux/percpu-defs.h \
400 - $(wildcard include/config/debug/force/weak/per/cpu.h) \
401 - arch/arm/include/asm/topology.h \
402 - $(wildcard include/config/arm/cpu/topology.h) \
403 - include/asm-generic/topology.h \
404 - include/linux/elf.h \
405 - arch/arm/include/asm/elf.h \
406 - $(wildcard include/config/vdso.h) \
407 - arch/arm/include/asm/auxvec.h \
408 - arch/arm/include/uapi/asm/auxvec.h \
409 - arch/arm/include/asm/vdso_datapage.h \
410 - arch/arm/include/asm/user.h \
411 - include/uapi/linux/elf.h \
412 - include/uapi/linux/elf-em.h \
413 - include/linux/kobject.h \
414 - $(wildcard include/config/uevent/helper.h) \
415 - $(wildcard include/config/debug/kobject/release.h) \
416 - include/linux/sysfs.h \
417 - include/linux/kernfs.h \
418 - $(wildcard include/config/kernfs.h) \
419 - include/linux/err.h \
420 - include/linux/idr.h \
421 - include/linux/kobject_ns.h \
422 - include/linux/kref.h \
423 - include/linux/moduleparam.h \
424 - $(wildcard include/config/alpha.h) \
425 - $(wildcard include/config/ia64.h) \
426 - $(wildcard include/config/ppc64.h) \
427 - include/linux/jump_label.h \
428 - $(wildcard include/config/jump/label.h) \
429 - arch/arm/include/asm/jump_label.h \
430 - include/linux/rbtree_latch.h \
431 - arch/arm/include/asm/module.h \
432 - $(wildcard include/config/arm/unwind.h) \
433 - $(wildcard include/config/arm/module/plts.h) \
434 - include/asm-generic/module.h \
435 - $(wildcard include/config/have/mod/arch/specific.h) \
436 - $(wildcard include/config/modules/use/elf/rel.h) \
437 - $(wildcard include/config/modules/use/elf/rela.h) \
438 - include/linux/vermagic.h \
439 - include/generated/utsrelease.h \
440 -
441 -/root/hooking/dhooker/hooker.mod.o: $(deps_/root/hooking/dhooker/hooker.mod.o)
442 -
443 -$(deps_/root/hooking/dhooker/hooker.mod.o):
1 -cmd_/root/hooking/dhooker/hooker.o := arm-linux-gnueabihf-gcc -Wp,-MD,/root/hooking/dhooker/.hooker.o.d -nostdinc -isystem /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -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(hooker)" -D"KBUILD_MODNAME=KBUILD_STR(hooker)" -c -o /root/hooking/dhooker/.tmp_hooker.o /root/hooking/dhooker/hooker.c
2 -
3 -source_/root/hooking/dhooker/hooker.o := /root/hooking/dhooker/hooker.c
4 -
5 -deps_/root/hooking/dhooker/hooker.o := \
6 - include/linux/kernel.h \
7 - $(wildcard include/config/lbdaf.h) \
8 - $(wildcard include/config/preempt/voluntary.h) \
9 - $(wildcard include/config/debug/atomic/sleep.h) \
10 - $(wildcard include/config/mmu.h) \
11 - $(wildcard include/config/prove/locking.h) \
12 - $(wildcard include/config/panic/timeout.h) \
13 - $(wildcard include/config/tracing.h) \
14 - $(wildcard include/config/ftrace/mcount/record.h) \
15 - /usr/lib/gcc-cross/arm-linux-gnueabihf/5/include/stdarg.h \
16 - include/linux/linkage.h \
17 - include/linux/compiler.h \
18 - $(wildcard include/config/sparse/rcu/pointer.h) \
19 - $(wildcard include/config/trace/branch/profiling.h) \
20 - $(wildcard include/config/profile/all/branches.h) \
21 - $(wildcard include/config/kasan.h) \
22 - $(wildcard include/config/enable/must/check.h) \
23 - $(wildcard include/config/enable/warn/deprecated.h) \
24 - $(wildcard include/config/kprobes.h) \
25 - include/linux/compiler-gcc.h \
26 - $(wildcard include/config/arch/supports/optimized/inlining.h) \
27 - $(wildcard include/config/optimize/inlining.h) \
28 - $(wildcard include/config/gcov/kernel.h) \
29 - $(wildcard include/config/arch/use/builtin/bswap.h) \
30 - include/uapi/linux/types.h \
31 - arch/arm/include/asm/types.h \
32 - include/asm-generic/int-ll64.h \
33 - include/uapi/asm-generic/int-ll64.h \
34 - arch/arm/include/generated/asm/bitsperlong.h \
35 - include/asm-generic/bitsperlong.h \
36 - $(wildcard include/config/64bit.h) \
37 - include/uapi/asm-generic/bitsperlong.h \
38 - include/uapi/linux/posix_types.h \
39 - include/linux/stddef.h \
40 - include/uapi/linux/stddef.h \
41 - arch/arm/include/uapi/asm/posix_types.h \
42 - include/uapi/asm-generic/posix_types.h \
43 - include/linux/stringify.h \
44 - include/linux/export.h \
45 - $(wildcard include/config/have/underscore/symbol/prefix.h) \
46 - $(wildcard include/config/modules.h) \
47 - $(wildcard include/config/modversions.h) \
48 - $(wildcard include/config/unused/symbols.h) \
49 - arch/arm/include/asm/linkage.h \
50 - include/linux/types.h \
51 - $(wildcard include/config/have/uid16.h) \
52 - $(wildcard include/config/uid16.h) \
53 - $(wildcard include/config/arch/dma/addr/t/64bit.h) \
54 - $(wildcard include/config/phys/addr/t/64bit.h) \
55 - include/linux/bitops.h \
56 - arch/arm/include/asm/bitops.h \
57 - $(wildcard include/config/smp.h) \
58 - include/linux/irqflags.h \
59 - $(wildcard include/config/trace/irqflags.h) \
60 - $(wildcard include/config/irqsoff/tracer.h) \
61 - $(wildcard include/config/preempt/tracer.h) \
62 - $(wildcard include/config/trace/irqflags/support.h) \
63 - include/linux/typecheck.h \
64 - arch/arm/include/asm/irqflags.h \
65 - $(wildcard include/config/cpu/v7m.h) \
66 - arch/arm/include/asm/ptrace.h \
67 - $(wildcard include/config/arm/thumb.h) \
68 - $(wildcard include/config/thumb2/kernel.h) \
69 - arch/arm/include/uapi/asm/ptrace.h \
70 - $(wildcard include/config/cpu/endian/be8.h) \
71 - arch/arm/include/asm/hwcap.h \
72 - arch/arm/include/uapi/asm/hwcap.h \
73 - include/asm-generic/irqflags.h \
74 - arch/arm/include/asm/barrier.h \
75 - $(wildcard include/config/cpu/32v6k.h) \
76 - $(wildcard include/config/cpu/xsc3.h) \
77 - $(wildcard include/config/cpu/fa526.h) \
78 - $(wildcard include/config/arm/heavy/mb.h) \
79 - $(wildcard include/config/arch/has/barriers.h) \
80 - $(wildcard include/config/arm/dma/mem/bufferable.h) \
81 - include/asm-generic/bitops/non-atomic.h \
82 - include/asm-generic/bitops/fls64.h \
83 - include/asm-generic/bitops/sched.h \
84 - include/asm-generic/bitops/hweight.h \
85 - include/asm-generic/bitops/arch_hweight.h \
86 - include/asm-generic/bitops/const_hweight.h \
87 - include/asm-generic/bitops/lock.h \
88 - include/asm-generic/bitops/le.h \
89 - arch/arm/include/uapi/asm/byteorder.h \
90 - include/linux/byteorder/little_endian.h \
91 - include/uapi/linux/byteorder/little_endian.h \
92 - include/linux/swab.h \
93 - include/uapi/linux/swab.h \
94 - arch/arm/include/asm/swab.h \
95 - arch/arm/include/uapi/asm/swab.h \
96 - include/linux/byteorder/generic.h \
97 - include/asm-generic/bitops/ext2-atomic-setbit.h \
98 - include/linux/log2.h \
99 - $(wildcard include/config/arch/has/ilog2/u32.h) \
100 - $(wildcard include/config/arch/has/ilog2/u64.h) \
101 - include/linux/printk.h \
102 - $(wildcard include/config/message/loglevel/default.h) \
103 - $(wildcard include/config/early/printk.h) \
104 - $(wildcard include/config/printk.h) \
105 - $(wildcard include/config/dynamic/debug.h) \
106 - include/linux/init.h \
107 - $(wildcard include/config/broken/rodata.h) \
108 - $(wildcard include/config/lto.h) \
109 - include/linux/kern_levels.h \
110 - include/linux/cache.h \
111 - $(wildcard include/config/arch/has/cache/line/size.h) \
112 - include/uapi/linux/kernel.h \
113 - include/uapi/linux/sysinfo.h \
114 - arch/arm/include/asm/cache.h \
115 - $(wildcard include/config/arm/l1/cache/shift.h) \
116 - $(wildcard include/config/aeabi.h) \
117 - include/linux/dynamic_debug.h \
118 - include/linux/string.h \
119 - $(wildcard include/config/binary/printf.h) \
120 - include/uapi/linux/string.h \
121 - arch/arm/include/asm/string.h \
122 - $(wildcard include/config/mach/bcm2708.h) \
123 - include/linux/errno.h \
124 - include/uapi/linux/errno.h \
125 - arch/arm/include/generated/asm/errno.h \
126 - include/uapi/asm-generic/errno.h \
127 - include/uapi/asm-generic/errno-base.h \
128 - arch/arm/include/asm/div64.h \
129 - arch/arm/include/asm/compiler.h \
130 - arch/arm/include/asm/bug.h \
131 - $(wildcard include/config/bug.h) \
132 - $(wildcard include/config/debug/bugverbose.h) \
133 - $(wildcard include/config/arm/lpae.h) \
134 - arch/arm/include/asm/opcodes.h \
135 - $(wildcard include/config/cpu/endian/be32.h) \
136 - include/asm-generic/bug.h \
137 - $(wildcard include/config/generic/bug.h) \
138 - $(wildcard include/config/generic/bug/relative/pointers.h) \
139 - include/linux/module.h \
140 - $(wildcard include/config/sysfs.h) \
141 - $(wildcard include/config/module/sig.h) \
142 - $(wildcard include/config/modules/tree/lookup.h) \
143 - $(wildcard include/config/kallsyms.h) \
144 - $(wildcard include/config/tracepoints.h) \
145 - $(wildcard include/config/event/tracing.h) \
146 - $(wildcard include/config/livepatch.h) \
147 - $(wildcard include/config/module/unload.h) \
148 - $(wildcard include/config/constructors.h) \
149 - $(wildcard include/config/debug/set/module/ronx.h) \
150 - include/linux/list.h \
151 - $(wildcard include/config/debug/list.h) \
152 - include/linux/poison.h \
153 - $(wildcard include/config/illegal/pointer/value.h) \
154 - include/uapi/linux/const.h \
155 - include/linux/stat.h \
156 - arch/arm/include/uapi/asm/stat.h \
157 - include/uapi/linux/stat.h \
158 - include/linux/time.h \
159 - $(wildcard include/config/arch/uses/gettimeoffset.h) \
160 - include/linux/seqlock.h \
161 - $(wildcard include/config/debug/lock/alloc.h) \
162 - include/linux/spinlock.h \
163 - $(wildcard include/config/debug/spinlock.h) \
164 - $(wildcard include/config/generic/lockbreak.h) \
165 - $(wildcard include/config/preempt.h) \
166 - include/linux/preempt.h \
167 - $(wildcard include/config/preempt/count.h) \
168 - $(wildcard include/config/debug/preempt.h) \
169 - $(wildcard include/config/preempt/notifiers.h) \
170 - arch/arm/include/generated/asm/preempt.h \
171 - include/asm-generic/preempt.h \
172 - include/linux/thread_info.h \
173 - $(wildcard include/config/compat.h) \
174 - $(wildcard include/config/debug/stack/usage.h) \
175 - include/linux/bug.h \
176 - arch/arm/include/asm/thread_info.h \
177 - $(wildcard include/config/crunch.h) \
178 - $(wildcard include/config/arm/thumbee.h) \
179 - arch/arm/include/asm/fpstate.h \
180 - $(wildcard include/config/vfpv3.h) \
181 - $(wildcard include/config/iwmmxt.h) \
182 - arch/arm/include/asm/page.h \
183 - $(wildcard include/config/cpu/copy/v4wt.h) \
184 - $(wildcard include/config/cpu/copy/v4wb.h) \
185 - $(wildcard include/config/cpu/copy/feroceon.h) \
186 - $(wildcard include/config/cpu/copy/fa.h) \
187 - $(wildcard include/config/cpu/sa1100.h) \
188 - $(wildcard include/config/cpu/xscale.h) \
189 - $(wildcard include/config/cpu/copy/v6.h) \
190 - $(wildcard include/config/kuser/helpers.h) \
191 - $(wildcard include/config/have/arch/pfn/valid.h) \
192 - arch/arm/include/asm/glue.h \
193 - arch/arm/include/asm/pgtable-2level-types.h \
194 - arch/arm/include/asm/memory.h \
195 - $(wildcard include/config/need/mach/memory/h.h) \
196 - $(wildcard include/config/page/offset.h) \
197 - $(wildcard include/config/highmem.h) \
198 - $(wildcard include/config/dram/base.h) \
199 - $(wildcard include/config/dram/size.h) \
200 - $(wildcard include/config/have/tcm.h) \
201 - $(wildcard include/config/arm/patch/phys/virt.h) \
202 - $(wildcard include/config/phys/offset.h) \
203 - $(wildcard include/config/virt/to/bus.h) \
204 - include/linux/sizes.h \
205 - arch/arm/mach-bcm2709/include/mach/memory.h \
206 - $(wildcard include/config/bcm2708/nol2cache.h) \
207 - include/asm-generic/memory_model.h \
208 - $(wildcard include/config/flatmem.h) \
209 - $(wildcard include/config/discontigmem.h) \
210 - $(wildcard include/config/sparsemem/vmemmap.h) \
211 - $(wildcard include/config/sparsemem.h) \
212 - include/asm-generic/getorder.h \
213 - include/linux/bottom_half.h \
214 - include/linux/spinlock_types.h \
215 - arch/arm/include/asm/spinlock_types.h \
216 - include/linux/lockdep.h \
217 - $(wildcard include/config/lockdep.h) \
218 - $(wildcard include/config/lock/stat.h) \
219 - include/linux/rwlock_types.h \
220 - arch/arm/include/asm/spinlock.h \
221 - include/linux/prefetch.h \
222 - arch/arm/include/asm/processor.h \
223 - $(wildcard include/config/have/hw/breakpoint.h) \
224 - $(wildcard include/config/arm/errata/754327.h) \
225 - arch/arm/include/asm/hw_breakpoint.h \
226 - arch/arm/include/asm/unified.h \
227 - $(wildcard include/config/arm/asm/unified.h) \
228 - include/linux/rwlock.h \
229 - include/linux/spinlock_api_smp.h \
230 - $(wildcard include/config/inline/spin/lock.h) \
231 - $(wildcard include/config/inline/spin/lock/bh.h) \
232 - $(wildcard include/config/inline/spin/lock/irq.h) \
233 - $(wildcard include/config/inline/spin/lock/irqsave.h) \
234 - $(wildcard include/config/inline/spin/trylock.h) \
235 - $(wildcard include/config/inline/spin/trylock/bh.h) \
236 - $(wildcard include/config/uninline/spin/unlock.h) \
237 - $(wildcard include/config/inline/spin/unlock/bh.h) \
238 - $(wildcard include/config/inline/spin/unlock/irq.h) \
239 - $(wildcard include/config/inline/spin/unlock/irqrestore.h) \
240 - include/linux/rwlock_api_smp.h \
241 - $(wildcard include/config/inline/read/lock.h) \
242 - $(wildcard include/config/inline/write/lock.h) \
243 - $(wildcard include/config/inline/read/lock/bh.h) \
244 - $(wildcard include/config/inline/write/lock/bh.h) \
245 - $(wildcard include/config/inline/read/lock/irq.h) \
246 - $(wildcard include/config/inline/write/lock/irq.h) \
247 - $(wildcard include/config/inline/read/lock/irqsave.h) \
248 - $(wildcard include/config/inline/write/lock/irqsave.h) \
249 - $(wildcard include/config/inline/read/trylock.h) \
250 - $(wildcard include/config/inline/write/trylock.h) \
251 - $(wildcard include/config/inline/read/unlock.h) \
252 - $(wildcard include/config/inline/write/unlock.h) \
253 - $(wildcard include/config/inline/read/unlock/bh.h) \
254 - $(wildcard include/config/inline/write/unlock/bh.h) \
255 - $(wildcard include/config/inline/read/unlock/irq.h) \
256 - $(wildcard include/config/inline/write/unlock/irq.h) \
257 - $(wildcard include/config/inline/read/unlock/irqrestore.h) \
258 - $(wildcard include/config/inline/write/unlock/irqrestore.h) \
259 - include/linux/atomic.h \
260 - $(wildcard include/config/generic/atomic64.h) \
261 - arch/arm/include/asm/atomic.h \
262 - arch/arm/include/asm/cmpxchg.h \
263 - $(wildcard include/config/cpu/sa110.h) \
264 - $(wildcard include/config/cpu/v6.h) \
265 - include/asm-generic/cmpxchg-local.h \
266 - include/asm-generic/atomic-long.h \
267 - include/linux/math64.h \
268 - $(wildcard include/config/arch/supports/int128.h) \
269 - include/linux/time64.h \
270 - include/uapi/linux/time.h \
271 - include/linux/uidgid.h \
272 - $(wildcard include/config/multiuser.h) \
273 - $(wildcard include/config/user/ns.h) \
274 - include/linux/highuid.h \
275 - include/linux/kmod.h \
276 - include/linux/gfp.h \
277 - $(wildcard include/config/zone/dma.h) \
278 - $(wildcard include/config/zone/dma32.h) \
279 - $(wildcard include/config/numa.h) \
280 - $(wildcard include/config/deferred/struct/page/init.h) \
281 - $(wildcard include/config/pm/sleep.h) \
282 - $(wildcard include/config/cma.h) \
283 - include/linux/mmdebug.h \
284 - $(wildcard include/config/debug/vm.h) \
285 - $(wildcard include/config/debug/virtual.h) \
286 - include/linux/mmzone.h \
287 - $(wildcard include/config/force/max/zoneorder.h) \
288 - $(wildcard include/config/memory/isolation.h) \
289 - $(wildcard include/config/memcg.h) \
290 - $(wildcard include/config/zone/device.h) \
291 - $(wildcard include/config/memory/hotplug.h) \
292 - $(wildcard include/config/compaction.h) \
293 - $(wildcard include/config/flat/node/mem/map.h) \
294 - $(wildcard include/config/page/extension.h) \
295 - $(wildcard include/config/no/bootmem.h) \
296 - $(wildcard include/config/numa/balancing.h) \
297 - $(wildcard include/config/have/memory/present.h) \
298 - $(wildcard include/config/have/memoryless/nodes.h) \
299 - $(wildcard include/config/need/node/memmap/size.h) \
300 - $(wildcard include/config/have/memblock/node/map.h) \
301 - $(wildcard include/config/need/multiple/nodes.h) \
302 - $(wildcard include/config/have/arch/early/pfn/to/nid.h) \
303 - $(wildcard include/config/sparsemem/extreme.h) \
304 - $(wildcard include/config/holes/in/zone.h) \
305 - $(wildcard include/config/arch/has/holes/memorymodel.h) \
306 - include/linux/wait.h \
307 - arch/arm/include/generated/asm/current.h \
308 - include/asm-generic/current.h \
309 - include/uapi/linux/wait.h \
310 - include/linux/threads.h \
311 - $(wildcard include/config/nr/cpus.h) \
312 - $(wildcard include/config/base/small.h) \
313 - include/linux/numa.h \
314 - $(wildcard include/config/nodes/shift.h) \
315 - include/linux/nodemask.h \
316 - $(wildcard include/config/movable/node.h) \
317 - include/linux/bitmap.h \
318 - include/linux/pageblock-flags.h \
319 - $(wildcard include/config/hugetlb/page.h) \
320 - $(wildcard include/config/hugetlb/page/size/variable.h) \
321 - include/linux/page-flags-layout.h \
322 - include/generated/bounds.h \
323 - include/linux/memory_hotplug.h \
324 - $(wildcard include/config/memory/hotremove.h) \
325 - $(wildcard include/config/have/arch/nodedata/extension.h) \
326 - $(wildcard include/config/have/bootmem/info/node.h) \
327 - include/linux/notifier.h \
328 - include/linux/mutex.h \
329 - $(wildcard include/config/debug/mutexes.h) \
330 - $(wildcard include/config/mutex/spin/on/owner.h) \
331 - include/linux/osq_lock.h \
332 - include/linux/rwsem.h \
333 - $(wildcard include/config/rwsem/spin/on/owner.h) \
334 - $(wildcard include/config/rwsem/generic/spinlock.h) \
335 - arch/arm/include/generated/asm/rwsem.h \
336 - include/asm-generic/rwsem.h \
337 - include/linux/srcu.h \
338 - include/linux/rcupdate.h \
339 - $(wildcard include/config/tiny/rcu.h) \
340 - $(wildcard include/config/tree/rcu.h) \
341 - $(wildcard include/config/preempt/rcu.h) \
342 - $(wildcard include/config/rcu/trace.h) \
343 - $(wildcard include/config/rcu/stall/common.h) \
344 - $(wildcard include/config/no/hz/full.h) \
345 - $(wildcard include/config/rcu/nocb/cpu.h) \
346 - $(wildcard include/config/tasks/rcu.h) \
347 - $(wildcard include/config/debug/objects/rcu/head.h) \
348 - $(wildcard include/config/hotplug/cpu.h) \
349 - $(wildcard include/config/prove/rcu.h) \
350 - $(wildcard include/config/rcu/boost.h) \
351 - $(wildcard include/config/rcu/nocb/cpu/all.h) \
352 - $(wildcard include/config/no/hz/full/sysidle.h) \
353 - include/linux/cpumask.h \
354 - $(wildcard include/config/cpumask/offstack.h) \
355 - $(wildcard include/config/debug/per/cpu/maps.h) \
356 - include/linux/completion.h \
357 - include/linux/debugobjects.h \
358 - $(wildcard include/config/debug/objects.h) \
359 - $(wildcard include/config/debug/objects/free.h) \
360 - include/linux/ktime.h \
361 - include/linux/jiffies.h \
362 - include/linux/timex.h \
363 - include/uapi/linux/timex.h \
364 - include/uapi/linux/param.h \
365 - arch/arm/include/generated/asm/param.h \
366 - include/asm-generic/param.h \
367 - $(wildcard include/config/hz.h) \
368 - include/uapi/asm-generic/param.h \
369 - arch/arm/include/asm/timex.h \
370 - include/generated/timeconst.h \
371 - include/linux/timekeeping.h \
372 - include/linux/rcutree.h \
373 - include/linux/workqueue.h \
374 - $(wildcard include/config/debug/objects/work.h) \
375 - $(wildcard include/config/freezer.h) \
376 - include/linux/timer.h \
377 - $(wildcard include/config/timer/stats.h) \
378 - $(wildcard include/config/debug/objects/timers.h) \
379 - $(wildcard include/config/no/hz/common.h) \
380 - include/linux/sysctl.h \
381 - $(wildcard include/config/sysctl.h) \
382 - include/linux/rbtree.h \
383 - include/uapi/linux/sysctl.h \
384 - include/linux/topology.h \
385 - $(wildcard include/config/use/percpu/numa/node/id.h) \
386 - $(wildcard include/config/sched/smt.h) \
387 - include/linux/smp.h \
388 - $(wildcard include/config/up/late/init.h) \
389 - include/linux/llist.h \
390 - $(wildcard include/config/arch/have/nmi/safe/cmpxchg.h) \
391 - arch/arm/include/asm/smp.h \
392 - include/linux/percpu.h \
393 - $(wildcard include/config/need/per/cpu/embed/first/chunk.h) \
394 - $(wildcard include/config/need/per/cpu/page/first/chunk.h) \
395 - $(wildcard include/config/have/setup/per/cpu/area.h) \
396 - include/linux/pfn.h \
397 - arch/arm/include/asm/percpu.h \
398 - include/asm-generic/percpu.h \
399 - include/linux/percpu-defs.h \
400 - $(wildcard include/config/debug/force/weak/per/cpu.h) \
401 - arch/arm/include/asm/topology.h \
402 - $(wildcard include/config/arm/cpu/topology.h) \
403 - include/asm-generic/topology.h \
404 - include/linux/elf.h \
405 - arch/arm/include/asm/elf.h \
406 - $(wildcard include/config/vdso.h) \
407 - arch/arm/include/asm/auxvec.h \
408 - arch/arm/include/uapi/asm/auxvec.h \
409 - arch/arm/include/asm/vdso_datapage.h \
410 - arch/arm/include/asm/user.h \
411 - include/uapi/linux/elf.h \
412 - include/uapi/linux/elf-em.h \
413 - include/linux/kobject.h \
414 - $(wildcard include/config/uevent/helper.h) \
415 - $(wildcard include/config/debug/kobject/release.h) \
416 - include/linux/sysfs.h \
417 - include/linux/kernfs.h \
418 - $(wildcard include/config/kernfs.h) \
419 - include/linux/err.h \
420 - include/linux/idr.h \
421 - include/linux/kobject_ns.h \
422 - include/linux/kref.h \
423 - include/linux/moduleparam.h \
424 - $(wildcard include/config/alpha.h) \
425 - $(wildcard include/config/ia64.h) \
426 - $(wildcard include/config/ppc64.h) \
427 - include/linux/jump_label.h \
428 - $(wildcard include/config/jump/label.h) \
429 - arch/arm/include/asm/jump_label.h \
430 - include/linux/rbtree_latch.h \
431 - arch/arm/include/asm/module.h \
432 - $(wildcard include/config/arm/unwind.h) \
433 - $(wildcard include/config/arm/module/plts.h) \
434 - include/asm-generic/module.h \
435 - $(wildcard include/config/have/mod/arch/specific.h) \
436 - $(wildcard include/config/modules/use/elf/rel.h) \
437 - $(wildcard include/config/modules/use/elf/rela.h) \
438 - include/linux/syscalls.h \
439 - $(wildcard include/config/ftrace/syscalls.h) \
440 - $(wildcard include/config/old/sigsuspend.h) \
441 - $(wildcard include/config/old/sigsuspend3.h) \
442 - $(wildcard include/config/old/sigaction.h) \
443 - $(wildcard include/config/odd/rt/sigaction.h) \
444 - $(wildcard include/config/clone/backwards.h) \
445 - $(wildcard include/config/clone/backwards3.h) \
446 - include/uapi/linux/aio_abi.h \
447 - include/linux/capability.h \
448 - include/uapi/linux/capability.h \
449 - include/linux/signal.h \
450 - $(wildcard include/config/proc/fs.h) \
451 - include/uapi/linux/signal.h \
452 - arch/arm/include/asm/signal.h \
453 - arch/arm/include/uapi/asm/signal.h \
454 - include/uapi/asm-generic/signal-defs.h \
455 - arch/arm/include/uapi/asm/sigcontext.h \
456 - arch/arm/include/generated/asm/siginfo.h \
457 - include/asm-generic/siginfo.h \
458 - include/uapi/asm-generic/siginfo.h \
459 - include/linux/sem.h \
460 - $(wildcard include/config/sysvipc.h) \
461 - include/uapi/linux/sem.h \
462 - include/linux/ipc.h \
463 - include/uapi/linux/ipc.h \
464 - arch/arm/include/generated/asm/ipcbuf.h \
465 - include/uapi/asm-generic/ipcbuf.h \
466 - arch/arm/include/generated/asm/sembuf.h \
467 - include/uapi/asm-generic/sembuf.h \
468 - include/uapi/linux/unistd.h \
469 - arch/arm/include/asm/unistd.h \
470 - $(wildcard include/config/oabi/compat.h) \
471 - arch/arm/include/uapi/asm/unistd.h \
472 - include/linux/quota.h \
473 - $(wildcard include/config/quota/netlink/interface.h) \
474 - include/linux/percpu_counter.h \
475 - include/uapi/linux/dqblk_xfs.h \
476 - include/linux/dqblk_v1.h \
477 - include/linux/dqblk_v2.h \
478 - include/linux/dqblk_qtree.h \
479 - include/linux/projid.h \
480 - include/uapi/linux/quota.h \
481 - include/linux/key.h \
482 - $(wildcard include/config/keys.h) \
483 - include/linux/assoc_array.h \
484 - $(wildcard include/config/associative/array.h) \
485 - include/trace/syscall.h \
486 - $(wildcard include/config/have/syscall/tracepoints.h) \
487 - include/linux/tracepoint.h \
488 - $(wildcard include/config/tracepoint.h) \
489 - include/linux/static_key.h \
490 - include/linux/trace_events.h \
491 - $(wildcard include/config/perf/events.h) \
492 - $(wildcard include/config/bpf/events.h) \
493 - include/linux/ring_buffer.h \
494 - $(wildcard include/config/ring/buffer/allow/swap.h) \
495 - include/linux/kmemcheck.h \
496 - $(wildcard include/config/kmemcheck.h) \
497 - include/linux/mm_types.h \
498 - $(wildcard include/config/split/ptlock/cpus.h) \
499 - $(wildcard include/config/arch/enable/split/pmd/ptlock.h) \
500 - $(wildcard include/config/have/cmpxchg/double.h) \
501 - $(wildcard include/config/have/aligned/struct/page.h) \
502 - $(wildcard include/config/transparent/hugepage.h) \
503 - $(wildcard include/config/userfaultfd.h) \
504 - $(wildcard include/config/pgtable/levels.h) \
505 - $(wildcard include/config/aio.h) \
506 - $(wildcard include/config/mmu/notifier.h) \
507 - $(wildcard include/config/x86/intel/mpx.h) \
508 - include/linux/auxvec.h \
509 - include/uapi/linux/auxvec.h \
510 - include/linux/uprobes.h \
511 - $(wildcard include/config/uprobes.h) \
512 - arch/arm/include/asm/mmu.h \
513 - $(wildcard include/config/cpu/has/asid.h) \
514 - include/linux/mm.h \
515 - $(wildcard include/config/mem/soft/dirty.h) \
516 - $(wildcard include/config/x86.h) \
517 - $(wildcard include/config/ppc.h) \
518 - $(wildcard include/config/parisc.h) \
519 - $(wildcard include/config/metag.h) \
520 - $(wildcard include/config/stack/growsup.h) \
521 - $(wildcard include/config/shmem.h) \
522 - $(wildcard include/config/debug/vm/rb.h) \
523 - $(wildcard include/config/debug/pagealloc.h) \
524 - $(wildcard include/config/hibernation.h) \
525 - $(wildcard include/config/hugetlbfs.h) \
526 - include/linux/debug_locks.h \
527 - $(wildcard include/config/debug/locking/api/selftests.h) \
528 - include/linux/range.h \
529 - include/linux/bit_spinlock.h \
530 - include/linux/shrinker.h \
531 - include/linux/resource.h \
532 - include/uapi/linux/resource.h \
533 - arch/arm/include/generated/asm/resource.h \
534 - include/asm-generic/resource.h \
535 - include/uapi/asm-generic/resource.h \
536 - include/linux/page_ext.h \
537 - $(wildcard include/config/idle/page/tracking.h) \
538 - $(wildcard include/config/page/owner.h) \
539 - include/linux/stacktrace.h \
540 - $(wildcard include/config/stacktrace.h) \
541 - $(wildcard include/config/user/stacktrace/support.h) \
542 - arch/arm/include/asm/pgtable.h \
543 - $(wildcard include/config/highpte.h) \
544 - arch/arm/include/asm/proc-fns.h \
545 - arch/arm/include/asm/glue-proc.h \
546 - $(wildcard include/config/cpu/arm7tdmi.h) \
547 - $(wildcard include/config/cpu/arm720t.h) \
548 - $(wildcard include/config/cpu/arm740t.h) \
549 - $(wildcard include/config/cpu/arm9tdmi.h) \
550 - $(wildcard include/config/cpu/arm920t.h) \
551 - $(wildcard include/config/cpu/arm922t.h) \
552 - $(wildcard include/config/cpu/arm925t.h) \
553 - $(wildcard include/config/cpu/arm926t.h) \
554 - $(wildcard include/config/cpu/arm940t.h) \
555 - $(wildcard include/config/cpu/arm946e.h) \
556 - $(wildcard include/config/cpu/arm1020.h) \
557 - $(wildcard include/config/cpu/arm1020e.h) \
558 - $(wildcard include/config/cpu/arm1022.h) \
559 - $(wildcard include/config/cpu/arm1026.h) \
560 - $(wildcard include/config/cpu/mohawk.h) \
561 - $(wildcard include/config/cpu/feroceon.h) \
562 - $(wildcard include/config/cpu/v6k.h) \
563 - $(wildcard include/config/cpu/pj4b.h) \
564 - $(wildcard include/config/cpu/v7.h) \
565 - include/asm-generic/pgtable-nopud.h \
566 - arch/arm/include/asm/pgtable-hwdef.h \
567 - arch/arm/include/asm/pgtable-2level-hwdef.h \
568 - arch/arm/include/asm/tlbflush.h \
569 - $(wildcard include/config/smp/on/up.h) \
570 - $(wildcard include/config/cpu/tlb/v4wt.h) \
571 - $(wildcard include/config/cpu/tlb/fa.h) \
572 - $(wildcard include/config/cpu/tlb/v4wbi.h) \
573 - $(wildcard include/config/cpu/tlb/feroceon.h) \
574 - $(wildcard include/config/cpu/tlb/v4wb.h) \
575 - $(wildcard include/config/cpu/tlb/v6.h) \
576 - $(wildcard include/config/cpu/tlb/v7.h) \
577 - $(wildcard include/config/arm/errata/720789.h) \
578 - $(wildcard include/config/arm/errata/798181.h) \
579 - include/linux/sched.h \
580 - $(wildcard include/config/sched/debug.h) \
581 - $(wildcard include/config/lockup/detector.h) \
582 - $(wildcard include/config/detect/hung/task.h) \
583 - $(wildcard include/config/core/dump/default/elf/headers.h) \
584 - $(wildcard include/config/virt/cpu/accounting/native.h) \
585 - $(wildcard include/config/sched/autogroup.h) \
586 - $(wildcard include/config/bsd/process/acct.h) \
587 - $(wildcard include/config/taskstats.h) \
588 - $(wildcard include/config/audit.h) \
589 - $(wildcard include/config/inotify/user.h) \
590 - $(wildcard include/config/fanotify.h) \
591 - $(wildcard include/config/epoll.h) \
592 - $(wildcard include/config/posix/mqueue.h) \
593 - $(wildcard include/config/bpf/syscall.h) \
594 - $(wildcard include/config/sched/info.h) \
595 - $(wildcard include/config/task/delay/acct.h) \
596 - $(wildcard include/config/schedstats.h) \
597 - $(wildcard include/config/sched/mc.h) \
598 - $(wildcard include/config/fair/group/sched.h) \
599 - $(wildcard include/config/rt/group/sched.h) \
600 - $(wildcard include/config/cgroup/sched.h) \
601 - $(wildcard include/config/blk/dev/io/trace.h) \
602 - $(wildcard include/config/memcg/kmem.h) \
603 - $(wildcard include/config/compat/brk.h) \
604 - $(wildcard include/config/cc/stackprotector.h) \
605 - $(wildcard include/config/virt/cpu/accounting/gen.h) \
606 - $(wildcard include/config/auditsyscall.h) \
607 - $(wildcard include/config/rt/mutexes.h) \
608 - $(wildcard include/config/block.h) \
609 - $(wildcard include/config/task/xacct.h) \
610 - $(wildcard include/config/cpusets.h) \
611 - $(wildcard include/config/cgroups.h) \
612 - $(wildcard include/config/futex.h) \
613 - $(wildcard include/config/arch/want/batched/unmap/tlb/flush.h) \
614 - $(wildcard include/config/fault/injection.h) \
615 - $(wildcard include/config/latencytop.h) \
616 - $(wildcard include/config/function/graph/tracer.h) \
617 - $(wildcard include/config/bcache.h) \
618 - $(wildcard include/config/arch/wants/dynamic/task/struct.h) \
619 - $(wildcard include/config/have/unstable/sched/clock.h) \
620 - $(wildcard include/config/irq/time/accounting.h) \
621 - $(wildcard include/config/have/copy/thread/tls.h) \
622 - include/uapi/linux/sched.h \
623 - include/linux/sched/prio.h \
624 - include/linux/plist.h \
625 - $(wildcard include/config/debug/pi/list.h) \
626 - include/linux/cputime.h \
627 - arch/arm/include/generated/asm/cputime.h \
628 - include/asm-generic/cputime.h \
629 - $(wildcard include/config/virt/cpu/accounting.h) \
630 - include/asm-generic/cputime_jiffies.h \
631 - include/linux/shm.h \
632 - include/uapi/linux/shm.h \
633 - arch/arm/include/generated/asm/shmbuf.h \
634 - include/uapi/asm-generic/shmbuf.h \
635 - arch/arm/include/asm/shmparam.h \
636 - include/linux/pid.h \
637 - include/linux/proportions.h \
638 - include/linux/seccomp.h \
639 - $(wildcard include/config/seccomp.h) \
640 - $(wildcard include/config/have/arch/seccomp/filter.h) \
641 - $(wildcard include/config/seccomp/filter.h) \
642 - $(wildcard include/config/checkpoint/restore.h) \
643 - include/uapi/linux/seccomp.h \
644 - arch/arm/include/generated/asm/seccomp.h \
645 - include/asm-generic/seccomp.h \
646 - include/linux/rculist.h \
647 - include/linux/rtmutex.h \
648 - $(wildcard include/config/debug/rt/mutexes.h) \
649 - include/linux/hrtimer.h \
650 - $(wildcard include/config/high/res/timers.h) \
651 - $(wildcard include/config/time/low/res.h) \
652 - $(wildcard include/config/timerfd.h) \
653 - include/linux/timerqueue.h \
654 - include/linux/task_io_accounting.h \
655 - $(wildcard include/config/task/io/accounting.h) \
656 - include/linux/latencytop.h \
657 - include/linux/cred.h \
658 - $(wildcard include/config/debug/credentials.h) \
659 - $(wildcard include/config/security.h) \
660 - include/linux/selinux.h \
661 - $(wildcard include/config/security/selinux.h) \
662 - include/uapi/linux/magic.h \
663 - include/linux/cgroup-defs.h \
664 - include/uapi/linux/limits.h \
665 - include/linux/percpu-refcount.h \
666 - include/linux/percpu-rwsem.h \
667 - include/linux/rcu_sync.h \
668 - include/linux/cgroup_subsys.h \
669 - $(wildcard include/config/cgroup/cpuacct.h) \
670 - $(wildcard include/config/blk/cgroup.h) \
671 - $(wildcard include/config/cgroup/device.h) \
672 - $(wildcard include/config/cgroup/freezer.h) \
673 - $(wildcard include/config/cgroup/net/classid.h) \
674 - $(wildcard include/config/cgroup/perf.h) \
675 - $(wildcard include/config/cgroup/net/prio.h) \
676 - $(wildcard include/config/cgroup/hugetlb.h) \
677 - $(wildcard include/config/cgroup/pids.h) \
678 - $(wildcard include/config/cgroup/debug.h) \
679 - arch/arm/include/asm/pgtable-2level.h \
680 - include/asm-generic/pgtable.h \
681 - $(wildcard include/config/have/arch/soft/dirty.h) \
682 - $(wildcard include/config/have/arch/huge/vmap.h) \
683 - include/linux/page-flags.h \
684 - $(wildcard include/config/arch/uses/pg/uncached.h) \
685 - $(wildcard include/config/memory/failure.h) \
686 - $(wildcard include/config/swap.h) \
687 - $(wildcard include/config/ksm.h) \
688 - include/linux/huge_mm.h \
689 - include/linux/vmstat.h \
690 - $(wildcard include/config/vm/event/counters.h) \
691 - $(wildcard include/config/debug/tlbflush.h) \
692 - $(wildcard include/config/debug/vm/vmacache.h) \
693 - include/linux/vm_event_item.h \
694 - $(wildcard include/config/migration.h) \
695 - $(wildcard include/config/memory/balloon.h) \
696 - $(wildcard include/config/balloon/compaction.h) \
697 - include/linux/seq_file.h \
698 - include/linux/poll.h \
699 - include/linux/fs.h \
700 - $(wildcard include/config/fs/posix/acl.h) \
701 - $(wildcard include/config/cgroup/writeback.h) \
702 - $(wildcard include/config/ima.h) \
703 - $(wildcard include/config/fsnotify.h) \
704 - $(wildcard include/config/file/locking.h) \
705 - $(wildcard include/config/quota.h) \
706 - $(wildcard include/config/fs/dax.h) \
707 - include/linux/kdev_t.h \
708 - include/uapi/linux/kdev_t.h \
709 - include/linux/dcache.h \
710 - include/linux/rculist_bl.h \
711 - include/linux/list_bl.h \
712 - include/linux/lockref.h \
713 - $(wildcard include/config/arch/use/cmpxchg/lockref.h) \
714 - include/linux/path.h \
715 - include/linux/list_lru.h \
716 - include/linux/radix-tree.h \
717 - include/linux/semaphore.h \
718 - include/uapi/linux/fiemap.h \
719 - include/linux/migrate_mode.h \
720 - include/linux/blk_types.h \
721 - $(wildcard include/config/blk/dev/integrity.h) \
722 - include/uapi/linux/fs.h \
723 - include/uapi/linux/ioctl.h \
724 - arch/arm/include/generated/asm/ioctl.h \
725 - include/asm-generic/ioctl.h \
726 - include/uapi/asm-generic/ioctl.h \
727 - include/linux/nfs_fs_i.h \
728 - include/linux/fcntl.h \
729 - include/uapi/linux/fcntl.h \
730 - arch/arm/include/uapi/asm/fcntl.h \
731 - include/uapi/asm-generic/fcntl.h \
732 - arch/arm/include/asm/uaccess.h \
733 - $(wildcard include/config/have/efficient/unaligned/access.h) \
734 - $(wildcard include/config/cpu/sw/domain/pan.h) \
735 - $(wildcard include/config/cpu/use/domains.h) \
736 - $(wildcard include/config/uaccess/with/memcpy.h) \
737 - arch/arm/include/asm/domain.h \
738 - $(wildcard include/config/io/36.h) \
739 - include/uapi/linux/poll.h \
740 - arch/arm/include/generated/asm/poll.h \
741 - include/uapi/asm-generic/poll.h \
742 - include/linux/trace_seq.h \
743 - include/linux/seq_buf.h \
744 - include/linux/hardirq.h \
745 - include/linux/ftrace_irq.h \
746 - $(wildcard include/config/ftrace/nmi/enter.h) \
747 - include/linux/vtime.h \
748 - include/linux/context_tracking_state.h \
749 - $(wildcard include/config/context/tracking.h) \
750 - arch/arm/include/asm/hardirq.h \
751 - arch/arm/include/asm/irq.h \
752 - $(wildcard include/config/sparse/irq.h) \
753 - $(wildcard include/config/multi/irq/handler.h) \
754 - include/linux/irq_cpustat.h \
755 - include/linux/perf_event.h \
756 - $(wildcard include/config/function/tracer.h) \
757 - $(wildcard include/config/cpu/sup/intel.h) \
758 - include/uapi/linux/perf_event.h \
759 - arch/arm/include/asm/perf_event.h \
760 - arch/arm/include/generated/asm/local64.h \
761 - include/asm-generic/local64.h \
762 - include/linux/pid_namespace.h \
763 - $(wildcard include/config/pid/ns.h) \
764 - include/linux/nsproxy.h \
765 - include/linux/ns_common.h \
766 - include/linux/ftrace.h \
767 - $(wildcard include/config/dynamic/ftrace/with/regs.h) \
768 - $(wildcard include/config/dynamic/ftrace.h) \
769 - $(wildcard include/config/stack/tracer.h) \
770 - $(wildcard include/config/frame/pointer.h) \
771 - include/linux/trace_clock.h \
772 - arch/arm/include/generated/asm/trace_clock.h \
773 - include/asm-generic/trace_clock.h \
774 - include/linux/kallsyms.h \
775 - include/linux/ptrace.h \
776 - include/uapi/linux/ptrace.h \
777 - arch/arm/include/asm/ftrace.h \
778 - $(wildcard include/config/old/mcount.h) \
779 - include/linux/cpu.h \
780 - $(wildcard include/config/pm/sleep/smp.h) \
781 - include/linux/node.h \
782 - $(wildcard include/config/memory/hotplug/sparse.h) \
783 - include/linux/device.h \
784 - $(wildcard include/config/debug/devres.h) \
785 - $(wildcard include/config/generic/msi/irq/domain.h) \
786 - $(wildcard include/config/pinctrl.h) \
787 - $(wildcard include/config/generic/msi/irq.h) \
788 - $(wildcard include/config/dma/cma.h) \
789 - $(wildcard include/config/of.h) \
790 - $(wildcard include/config/devtmpfs.h) \
791 - $(wildcard include/config/sysfs/deprecated.h) \
792 - include/linux/ioport.h \
793 - include/linux/klist.h \
794 - include/linux/pinctrl/devinfo.h \
795 - $(wildcard include/config/pm.h) \
796 - include/linux/pinctrl/consumer.h \
797 - include/linux/pinctrl/pinctrl-state.h \
798 - include/linux/pm.h \
799 - $(wildcard include/config/vt/console/sleep.h) \
800 - $(wildcard include/config/pm/clk.h) \
801 - $(wildcard include/config/pm/generic/domains.h) \
802 - include/linux/ratelimit.h \
803 - arch/arm/include/asm/device.h \
804 - $(wildcard include/config/dmabounce.h) \
805 - $(wildcard include/config/iommu/api.h) \
806 - $(wildcard include/config/arm/dma/use/iommu.h) \
807 - $(wildcard include/config/arch/omap.h) \
808 - include/linux/pm_wakeup.h \
809 - include/linux/irq_work.h \
810 - $(wildcard include/config/irq/work.h) \
811 - arch/arm/include/asm/irq_work.h \
812 - arch/arm/include/asm/smp_plat.h \
813 - arch/arm/include/asm/cpu.h \
814 - arch/arm/include/asm/cputype.h \
815 - $(wildcard include/config/cpu/cp15.h) \
816 - $(wildcard include/config/cpu/pj4.h) \
817 - include/linux/jump_label_ratelimit.h \
818 - include/linux/perf_regs.h \
819 - $(wildcard include/config/have/perf/regs.h) \
820 - arch/arm/include/uapi/asm/perf_regs.h \
821 - include/linux/cgroup.h \
822 - include/uapi/linux/cgroupstats.h \
823 - include/uapi/linux/taskstats.h \
824 - arch/arm/include/generated/asm/local.h \
825 - include/asm-generic/local.h \
826 -
827 -/root/hooking/dhooker/hooker.o: $(deps_/root/hooking/dhooker/hooker.o)
828 -
829 -$(deps_/root/hooking/dhooker/hooker.o):
1 -/root/hooking/dhooker/hooker.ko
2 -/root/hooking/dhooker/hooker.o
1 -obj-m := hooker.o
2 -
3 -KDIR=/root/working/linux
4 -PWD=$(shell pwd)
5 -TOOLCHAIN=arm-linux-gnueabihf-
6 -TARGET=arm
7 -
8 -all:
9 - $(MAKE) -C $(KDIR) M=$(PWD) ARCH=$(TARGET) CROSS_COMPILE=$(TOOLCHAIN) modules
10 -
11 -clean:
12 - $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
1 -#include <linux/kernel.h>
2 -#include <linux/module.h>
3 -#include <linux/syscalls.h>
4 -#include <linux/string.h>
5 -#include <linux/sched.h>
6 -
7 -#define SYSCALL_TABLE_BASE_ADDR (0x8000fc28)
8 -#define MANAGER_PERMISSION (0xff)
9 -
10 -unsigned int ** g_puSysTableAddr = (unsigned int**) SYSCALL_TABLE_BASE_ADDR;
11 -unsigned int g_uPrevAP = 0x00;
12 -unsigned int g_uNewAP = MANAGER_PERMISSION;
13 -unsigned int (* sys_write_orig)(int fd, char *byf, size_t count);
14 -
15 -
16 -//sys_write_orig() 호출 전 pBuF의 내용 수정
17 -unsigned int sys_write_hooked(int nFD, char *pBuf, size_t nCnt){
18 - printk("current process name : %s\n",current->comm);
19 - if(current->comm == "hello_world" && nFD == 1){
20 - memset(pBuf, 0, nCnt);
21 - strcpy(pBuf, "Hacked!!!\n");
22 - return sys_write_orig(nFD,pBuf, nCnt);
23 - }
24 - else{
25 - return sys_write_orig(nFD,pBuf, nCnt);
26 - }
27 -
28 -}
29 -
30 -int __init Hook_Init(void){
31 - sys_write_orig = (void *)g_puSysTableAddr[__NR_write];
32 -
33 - printk("외않되?\n");
34 - __asm__ __volatile__("mrc p15, 0, %0, c3, c0" : "=r"(g_uPrevAP));
35 - __asm__ __volatile__("mrc p15, 0, %0, c3, c0" : : "r"(g_uNewAP));
36 -
37 - g_puSysTableAddr[__NR_write] = (unsigned int *) sys_write_hooked;
38 -
39 - __asm__ __volatile__("mcr p15,0, %0, c3, c0" : :"r"(g_uPrevAP));
40 - return 0;
41 -}
42 -
43 -void __exit Hook_Exit(void){
44 - __asm__ __volatile__("mrc p15,0, %0, c3,c0" : "=r"(g_uPrevAP));
45 - __asm__ __volatile__("mcr p15, 0, %0, c3, c0" : :"r"(g_uNewAP));
46 -
47 - g_puSysTableAddr[__NR_write] = (unsigned int *) sys_write_orig;
48 -
49 - __asm__ __volatile__("mcr p15,0, %0, c3, c0" : :"r"(g_uPrevAP));
50 -}
51 -
52 -module_init(Hook_Init);
53 -module_exit(Hook_Exit);
54 -MODULE_LICENSE("GPL");
1 -#include <linux/module.h>
2 -#include <linux/vermagic.h>
3 -#include <linux/compiler.h>
4 -
5 -MODULE_INFO(vermagic, VERMAGIC_STRING);
6 -
7 -__visible struct module __this_module
8 -__attribute__((section(".gnu.linkonce.this_module"))) = {
9 - .name = KBUILD_MODNAME,
10 - .init = init_module,
11 -#ifdef CONFIG_MODULE_UNLOAD
12 - .exit = cleanup_module,
13 -#endif
14 - .arch = MODULE_ARCH_INIT,
15 -};
16 -
17 -static const struct modversion_info ____versions[]
18 -__used
19 -__attribute__((section("__versions"))) = {
20 - { 0xb344870e, __VMLINUX_SYMBOL_STR(module_layout) },
21 - { 0x2e5810c6, __VMLINUX_SYMBOL_STR(__aeabi_unwind_cpp_pr1) },
22 - { 0xfa2a45e, __VMLINUX_SYMBOL_STR(__memzero) },
23 - { 0x27e1a049, __VMLINUX_SYMBOL_STR(printk) },
24 - { 0xb1ad28e0, __VMLINUX_SYMBOL_STR(__gnu_mcount_nc) },
25 -};
26 -
27 -static const char __module_depends[]
28 -__used
29 -__attribute__((section(".modinfo"))) =
30 -"depends=";
31 -
32 -
33 -MODULE_INFO(srcversion, "C9222200A71E34F955A2A67");
1 -kernel//root/hooking/dhooker/hooker.ko
No preview for this file type