diff options
author | 2008-06-03 17:21:22 +0000 | |
---|---|---|
committer | 2008-06-03 17:21:22 +0000 | |
commit | 94add24c60b4aeaea7da695a74e52f39986e4886 (patch) | |
tree | e863d61a0f1af8b330dd4044f7b30a6b6dc53afc /lib/libc | |
parent | Simplify the use of pci_mapreg_map(). (diff) | |
download | wireguard-openbsd-94add24c60b4aeaea7da695a74e52f39986e4886.tar.xz wireguard-openbsd-94add24c60b4aeaea7da695a74e52f39986e4886.zip |
Make *drm(4) use D_CLONE so that the per-open data actually works. Since
i'm modifying this code anyway, prepare for privsep by making it so that
"master" openers must be root, and remove some spurious suser() checks.
For example, every DRM_ROOT_ONLY ioctl is also DRM_MASTER. Without this
change, privsep wouldn't work since the fd is no longer root owned.
With this, X privsep should work as soon as the userland bits are done
(currently unwritten).
Looked over by kettenis@, ok thib@.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions