RE: Getting 'bad file number' error writing to device driver

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

 



Title: RE: Getting 'bad file number' error writing to device driver



-----Original Message-----
Maybe setuid bit can help you ([1]). When this bit is set, a certain program
can run with the privileges of its owner.

thanks,
Daniel.

[1] http://en.wikipedia.org/wiki/Setuid

--------
Daniel,
Thanks for the link; but this bit has to be set on the original executable.
Is there any way a program in user mode can get around this or set the bit himself?
Anil

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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