Re: set parameter from module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 5/11/06, Christian Boon <c.boon@xxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

i know it is possible with an ioctl to change a value in a kernel module.
Is it possible to let a kernel module change a value in user space when
some kind of error occurs?
so that i dont need to check 'if' an error occured.

Christian.

Why do you want to do this way? Can you explain the need for this kind of design more in detail? Did you check if there are any concurrency issues/race conditions when your kernel module is accesing your user-space memory ?

Normally, returning special error codes from kernel-space and taking actions according to them is a cleaner and safer design. 

--
"There are 10 people in the world - those who understand binary and those who dont !"

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux