If two kernel module contain EXPORT_SYMBOL(a), a is defined as: int a, what will happen if two module was inserted? which “a” will be used?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t insert duplicate symbols into the kernel. Example:
The
xormodule loaded in my kernelThe exported
xor_blockssymbol in thexormoduleAnother exported
xor_blockssymbol in a module I createdError reported from
insmodDuplicate error message from
dmesg