aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Depoire--Ferrer <greg.depoire@gmail.com>2021-08-04 10:54:09 +0200
committerKenny Levinsen <kl@kl.wtf>2021-08-15 14:03:23 +0200
commitd78859bc9a7ed3c8e62c95087c4a9e56be2e95ce (patch)
tree8c5fca3bc61251022b483e46b22240edf8a3c2ce
parentd9ae4c3010abfa1a72f1030afd282b5490747775 (diff)
libseat: Update builtin backend root requirement documentation
The builtin backend no longer requires root, setuid or CAP_SYS_ADMIN. This commit updates the documentation accordingly.
-rw-r--r--include/libseat.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libseat.h b/include/libseat.h
index 2647fb9..385acd9 100644
--- a/include/libseat.h
+++ b/include/libseat.h
@@ -47,8 +47,10 @@ struct libseat_seat_listener {
* The available backends, if enabled at compile-time, are: seatd, logind and
* builtin.
*
- * To use builtin, the process must have CAP_SYS_ADMIN or be root at the time
- * of the call. These privileges can be dropped at any point after the call.
+ * To use builtin, the process must have permission to open and use the seat's
+ * devices at the time of the call. In the case of DRM devices, this includes
+ * permission for drmSetMaster(3). These privileges can be dropped at any
+ * point after the call.
*
* The returned pointer must be destroyed with libseat_close_seat.
*