X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=prochand.tex;h=c8f6ad4f3a722e544c89ec215e0a691bbae41a55;hp=9a59964518678dc76eb79dd4d452b0db20664a3d;hb=dc5d6dd815d1aeac2f42891ec2f0a3f38c816ac1;hpb=fb2937152ac00dcf1536534a215adaa8fc4fd2d3 diff --git a/prochand.tex b/prochand.tex index 9a59964..c8f6ad4 100644 --- a/prochand.tex +++ b/prochand.tex @@ -50,12 +50,12 @@ Tutti i processi inoltre portano traccia del pid del genitore, chiamato in genere \textit{ppid} (da \textit{Parente Process Id}). Questi identificativi possono essere ottenuti da un programma usando le funzioni: \begin{functions} -\incldecl{sys/types.h} -\incldecl{unistd.h} +\headdecl{sys/types.h} +\headdecl{unistd.h} \funcdecl{pid\_t getpid(void)} restituisce il pid del processo corrente. \funcdecl{pid\_t getppid(void)} restituisce il pid del padre del processo corrente. -\end{} +\end{functions} \section{Il controllo dei processi} @@ -132,6 +132,8 @@ viene eseguito dal padre o dal figlio. \label{sec:prochand_exec} + + \section{Il controllo di accesso} \label{sec:prochand_perms} @@ -143,5 +145,5 @@ Linux come il filesystem uid. \subsection{Le funzioni \texttt{seteuid} e \texttt{setegid}} -\label{sec:prochand_setuid} +\label{sec:prochand_seteuid}