hi everyone, I was tryign to read/write bits to 0x378 I/O port, using the ioperm() system call. But this allows only the root to access.
HOw do normal users access the port? i did read about SETUID(), but i dont really understand how it works for me ?? does anyone have any pointers on this ?? Also i am trying to uderstand how ot access using read and write. for that i would need to add the user as part of the group, which can access /dev/port. How do i add myself to the group? i guess.. in that case i wont be in my original group. Thanks for reading -rahul __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ _______________________________________________ Meeting on 6th 4pm at IIT Mumbai. See http://www.ilug-bom.org.in/meet/ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

