From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 4 Mar 2015 10:11:05 -0800 Subject: locking a device for exclusive use by userspace process (or kernel thread) In-Reply-To: <1425491944.3069.29.camel@opteya.com> References: <1425491944.3069.29.camel@opteya.com> Message-ID: <20150304181105.GA13218@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, Mar 04, 2015 at 06:59:04PM +0100, Yann Droneaud wrote: > Hi, > > I have a device and I have to write a driver that exposes the > following three operations to kernel modules AND to userspace > programs: Why? What type of device is this? And who is asking you to do this homework assignment? good luck, greg k-h