From d78859bc9a7ed3c8e62c95087c4a9e56be2e95ce Mon Sep 17 00:00:00 2001 From: Greg Depoire--Ferrer Date: Wed, 4 Aug 2021 10:54:09 +0200 Subject: 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. --- include/libseat.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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. * -- cgit v1.2.3