any reason drmDropMaster() has to be root?

2012-04-11 Thread Vic Lee
Hi Everyone, I am referring to this line in drm_drv.c in drm module: DRM_IOCTL_DEF(DRM_IOCTL_DROP_MASTER, drm_dropmaster_ioctl, DRM_ROOT_ONLY) I can understand that set_master requires root, but if the process is already master and just want to drop itself from master, I don't see any point wh

any reason drmDropMaster() has to be root?

2012-04-10 Thread Vic Lee
Hi Everyone, I am referring to this line in drm_drv.c in drm module: DRM_IOCTL_DEF(DRM_IOCTL_DROP_MASTER, drm_dropmaster_ioctl, DRM_ROOT_ONLY) I can understand that set_master requires root, but if the process is already master and just want to drop itself from master, I don't see any point w