Re: Char device driver. Illegal seek.

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

 



I think what u need is this:

http://lwn.net/Articles/97154/

On Thu, Mar 5, 2009 at 5:27 PM, Denis Borisevich <dennisfen@xxxxxxxxx> wrote:
> Hi!
>
> My char device is not seekable and I try to disable seeking on it
> using nonseekable_open() in my open() function. But still I have
> Illegal seek returned by userspace application when performing actions
> on dev node connected to my device. Is there any way to _really_
> prevent llseek() to be performed on my device?
>
> --
> Denis
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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