Como funciona?? ./Makefile verdad? esq no me deja..:S
colymore@0v3rfl0w:~/Desktop/Backdoor$ chmod +x Makefile
colymore@0v3rfl0w:~/Desktop/Backdoor$ ./Makefile
./Makefile: line 1: obj-m: command not found
./Makefile: line 3: shell: command not found
./Makefile: line 3: KDIR: command not found
./Makefile: line 4: shell: command not found
./Makefile: line 4: PWD: command not found
./Makefile: line 6: default:: command not found
./Makefile: line 7: MAKE: command not found
./Makefile: line 7: KDIR: command not found
./Makefile: line 7: PWD: command not found
./Makefile: line 7: -C: command not found
./Makefile: line 9: clean:: command not found
./Makefile: line 10: $: command not found
colymore@0v3rfl0w:~/Desktop/Backdoor$ gcc backdoor.c -o backdoor
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/jiffies.h:84: error: syntax error before 'jiffies_64'
/usr/include/linux/jiffies.h:88: error: syntax error before 'get_jiffies_64'
/usr/include/linux/jiffies.h: In function 'timespec_to_jiffies':
/usr/include/linux/jiffies.h:320: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:320: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:320: error: 'NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:320: error: (Each undeclared identifier is reported only once
/usr/include/linux/jiffies.h:320: error: for each function it appears in.)
/usr/include/linux/jiffies.h:321: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:321: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:324: error: syntax error before 'sec'
/usr/include/linux/jiffies.h:324: error: syntax error before 'NSEC_PER_SEC'
/usr/include/linux/jiffies.h:324: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:324: error: syntax error before ')' token
/usr/include/linux/jiffies.h: In function 'jiffies_to_timespec':
/usr/include/linux/jiffies.h:337: error: syntax error before 'nsec'
/usr/include/linux/jiffies.h:338: error: 'nsec' undeclared (first use in this function)
/usr/include/linux/jiffies.h:338: error: 'NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function 'timeval_to_jiffies':
/usr/include/linux/jiffies.h:359: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:359: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:359: error: 'NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:360: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:360: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:363: error: syntax error before 'sec'
/usr/include/linux/jiffies.h:363: error: syntax error before 'NSEC_PER_SEC'
/usr/include/linux/jiffies.h:363: error: called object 'u64' is not a function
/usr/include/linux/jiffies.h:363: error: syntax error before ')' token
/usr/include/linux/jiffies.h: In function 'jiffies_to_timeval':
/usr/include/linux/jiffies.h:375: error: syntax error before 'nsec'
/usr/include/linux/jiffies.h:376: error: 'nsec' undeclared (first use in this function)
/usr/include/linux/jiffies.h:376: error: 'NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:377: error: 'NSEC_PER_USEC' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/jiffies.h:385:41: error: division by zero in #if
/usr/include/linux/jiffies.h:385:42: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'jiffies_to_clock_t':
/usr/include/linux/jiffies.h:388: error: syntax error before 'tmp'
/usr/include/linux/jiffies.h:389: error: 'NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:389: error: 'USER_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:389: error: 'tmp' undeclared (first use in this function)
/usr/include/linux/jiffies.h:389: error: invalid lvalue in asm output 0
/usr/include/linux/jiffies.h:396:18: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'clock_t_to_jiffies':
/usr/include/linux/jiffies.h:401: error: syntax error before 'jif'
/usr/include/linux/jiffies.h:404: error: 'USER_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:408: error: 'jif' undeclared (first use in this function)
/usr/include/linux/jiffies.h:408: error: syntax error before numeric constant
/usr/include/linux/jiffies.h:409: error: invalid lvalue in asm output 0
/usr/include/linux/jiffies.h: At top level:
/usr/include/linux/jiffies.h:414: error: syntax error before 'jiffies_64_to_clock_t'
/usr/include/linux/jiffies.h:414: error: syntax error before 'x'
/usr/include/linux/jiffies.h:416:41: error: division by zero in #if
/usr/include/linux/jiffies.h:416:42: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'jiffies_64_to_clock_t':
/usr/include/linux/jiffies.h:424: error: 'x' undeclared (first use in this function)
/usr/include/linux/jiffies.h:425: error: 'NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:425: error: 'USER_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:425: error: invalid lvalue in asm output 0
/usr/include/linux/jiffies.h: At top level:
/usr/include/linux/jiffies.h:430: error: syntax error before 'nsec_to_clock_t'
/usr/include/linux/jiffies.h:430: error: syntax error before 'x'
/usr/include/linux/jiffies.h:432:28: error: division by zero in #if
/usr/include/linux/jiffies.h: In function 'nsec_to_clock_t':
/usr/include/linux/jiffies.h:433: error: 'NSEC_PER_SEC' undeclared (first use in this function)
/usr/include/linux/jiffies.h:433: error: 'USER_HZ' undeclared (first use in this function)
/usr/include/linux/jiffies.h:433: error: 'x' undeclared (first use in this function)
/usr/include/linux/jiffies.h:433: error: invalid lvalue in asm output 0
In file included from /usr/include/linux/cpumask.h:82,
from /usr/include/linux/sched.h:15,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/bitmap.h: In function 'bitmap_zero':
/usr/include/linux/bitmap.h:119: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_fill':
/usr/include/linux/bitmap.h:134: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_copy':
/usr/include/linux/bitmap.h:140: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_and':
/usr/include/linux/bitmap.h:151: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_or':
/usr/include/linux/bitmap.h:160: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_xor':
/usr/include/linux/bitmap.h:169: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_andnot':
/usr/include/linux/bitmap.h:178: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_complement':
/usr/include/linux/bitmap.h:187: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_equal':
/usr/include/linux/bitmap.h:196: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_intersects':
/usr/include/linux/bitmap.h:205: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_subset':
/usr/include/linux/bitmap.h:214: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_empty':
/usr/include/linux/bitmap.h:222: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_full':
/usr/include/linux/bitmap.h:230: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_shift_right':
/usr/include/linux/bitmap.h:244: error: 'BITS_PER_LONG' undeclared (first use in this function)
/usr/include/linux/bitmap.h: In function 'bitmap_shift_left':
/usr/include/linux/bitmap.h:253: error: 'BITS_PER_LONG' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:15,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:85: error: syntax error before 'DECLARE_BITMAP'
/usr/include/linux/cpumask.h:86: error: syntax error before '_unused_cpumask_arg_'
/usr/include/linux/cpumask.h:89: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpu_set':
/usr/include/linux/cpumask.h:91: error: 'cpu' undeclared (first use in this function)
/usr/include/linux/cpumask.h:91: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:95: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpu_clear':
/usr/include/linux/cpumask.h:97: error: 'cpu' undeclared (first use in this function)
/usr/include/linux/cpumask.h:97: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:101: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_setall':
/usr/include/linux/cpumask.h:103: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:103: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:107: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_clear':
/usr/include/linux/cpumask.h:109: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:109: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:116: error: syntax error before 'cpumask_t'
/usr/include/linux/cpumask.h: In function '__cpu_test_and_set':
/usr/include/linux/cpumask.h:118: error: 'cpu' undeclared (first use in this function)
/usr/include/linux/cpumask.h:118: error: 'addr' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:122: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_and':
/usr/include/linux/cpumask.h:125: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:125: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:125: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:125: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:129: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_or':
/usr/include/linux/cpumask.h:132: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:132: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:132: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:132: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:136: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_xor':
/usr/include/linux/cpumask.h:139: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:139: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:139: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:139: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:144: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_andnot':
/usr/include/linux/cpumask.h:147: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:147: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:147: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:147: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:151: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_complement':
/usr/include/linux/cpumask.h:154: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:154: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:154: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:158: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_equal':
/usr/include/linux/cpumask.h:161: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:161: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:161: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:165: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_intersects':
/usr/include/linux/cpumask.h:168: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:168: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:168: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:172: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_subset':
/usr/include/linux/cpumask.h:175: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:175: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/cpumask.h:175: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:179: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_empty':
/usr/include/linux/cpumask.h:181: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:181: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:185: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_full':
/usr/include/linux/cpumask.h:187: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:187: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:191: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_weight':
/usr/include/linux/cpumask.h:193: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:193: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:198: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_shift_right':
/usr/include/linux/cpumask.h:201: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:201: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:201: error: 'n' undeclared (first use in this function)
/usr/include/linux/cpumask.h:201: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:206: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpus_shift_left':
/usr/include/linux/cpumask.h:209: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:209: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:209: error: 'n' undeclared (first use in this function)
/usr/include/linux/cpumask.h:209: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:213: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__first_cpu':
/usr/include/linux/cpumask.h:215: error: syntax error before 'int'
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:219: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__next_cpu':
/usr/include/linux/cpumask.h:221: error: syntax error before 'int'
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:270: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpumask_scnprintf':
/usr/include/linux/cpumask.h:272: error: 'buf' undeclared (first use in this function)
/usr/include/linux/cpumask.h:272: error: 'len' undeclared (first use in this function)
/usr/include/linux/cpumask.h:272: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:272: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:278: error: syntax error before 'cpumask_t'
/usr/include/linux/cpumask.h: In function '__cpumask_parse':
/usr/include/linux/cpumask.h:280: error: 'buf' undeclared (first use in this function)
/usr/include/linux/cpumask.h:280: error: 'len' undeclared (first use in this function)
/usr/include/linux/cpumask.h:280: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:280: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:286: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function '__cpulist_scnprintf':
/usr/include/linux/cpumask.h:288: error: 'buf' undeclared (first use in this function)
/usr/include/linux/cpumask.h:288: error: 'len' undeclared (first use in this function)
/usr/include/linux/cpumask.h:288: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:288: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:292: error: syntax error before 'cpumask_t'
/usr/include/linux/cpumask.h: In function '__cpulist_parse':
/usr/include/linux/cpumask.h:294: error: 'buf' undeclared (first use in this function)
/usr/include/linux/cpumask.h:294: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:294: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:362: error: syntax error before 'cpu_possible_map'
/usr/include/linux/cpumask.h:363: error: syntax error before 'cpu_online_map'
/usr/include/linux/cpumask.h:364: error: syntax error before 'cpu_present_map'
In file included from /usr/include/linux/sched.h:17,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/nodemask.h:85: error: syntax error before 'DECLARE_BITMAP'
/usr/include/linux/nodemask.h:86: error: syntax error before '_unused_nodemask_arg_'
/usr/include/linux/nodemask.h:89: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__node_set':
/usr/include/linux/nodemask.h:91: error: 'node' undeclared (first use in this function)
/usr/include/linux/nodemask.h:91: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:95: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__node_clear':
/usr/include/linux/nodemask.h:97: error: 'node' undeclared (first use in this function)
/usr/include/linux/nodemask.h:97: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:101: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_setall':
/usr/include/linux/nodemask.h:103: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:103: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:107: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_clear':
/usr/include/linux/nodemask.h:109: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:109: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:117: error: syntax error before 'nodemask_t'
/usr/include/linux/nodemask.h: In function '__node_test_and_set':
/usr/include/linux/nodemask.h:119: error: 'node' undeclared (first use in this function)
/usr/include/linux/nodemask.h:119: error: 'addr' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:124: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_and':
/usr/include/linux/nodemask.h:127: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:127: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:127: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:127: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:132: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_or':
/usr/include/linux/nodemask.h:135: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:135: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:135: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:135: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:140: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_xor':
/usr/include/linux/nodemask.h:143: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:143: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:143: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:143: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:148: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_andnot':
/usr/include/linux/nodemask.h:151: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:151: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:151: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:151: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:156: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_complement':
/usr/include/linux/nodemask.h:159: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:159: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:159: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:164: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_equal':
/usr/include/linux/nodemask.h:167: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:167: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:167: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:172: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_intersects':
/usr/include/linux/nodemask.h:175: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:175: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:175: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:180: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_subset':
/usr/include/linux/nodemask.h:183: error: 'src1p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:183: error: 'src2p' undeclared (first use in this function)
/usr/include/linux/nodemask.h:183: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:187: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_empty':
/usr/include/linux/nodemask.h:189: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:189: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:193: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_full':
/usr/include/linux/nodemask.h:195: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:195: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:199: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_weight':
/usr/include/linux/nodemask.h:201: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:201: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:206: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_shift_right':
/usr/include/linux/nodemask.h:209: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:209: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:209: error: 'n' undeclared (first use in this function)
/usr/include/linux/nodemask.h:209: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:214: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodes_shift_left':
/usr/include/linux/nodemask.h:217: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:217: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:217: error: 'n' undeclared (first use in this function)
/usr/include/linux/nodemask.h:217: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:224: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__first_node':
/usr/include/linux/nodemask.h:226: error: syntax error before 'int'
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:230: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__next_node':
/usr/include/linux/nodemask.h:232: error: syntax error before 'int'
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:248: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__first_unset_node':
/usr/include/linux/nodemask.h:250: error: syntax error before 'int'
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:283: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodemask_scnprintf':
/usr/include/linux/nodemask.h:285: error: 'buf' undeclared (first use in this function)
/usr/include/linux/nodemask.h:285: error: 'len' undeclared (first use in this function)
/usr/include/linux/nodemask.h:285: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:285: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:291: error: syntax error before 'nodemask_t'
/usr/include/linux/nodemask.h: In function '__nodemask_parse':
/usr/include/linux/nodemask.h:293: error: 'buf' undeclared (first use in this function)
/usr/include/linux/nodemask.h:293: error: 'len' undeclared (first use in this function)
/usr/include/linux/nodemask.h:293: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:293: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:299: error: syntax error before '*' token
/usr/include/linux/nodemask.h: In function '__nodelist_scnprintf':
/usr/include/linux/nodemask.h:301: error: 'buf' undeclared (first use in this function)
/usr/include/linux/nodemask.h:301: error: 'len' undeclared (first use in this function)
/usr/include/linux/nodemask.h:301: error: 'srcp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:301: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:305: error: syntax error before 'nodemask_t'
/usr/include/linux/nodemask.h: In function '__nodelist_parse':
/usr/include/linux/nodemask.h:307: error: 'buf' undeclared (first use in this function)
/usr/include/linux/nodemask.h:307: error: 'dstp' undeclared (first use in this function)
/usr/include/linux/nodemask.h:307: error: 'nbits' undeclared (first use in this function)
/usr/include/linux/nodemask.h: At top level:
/usr/include/linux/nodemask.h:326: error: syntax error before 'node_online_map'
/usr/include/linux/nodemask.h:327: error: syntax error before 'node_possible_map'
In file included from /usr/include/asm/mmu.h:8,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-i486/mmu.h:13: error: field 'sem' has incomplete type
In file included from /usr/include/asm-i486/cputime.h:4,
from /usr/include/asm/cputime.h:8,
from /usr/include/linux/sched.h:24,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-generic/cputime.h:23: error: syntax error before 'cputime64_t'
In file included from /usr/include/asm/fixmap.h:8,
from /usr/include/asm-i486/smp.h:16,
from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/sched.h:26,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-i486/fixmap.h:81: error: 'FIX_ACPI_PAGES' undeclared here (not in a function)
/usr/include/asm-i486/fixmap.h:96: error: syntax error before 'pgprot_t'
In file included from /usr/include/asm/mpspec.h:8,
from /usr/include/asm-i486/smp.h:18,
from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/sched.h:26,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-i486/mpspec.h:6:25: error: mach_mpspec.h: No existe el fichero o el directorio
In file included from /usr/include/asm/mpspec.h:8,
from /usr/include/asm-i486/smp.h:18,
from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/sched.h:26,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-i486/mpspec.h:8: error: 'MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm-i486/mpspec.h:22: error: 'MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm-i486/mpspec.h:30: error: syntax error before 'id'
/usr/include/asm-i486/mpspec.h:31: error: syntax error before 'address'
/usr/include/asm-i486/mpspec.h:32: error: syntax error before 'id'
/usr/include/asm-i486/mpspec.h:33: error: syntax error before 'bus_irq'
/usr/include/asm-i486/mpspec.h:35: error: syntax error before 'gsi'
/usr/include/asm-i486/mpspec.h:42: error: variable-size type declared outside of any function
In file included from /usr/include/asm/io_apic.h:8,
from /usr/include/asm-i486/smp.h:20,
from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/sched.h:26,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-i486/io_apic.h:64: error: syntax error before 'u32'
/usr/include/asm-i486/io_apic.h:66: error: syntax error before 'u32'
/usr/include/asm-i486/io_apic.h:72: error: syntax error before '}' token
/usr/include/asm-i486/io_apic.h:75: error: syntax error before 'u32'
/usr/include/asm-i486/io_apic.h:77: error: syntax error before 'u32'
/usr/include/asm-i486/io_apic.h:83: error: syntax error before '}' token
/usr/include/asm-i486/io_apic.h:86: error: syntax error before 'u32'
/usr/include/asm-i486/io_apic.h:88: error: syntax error before 'u32'
/usr/include/asm-i486/io_apic.h:92: error: syntax error before '}' token
/usr/include/asm-i486/io_apic.h:95: error: syntax error before 'u32'
/usr/include/asm-i486/io_apic.h:97: error: syntax error before 'u32'
/usr/include/asm-i486/io_apic.h:100: error: syntax error before '}' token
In file included from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/sched.h:26,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-i486/smp.h:37: error: syntax error before 'cpu_sibling_map'
/usr/include/asm-i486/smp.h:38: error: syntax error before 'cpu_core_map'
/usr/include/asm-i486/smp.h:49: error: syntax error before 'x86_cpu_to_apicid'
/usr/include/asm-i486/smp.h:63: error: syntax error before 'cpu_callout_map'
/usr/include/asm-i486/smp.h:64: error: syntax error before 'cpu_callin_map'
In file included from /usr/include/asm/smp.h:8,
from /usr/include/linux/smp.h:19,
from /usr/include/linux/sched.h:26,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-i486/smp.h:78:26: error: mach_apicdef.h: No existe el fichero o el directorio
In file included from /usr/include/linux/sched.h:26,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/smp.h: In function 'on_each_cpu':
/usr/include/linux/smp.h:67: error: invalid type argument of '->'
/usr/include/linux/smp.h:70: error: invalid type argument of '->'
/usr/include/linux/smp.h:70: error: 'TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /usr/include/asm/signal.h:8,
from /usr/include/linux/signal.h:6,
from /usr/include/linux/sched.h:28,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/asm-i486/signal.h: At top level:
/usr/include/asm-i486/signal.h:30: error: conflicting types for 'sigset_t'
/usr/include/sys/select.h:38: error: previous declaration of 'sigset_t' was here
In file included from /usr/include/linux/sched.h:32,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/completion.h:15: error: syntax error before 'wait_queue_head_t'
/usr/include/linux/completion.h: In function 'init_completion':
/usr/include/linux/completion.h:26: error: dereferencing pointer to incomplete type
/usr/include/linux/completion.h:27: error: dereferencing pointer to incomplete type
In file included from /usr/include/linux/sched.h:33,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/pid.h: At top level:
/usr/include/linux/pid.h:17: error: field 'pid_chain' has incomplete type
/usr/include/linux/pid.h:19: error: field 'pid_list' has incomplete type
In file included from /usr/include/linux/sched.h:36,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/seccomp.h: In function 'secure_computing':
/usr/include/linux/seccomp.h:18: error: 'TIF_SECCOMP' undeclared (first use in this function)
/usr/include/linux/seccomp.h: In function 'has_secure_computing':
/usr/include/linux/seccomp.h:24: error: 'TIF_SECCOMP' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:104,
from /usr/include/linux/module.h:10,
from backdoor.c:3:
/usr/include/linux/timer.h: At top level:
/usr/include/linux/timer.h:12: error: field 'entry' has incomplete type
In file included from backdoor.c:3:
/usr/include/linux/module.h:50: error: field 'attr' has incomplete type
/usr/include/linux/module.h:61: error: field 'kobj' has incomplete type
/usr/include/linux/module.h:226: error: field 'grp' has incomplete type
/usr/include/linux/module.h:237: error: field 'list' has incomplete type
backdoor.c:4:21: error: net/tcp.h: No existe el fichero o el directorio
In file included from backdoor.c:6:
/usr/include/linux/proc_fs.h:78: error: field 'list' has incomplete type
/usr/include/linux/proc_fs.h:102: error: syntax error before 'filldir_t'
/usr/include/linux/proc_fs.h:124: error: syntax error before 'filldir_t'
/usr/include/linux/proc_fs.h:253: error: field 'vfs_inode' has incomplete type
/usr/include/linux/proc_fs.h: In function 'PROC_I':
/usr/include/linux/proc_fs.h:258: error: syntax error before 'struct'
backdoor.c: At top level:
backdoor.c:17: warning: 'struct sockaddr_in' declared inside parameter list
backdoor.c:17: warning: 'struct socket' declared inside parameter list
backdoor.c:18: warning: 'struct sockaddr_in' declared inside parameter list
backdoor.c:18: warning: 'struct socket' declared inside parameter list
backdoor.c:21: warning: 'struct file' declared inside parameter list
backdoor.c: In function 'backdoor_exit_module':
backdoor.c:52: error: 'KERN_DEBUG' undeclared (first use in this function)
backdoor.c:52: error: syntax error before string constant
backdoor.c: In function 'thread':
backdoor.c:67: error: 'PF_INET' undeclared (first use in this function)
backdoor.c:67: error: 'SOCK_STREAM' undeclared (first use in this function)
backdoor.c:67: error: 'IPPROTO_TCP' undeclared (first use in this function)
backdoor.c:69: warning: incompatible implicit declaration of built-in function 'memset'
backdoor.c:69: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_in'
backdoor.c:70: error: invalid use of undefined type 'struct sockaddr_in'
backdoor.c:70: error: 'AF_INET' undeclared (first use in this function)
backdoor.c:71: error: invalid use of undefined type 'struct sockaddr_in'
backdoor.c:71: error: 'INADDR_ANY' undeclared (first use in this function)
backdoor.c:72: error: invalid use of undefined type 'struct sockaddr_in'
backdoor.c:74: error: dereferencing pointer to incomplete type
backdoor.c:74: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_in'
backdoor.c:78: error: dereferencing pointer to incomplete type
backdoor.c:84: error: dereferencing pointer to incomplete type
backdoor.c:84: error: dereferencing pointer to incomplete type
backdoor.c:85: error: dereferencing pointer to incomplete type
backdoor.c:85: error: dereferencing pointer to incomplete type
backdoor.c:86: error: dereferencing pointer to incomplete type
backdoor.c:89: warning: passing argument 1 of 'recvfrom_backdoor' from incompatible pointer type
backdoor.c:89: warning: passing argument 2 of 'recvfrom_backdoor' from incompatible pointer type
backdoor.c:89: warning: pointer targets in passing argument 3 of 'recvfrom_backdoor' differ in signedness
backdoor.c:96: error: dereferencing pointer to incomplete type
backdoor.c: At top level:
backdoor.c:109: error: conflicting types for 'recvfrom_backdoor'
backdoor.c:17: error: previous declaration of 'recvfrom_backdoor' was here
backdoor.c: In function 'recvfrom_backdoor':
backdoor.c:110: error: storage size of 'msg' isn't known
backdoor.c:111: error: storage size of 'iov' isn't known
backdoor.c:115: error: dereferencing pointer to incomplete type
backdoor.c:119: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_in'
backdoor.c:127: error: incompatible types in assignment
backdoor.c:127: error: 'KERNEL_DS' undeclared (first use in this function)
backdoor.c: At top level:
backdoor.c:135: error: conflicting types for 'sendto_backdoor'
backdoor.c:18: error: previous declaration of 'sendto_backdoor' was here
backdoor.c: In function 'sendto_backdoor':
backdoor.c:137: error: storage size of 'msg' isn't known
backdoor.c:138: error: storage size of 'iov' isn't known
backdoor.c:141: error: dereferencing pointer to incomplete type
backdoor.c:144: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_in'
backdoor.c:153: error: incompatible types in assignment
backdoor.c:153: error: 'KERNEL_DS' undeclared (first use in this function)
backdoor.c: In function 'parametro':
backdoor.c:175: warning: incompatible implicit declaration of built-in function 'strcat'
backdoor.c: In function 'inicializa_proc':
backdoor.c:198: error: 'KERN_INFO' undeclared (first use in this function)
backdoor.c:198: error: syntax error before string constant
backdoor.c:201: warning: assignment from incompatible pointer type
backdoor.c:203: error: 'S_IFREG' undeclared (first use in this function)
backdoor.c:203: error: 'S_IRUGO' undeclared (first use in this function)
backdoor.c: At top level:
backdoor.c:212: warning: 'struct file' declared inside parameter list
backdoor.c:213: error: conflicting types for 'procfile_write'
backdoor.c:21: error: previous declaration of 'procfile_write' was here
backdoor.c: In function 'procfile_write':
backdoor.c:228: warning: pointer targets in passing argument 3 of 'sendto_backdoor' differ in signedness
colymore@0v3rfl0w:~/Desktop/Backdoor$