Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] What is insmod ’ing? #134

Closed
mengxinayan opened this issue Dec 20, 2021 · 2 comments
Closed

[Question] What is insmod ’ing? #134

mengxinayan opened this issue Dec 20, 2021 · 2 comments

Comments

@mengxinayan
Copy link
Contributor

I raise a question when I read section 5.2, What does insmod ’ing mean. I tried to search it in Google, but I didn't find anything:(. I'm not sure if this is a slip of a pen.

5.2 Functions available to modules
Kernel modules are different here, too. In the hello world example, you might have noticed that we used a function, pr_info() but did not include a standard I/O library. That is because modules are object files whose symbols get resolved upon insmod ’ing. The definition for the symbols comes from the kernel itself; the only external functions you can use are the ones provided by the kernel. If you’re curious about what symbols have been exported by your kernel, take a look at /proc/kallsyms.

Thanks.

@hckuo2
Copy link

hckuo2 commented Mar 15, 2022

It means installing a loadable kernel module via tools like modprobe or insmod.

@jserv jserv closed this as completed in 19521bc Mar 16, 2022
@jserv
Copy link
Contributor

jserv commented Mar 16, 2022

Thank @mengxinayan and @hckuo for clarifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants