kernel-module
Linux Kernel - Where in the kernel are blocks of data physically written to specific disk partitions?
I\'m modifying the Linux kernel and am trying to find where in the kernel source blocks of data are physically written to disk partitions such as ubd0. Where does this occur in kernel source? The actu[详细]
2022-12-26 05:14 分类:问答Linux - Programmatically write to a proc file
I have found several examples online where we can create a proc file, assign read and write methods that are called every time the proc file is opened for read or written to.[详细]
2022-12-25 09:34 分类:问答Linux Kernel Module - Creating proc file - proc_root undeclared error
I copy and paste code from this URL for creating and reading/writing a proc file using a kernel module and get the error that proc_root is undeclared. This same example is on a few sites so I assume i[详细]
2022-12-25 01:42 分类:问答Linux Kernel - Integer to ASCII
I need to convert an integer to it\'s ASCII representation from within the Linux Kernel. How开发者_如何学Go can I do this? I can\'t find any built-in conversion methods. Are there any already in the k[详细]
2022-12-24 04:55 分类:问答Changing the Interrupt descriptor Table
I am using Linux 2.6.26 kernel version and I am trying to change the interrupt descriptor table using a kernel module. I am only trying to change the page fault table entry here. So I make a copy of t[详细]
2022-12-23 16:12 分类:问答How do I compile a module in User Mode Linux
Having a tough time compiling a module for User Mode Linux. I just need a basic way to compile a very basic module in user mode linux and cannot seem to get it to work. I checked out the how-to on sou[详细]
2022-12-23 12:28 分类:问答mvc 2.0 validation
I am use DataAnnotations validation, it work perfectly but when I validate empty开发者_开发问答 text box field I have error[详细]
2022-12-20 22:09 分类:问答Passing Arguments wrongly? C Question
When my TimerExpire function is finally called when the timer ticks out, it prints out gibberish. Anyone know why? But my printk function in IOCTL_MAKE_TIMER prints out correctly, so I think it\'s bec[详细]
2022-12-20 11:59 分类:问答How do I use ioctl() to manipulate my kernel module?
So I\'m trying to write a kernel module that uses the linux/timer.h file. I got it to work inside just the module, and now I am trying to get it to work from a user program.[详细]
2022-12-20 00:01 分类:问答Linux Kernel Modules: When to use try_module_get / module_put
I was reading the LK开发者_开发知识库MPG ( See Section 4.1.4. Unregistering A Device ) and it wasn\'t clear to me when to use the try_module_get / module_put functions.Some of the LKMPG examples use t[详细]
2022-12-11 18:46 分类:问答