[bootlin/training-materials updates] master: graphics: slides: clarify scope of sentence about magic authentication (1b5bd105)

Luca Ceresoli luca.ceresoli at bootlin.com
Mon Oct 9 14:50:43 CEST 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/1b5bd1054d0c1bd64b7a29b4a6cd7a16f23599b0

>---------------------------------------------------------------

commit 1b5bd1054d0c1bd64b7a29b4a6cd7a16f23599b0
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Mon Oct 9 14:48:46 2023 +0200

    graphics: slides: clarify scope of sentence about magic authentication
    
    The sentence "Mostly used before render nodes..." refers to the previous
    bullet, thus make it a sub-bullet to clarify that. Also move it before the
    enumerated items which makes it nicer looking.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


>---------------------------------------------------------------

1b5bd1054d0c1bd64b7a29b4a6cd7a16f23599b0
 slides/graphics-software/graphics-software.tex | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/slides/graphics-software/graphics-software.tex b/slides/graphics-software/graphics-software.tex
index 91e5c302..e3a948ff 100644
--- a/slides/graphics-software/graphics-software.tex
+++ b/slides/graphics-software/graphics-software.tex
@@ -456,6 +456,9 @@ ret = ioctl(drm_fd, DRM_IOCTL_DROP_MASTER, NULL);
   \item Requires \code{CAP_SYS_ADMIN} Linux capability, see \code{capabilities} man page\\
     \textit{usually reserved to the root super user}
   \item Some operations can be allowed on trusted clients with \textbf{magic authentication}:
+    \begin{itemize}
+      \item Mostly used before render nodes or for allocating buffers on another process
+    \end{itemize}
   \begin{enumerate}
   \item Client \textit{foo} gets its client-specific magic:
   \begin{minted}[fontsize=\small]{console}
@@ -468,7 +471,6 @@ ret = ioctl(drm_fd, DRM_IOCTL_GET_MAGIC, &auth);
 ret = ioctl(drm_fd, DRM_IOCTL_AUTH_MAGIC, &auth);
   \end{minted}
   \end{enumerate}
-  \item Mostly used before render nodes or for allocating buffers on another process
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list