Derrik Pates ([EMAIL PROTECTED]): > > That's true for the install but not when the user is running the > > app, which is what I'm worried about. Surely, we don't need SUID > > just to display graphics? > > For the program that's using DGA to open and mmap() /dev/mem, it has > to be root. That's part of doing DGA. That's why it's called _direct_.
I never really understood the whole you need root to write to video memory issue. I always assumed there were two reasons, and please correct me if I'm wrong: 1. We don't have kernel-level video drivers, so we can't safely mmap to a user app sections of video memory. 2. Giving a user full access to the framebuffer is dangerous so only let root do it. That is, there's no reason you need full access to /dev/mem just to write to the framebuffer, it's just some silliness because of the way everything is architectured. I'd love to find out the real reason though. -- Billy Biggs [EMAIL PROTECTED] _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
