Skip to content

Commit

Permalink
graphics: slides: clarify scope of sentence about magic authentication
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
lucaceresoli committed Oct 9, 2023
1 parent 070e493 commit 1b5bd10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slides/graphics-software/graphics-software.tex
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,9 @@ \subsection{DRM Kernel Aspects}
\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}
Expand All @@ -468,7 +471,6 @@ \subsection{DRM Kernel Aspects}
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}

Expand Down

0 comments on commit 1b5bd10

Please sign in to comment.