media: cec-ioc-g-mode.rst: be more specific when EPERM is returned
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 22 May 2019 09:22:20 +0000 (05:22 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 23 May 2019 09:37:22 +0000 (05:37 -0400)
Document which capability is required, rather than just saying
that "root permissions" are required.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/media/uapi/cec/cec-ioc-g-mode.rst

index c53bb5f..d0902f3 100644 (file)
@@ -294,7 +294,8 @@ EINVAL
     The requested mode is invalid.
 
 EPERM
-    Monitor mode is requested without having root permissions
+    Monitor mode is requested, but the process does have the ``CAP_NET_ADMIN``
+    capability.
 
 EBUSY
     Someone else is already an exclusive follower or initiator.