Byron Clark wrote:
On 06/05/11 at 04:41am, hatem gamal elzanaty wrote:
i have a problem to add a file to /proc does there is a simple way or
even a how to program syntax to do so the system reject to enter the
file i need to enter into the /proc file can any one tell me how to do
it or direct me to a how to a free method that is simple and accurate
Creating a file in /proc is going to require a kernel module or a
patched kernel. Chapter four[1] of _Linux Device Drivers_[2] describes
how to create a file in /proc.
That said, it's no longer considered good form to add anything to /proc.
The new home for this information is the /sys filesystem or debugfs.
LWN has a quick guide for using debugfs[3].
[1] https://lwn.net/images/pdf/LDD3/ch04.pdf
[2] https://lwn.net/Kernel/LDD3/
[3] https://lwn.net/Articles/334546/
thanks for your reply but i have no straight forward how to in steps or
in how to compile or run that is why i'm warring of carshing the system
in the link below
http://tldp.org/LDP/lkmpg/2.6/html/x769.html
i get those errors and i don't konw what is the cause here is how i compile
====================================================
export srcf="/data/hatem/work/c/project/learning/source/010"
export objf="/data/hatem/work/c/project/learning/object/010"
cd $srcf
gcc -g -o proc.bin proc.c
mv -f ./proc.bin $objf
cd $objf
./proc.bin
am i suppose to change the header files for that to work can you help in
that thanks in advance
the error message is attached
In file included from /usr/include/linux/spinlock.h:56,
from /usr/include/linux/module.h:10,
from proc.c:4:
/usr/include/asm/system.h:306: error: expected declaration specifiers or
â...â before âu8â
/usr/include/asm/system.h:306: error: expected declaration specifiers or
â...â before âu8â
/usr/include/asm/system.h:307: error: expected declaration specifiers or
â...â before âu16â
/usr/include/asm/system.h:307: error: expected declaration specifiers or
â...â before âu16â
/usr/include/asm/system.h:308: error: expected declaration specifiers or
â...â before âu32â
/usr/include/asm/system.h:308: error: expected declaration specifiers or
â...â before âu32â
/usr/include/asm/system.h: In function âcmpxchg_386â:
/usr/include/asm/system.h:315: error: too many arguments to function
âcmpxchg_386_u8â
/usr/include/asm/system.h:317: error: too many arguments to function
âcmpxchg_386_u16â
/usr/include/asm/system.h:319: error: too many arguments to function
âcmpxchg_386_u32â
In file included from /usr/include/linux/lockdep.h:13,
from /usr/include/linux/spinlock_types.h:18,
from /usr/include/linux/spinlock.h:78,
from /usr/include/linux/module.h:10,
from proc.c:4:
/usr/include/linux/list.h:1003:2: warning: #warning "don't include kernel
headers in userspace"
In file included from /usr/include/linux/cpumask.h:86,
from /usr/include/asm/processor.h:22,
from /usr/include/asm/atomic.h:5,
from /usr/include/linux/spinlock.h:259,
from /usr/include/linux/module.h:10,
from proc.c:4:
/usr/include/linux/bitmap.h: In function âbitmap_zeroâ:
/usr/include/linux/bitmap.h:131: error: âBITS_PER_LONGâ undeclared (first
use in this function)
/usr/include/linux/bitmap.h:131: error: (Each undeclared identifier is reported
only once
/usr/include/linux/bitmap.h:131: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In function âbitmap_fillâ:
/usr/include/linux/bitmap.h:146: error: âBITS_PER_LONGâ undeclared (first
use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_copyâ:
/usr/include/linux/bitmap.h:152: error: âBITS_PER_LONGâ undeclared (first
use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_andâ:
/usr/include/linux/bitmap.h:163: error: âBITS_PER_LONGâ undeclared (first
use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_orâ:
/usr/include/linux/bitmap.h:172: error: âBITS_PER_LONGâ undeclared (first
use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_xorâ:
/usr/include/linux/bitmap.h:181: error: âBITS_PER_LONGâ undeclared (first
use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_andnotâ:
/usr/include/linux/bitmap.h:190: error: âBITS_PER_LONGâ undeclared (first
use in this function)
/usr/include/linux/bitmap.h: In function âbitmap_complementâ:
/usr/include/linux/bitmap.h:199: error: âBITS_PER_LONGâ undeclared (first
use in this function)
/usr/include/linux/bitmap.h: At top level:
/usr/include/linux/bitmap.h:205: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âbitmap_equalâ
/usr/include/linux/bitmap.h:214: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âbitmap_intersectsâ
/usr/include/linux/bitmap.h:223: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âbitmap_subsetâ
/usr/include/linux/bitmap.h:232: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âbitmap_emptyâ
/usr/include/linux/bitmap.h:240: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âbitmap_fullâ
/usr/include/linux/bitmap.h:248: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âbitmap_weightâ
/usr/include/linux/bitmap.h: In function âbitmap_shift_rightâ:
/usr/include/linux/bitmap.h:258: 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:267: error: âBITS_PER_LONGâ undeclared (first
use in this function)
In file included from /usr/include/asm/processor.h:22,
from /usr/include/asm/atomic.h:5,
from /usr/include/linux/spinlock.h:259,
from /usr/include/linux/module.h:10,
from proc.c:4:
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:88: error: expected specifier-qualifier-list
before âDECLARE_BITMAPâ
/usr/include/linux/cpumask.h: In function â__cpu_setâ:
/usr/include/linux/cpumask.h:94: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpu_clearâ:
/usr/include/linux/cpumask.h:100: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_setallâ:
/usr/include/linux/cpumask.h:106: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_clearâ:
/usr/include/linux/cpumask.h:112: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpu_test_and_setâ:
/usr/include/linux/cpumask.h:121: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_andâ:
/usr/include/linux/cpumask.h:128: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:128: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:128: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_orâ:
/usr/include/linux/cpumask.h:135: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:135: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:135: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_xorâ:
/usr/include/linux/cpumask.h:142: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:142: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:142: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_andnotâ:
/usr/include/linux/cpumask.h:150: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:150: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:150: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_complementâ:
/usr/include/linux/cpumask.h:157: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:157: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_equalâ:
/usr/include/linux/cpumask.h:164: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:164: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_intersectsâ:
/usr/include/linux/cpumask.h:171: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:171: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_subsetâ:
/usr/include/linux/cpumask.h:178: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:178: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_emptyâ:
/usr/include/linux/cpumask.h:184: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_fullâ:
/usr/include/linux/cpumask.h:190: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_weightâ:
/usr/include/linux/cpumask.h:196: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_shift_rightâ:
/usr/include/linux/cpumask.h:204: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:204: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_shift_leftâ:
/usr/include/linux/cpumask.h:212: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:212: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpumask_scnprintfâ:
/usr/include/linux/cpumask.h:273: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpumask_parseâ:
/usr/include/linux/cpumask.h:281: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpulist_scnprintfâ:
/usr/include/linux/cpumask.h:289: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpulist_parseâ:
/usr/include/linux/cpumask.h:295: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpu_remapâ:
/usr/include/linux/cpumask.h:303: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:303: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h: In function â__cpus_remapâ:
/usr/include/linux/cpumask.h:311: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:311: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:311: error: âcpumask_tâ has no member named
âbitsâ
/usr/include/linux/cpumask.h:311: error: âcpumask_tâ has no member named
âbitsâ
In file included from /usr/include/asm/atomic.h:5,
from /usr/include/linux/spinlock.h:259,
from /usr/include/linux/module.h:10,
from proc.c:4:
/usr/include/asm/processor.h: At top level:
/usr/include/asm/processor.h:80: error: âCONFIG_X86_L1_CACHE_SHIFTâ
undeclared here (not in a function)
/usr/include/asm/processor.h:80: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:21,
from proc.c:4:
/usr/include/linux/marker.h:33: error: expected declaration specifiers or
â...â before âva_listâ
In file included from /usr/include/asm/local.h:4,
from /usr/include/linux/module.h:22,
from proc.c:4:
/usr/include/linux/percpu.h: In function â__alloc_percpuâ:
/usr/include/linux/percpu.h:51: error: âGFP_KERNELâ undeclared (first use
in this function)
In file included from /usr/include/linux/module.h:24,
from proc.c:4:
/usr/include/asm/module.h:65:2: error: #error unknown processor family
In file included from proc.c:4:
/usr/include/linux/module.h: At top level:
/usr/include/linux/module.h:51: error: field âattrâ has incomplete type
/usr/include/linux/module.h:62: error: field âkobjâ has incomplete type
In file included from proc.c:6:
/usr/include/linux/proc_fs.h:79: error: field âlistâ has incomplete type
/usr/include/linux/proc_fs.h:264: error: field âvfs_inodeâ has incomplete
type
/usr/include/linux/proc_fs.h: In function âPROC_Iâ:
/usr/include/linux/proc_fs.h:269: error: expected expression before âstructâ
In file included from /usr/include/linux/uaccess.h:5,
from proc.c:7:
/usr/include/asm/uaccess.h: At top level:
/usr/include/asm/uaccess.h:389: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__copy_to_user_llâ
/usr/include/asm/uaccess.h:391: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__copy_from_user_llâ
/usr/include/asm/uaccess.h:393: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__copy_from_user_ll_nozeroâ
/usr/include/asm/uaccess.h:395: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__copy_from_user_ll_nocacheâ
/usr/include/asm/uaccess.h:397: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__copy_from_user_ll_nocache_nozeroâ
/usr/include/asm/uaccess.h:422: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__copy_to_user_inatomicâ
/usr/include/asm/uaccess.h:443: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__copy_to_userâ
/usr/include/asm/uaccess.h: In function â__copy_from_user_inatomicâ:
/usr/include/asm/uaccess.h:484: error: âu8â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:484: error: expected expression before â)â token
/usr/include/asm/uaccess.h:484: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:484: error: expected expression before â)â token
/usr/include/asm/uaccess.h:484: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:484: error: expected expression before â)â token
/usr/include/asm/uaccess.h:484: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:484: error: expected expression before â)â token
/usr/include/asm/uaccess.h:487: error: âu16â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:487: error: expected expression before â)â token
/usr/include/asm/uaccess.h:487: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:487: error: expected expression before â)â token
/usr/include/asm/uaccess.h:487: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:487: error: expected expression before â)â token
/usr/include/asm/uaccess.h:487: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:487: error: expected expression before â)â token
/usr/include/asm/uaccess.h:490: error: âu32â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:490: error: expected expression before â)â token
/usr/include/asm/uaccess.h:490: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:490: error: expected expression before â)â token
/usr/include/asm/uaccess.h:490: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:490: error: expected expression before â)â token
/usr/include/asm/uaccess.h:490: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:490: error: expected expression before â)â token
/usr/include/asm/uaccess.h:484: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:484: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:484: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:487: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:487: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:487: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:490: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:490: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:490: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h: In function â__copy_from_userâ:
/usr/include/asm/uaccess.h:505: error: âu8â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:505: error: expected expression before â)â token
/usr/include/asm/uaccess.h:505: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:505: error: expected expression before â)â token
/usr/include/asm/uaccess.h:505: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:505: error: expected expression before â)â token
/usr/include/asm/uaccess.h:505: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:505: error: expected expression before â)â token
/usr/include/asm/uaccess.h:508: error: âu16â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:508: error: expected expression before â)â token
/usr/include/asm/uaccess.h:508: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:508: error: expected expression before â)â token
/usr/include/asm/uaccess.h:508: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:508: error: expected expression before â)â token
/usr/include/asm/uaccess.h:508: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:508: error: expected expression before â)â token
/usr/include/asm/uaccess.h:511: error: âu32â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:511: error: expected expression before â)â token
/usr/include/asm/uaccess.h:511: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:511: error: expected expression before â)â token
/usr/include/asm/uaccess.h:511: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:511: error: expected expression before â)â token
/usr/include/asm/uaccess.h:511: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:511: error: expected expression before â)â token
/usr/include/asm/uaccess.h:505: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:505: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:505: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:508: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:508: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:508: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:511: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:511: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:511: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h: In function â__copy_from_user_nocacheâ:
/usr/include/asm/uaccess.h:529: error: âu8â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:529: error: expected expression before â)â token
/usr/include/asm/uaccess.h:529: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:529: error: expected expression before â)â token
/usr/include/asm/uaccess.h:529: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:529: error: expected expression before â)â token
/usr/include/asm/uaccess.h:529: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:529: error: expected expression before â)â token
/usr/include/asm/uaccess.h:532: error: âu16â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:532: error: expected expression before â)â token
/usr/include/asm/uaccess.h:532: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:532: error: expected expression before â)â token
/usr/include/asm/uaccess.h:532: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:532: error: expected expression before â)â token
/usr/include/asm/uaccess.h:532: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:532: error: expected expression before â)â token
/usr/include/asm/uaccess.h:535: error: âu32â undeclared (first use in this
function)
/usr/include/asm/uaccess.h:535: error: expected expression before â)â token
/usr/include/asm/uaccess.h:535: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:535: error: expected expression before â)â token
/usr/include/asm/uaccess.h:535: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:535: error: expected expression before â)â token
/usr/include/asm/uaccess.h:535: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:535: error: expected expression before â)â token
/usr/include/asm/uaccess.h:529: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:529: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:529: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:532: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:532: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:532: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:535: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:535: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h:535: error: matching constraint references invalid
operand number
/usr/include/asm/uaccess.h: At top level:
/usr/include/asm/uaccess.h:548: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âcopy_to_userâ
/usr/include/asm/uaccess.h:550: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âcopy_from_userâ
/usr/include/asm/uaccess.h:552: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âstrncpy_from_userâ
/usr/include/asm/uaccess.h:554: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__strncpy_from_userâ
/usr/include/asm/uaccess.h:574: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before âclear_userâ
/usr/include/asm/uaccess.h:575: error: expected â=â, â,â, â;â,
âasmâ or â__attribute__â before â__clear_userâ
In file included from proc.c:7:
/usr/include/linux/uaccess.h: In function âpagefault_disableâ:
/usr/include/linux/uaccess.h:18: error: invalid type argument of â->â
/usr/include/linux/uaccess.h: In function âpagefault_enableâ:
/usr/include/linux/uaccess.h:33: error: invalid type argument of â->â
proc.c: In function âprocfile_readâ:
proc.c:46: error: âKERN_INFOâ undeclared (first use in this function)
proc.c:46: error: expected â)â before string constant
proc.c:53: warning: incompatible implicit declaration of built-in function
âmemcpyâ
proc.c: In function âinit_moduleâ:
proc.c:92: error: âKERN_ALERTâ undeclared (first use in this function)
proc.c:92: error: expected â)â before string constant
proc.c:100: error: âS_IFREGâ undeclared (first use in this function)
proc.c:100: error: âS_IRUGOâ undeclared (first use in this function)
proc.c:105: error: âKERN_INFOâ undeclared (first use in this function)
proc.c:105: error: expected â)â before string constant
proc.c: In function âcleanup_moduleâ:
proc.c:116: error: âKERN_INFOâ undeclared (first use in this function)
proc.c:116: error: expected â)â before string constant
mv: cannot stat `./proc.bin': No such file or directory
c010: line 17: ./proc.bin: No such file or directory
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/