\hypertarget{kern__priv_8c}{}\doxysection{kern/kern\+\_\+priv.c File Reference}
\label{kern__priv_8c}\index{kern/kern\_priv.c@{kern/kern\_priv.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/param.\+h$>$}\newline
{\ttfamily \#include $<$sys/jail.\+h$>$}\newline
{\ttfamily \#include $<$sys/kernel.\+h$>$}\newline
{\ttfamily \#include $<$sys/lock.\+h$>$}\newline
{\ttfamily \#include $<$sys/mutex.\+h$>$}\newline
{\ttfamily \#include $<$sys/sx.\+h$>$}\newline
{\ttfamily \#include $<$sys/priv.\+h$>$}\newline
{\ttfamily \#include $<$sys/proc.\+h$>$}\newline
{\ttfamily \#include $<$sys/sdt.\+h$>$}\newline
{\ttfamily \#include $<$sys/sysctl.\+h$>$}\newline
{\ttfamily \#include $<$sys/systm.\+h$>$}\newline
{\ttfamily \#include $<$security/mac/mac\+\_\+framework.\+h$>$}\newline
Include dependency graph for kern\+\_\+priv.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d9/d51/kern__priv_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{kern__priv_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static bool \mbox{\hyperlink{kern__priv_8c_a3717d82443c2340966ab6d4028fe11fb}{suser\+\_\+enabled}} (struct ucred $\ast$cred)
\item 
static int \mbox{\hyperlink{kern__priv_8c_a78f793b730df2ca72079dca0a723f47a}{sysctl\+\_\+kern\+\_\+suser\+\_\+enabled}} (SYSCTL\+\_\+\+HANDLER\+\_\+\+ARGS)
\item 
\mbox{\hyperlink{kern__priv_8c_a3d12f4533f404d399d3c111e22b7b229}{SYSCTL\+\_\+\+PROC}} (\+\_\+security\+\_\+bsd, OID\+\_\+\+AUTO, \mbox{\hyperlink{kern__priv_8c_a3717d82443c2340966ab6d4028fe11fb}{suser\+\_\+enabled}}, CTLTYPE\+\_\+\+INT$\vert$CTLFLAG\+\_\+\+RWTUN$\vert$CTLFLAG\+\_\+\+PRISON$\vert$CTLFLAG\+\_\+\+MPSAFE, 0, 0, \&\mbox{\hyperlink{kern__priv_8c_a78f793b730df2ca72079dca0a723f47a}{sysctl\+\_\+kern\+\_\+suser\+\_\+enabled}}, \char`\"{}I\char`\"{}, \char`\"{}Processes with uid 0 have privilege\char`\"{})
\item 
\mbox{\hyperlink{kern__priv_8c_a7fc810b007677fdcaf9c59811c7f2004}{SYSCTL\+\_\+\+INT}} (\+\_\+security\+\_\+bsd, OID\+\_\+\+AUTO, \mbox{\hyperlink{kern__priv_8c_a845e95c52993fc7f48b0def9606d2db0}{unprivileged\+\_\+mlock}}, CTLFLAG\+\_\+\+RWTUN, \&\mbox{\hyperlink{kern__priv_8c_a845e95c52993fc7f48b0def9606d2db0}{unprivileged\+\_\+mlock}}, 0, \char`\"{}Allow non-\/root users to call mlock(2)\char`\"{})
\item 
\mbox{\hyperlink{kern__priv_8c_acc4b25815499539a37f1d6d2677e6b62}{SYSCTL\+\_\+\+INT}} (\+\_\+security\+\_\+bsd, OID\+\_\+\+AUTO, \mbox{\hyperlink{kern__priv_8c_a7fba2b38a25c1d7a2f50d43172b6e3fb}{unprivileged\+\_\+read\+\_\+msgbuf}}, CTLFLAG\+\_\+\+RW, \&\mbox{\hyperlink{kern__priv_8c_a7fba2b38a25c1d7a2f50d43172b6e3fb}{unprivileged\+\_\+read\+\_\+msgbuf}}, 0, \char`\"{}Unprivileged processes may read the kernel message buffer\char`\"{})
\item 
\mbox{\hyperlink{kern__priv_8c_ae05b3fde75d36a97bb07cf408bd43e3b}{SDT\+\_\+\+PROVIDER\+\_\+\+DEFINE}} (priv)
\item 
\mbox{\hyperlink{kern__priv_8c_a411f80684338438319ac7cf7f57f623d}{SDT\+\_\+\+PROBE\+\_\+\+DEFINE1}} (priv, kernel, \mbox{\hyperlink{kern__priv_8c_ac4dc084503bdb7f59e5032c6bd761ef6}{priv\+\_\+check}}, priv\+\_\+\+\_\+ok, \char`\"{}int\char`\"{})
\item 
\mbox{\hyperlink{kern__priv_8c_a46377f59b4469897e7f2dc25661f3c48}{SDT\+\_\+\+PROBE\+\_\+\+DEFINE1}} (priv, kernel, \mbox{\hyperlink{kern__priv_8c_ac4dc084503bdb7f59e5032c6bd761ef6}{priv\+\_\+check}}, priv\+\_\+\+\_\+err, \char`\"{}int\char`\"{})
\item 
static \+\_\+\+\_\+always\+\_\+inline int \mbox{\hyperlink{kern__priv_8c_a6fad0a0291ccd473228a6f451b084b56}{priv\+\_\+check\+\_\+cred\+\_\+pre}} (struct ucred $\ast$cred, int priv)
\item 
static \+\_\+\+\_\+always\+\_\+inline int \mbox{\hyperlink{kern__priv_8c_a11f964a5583dbc2c0ac4b15371910984}{priv\+\_\+check\+\_\+cred\+\_\+post}} (struct ucred $\ast$cred, int priv, int error, bool handled)
\item 
int \mbox{\hyperlink{kern__priv_8c_abcdd924a199062c9396da9b8d5a725c7}{priv\+\_\+check\+\_\+cred}} (struct ucred $\ast$cred, int priv)
\item 
int \mbox{\hyperlink{kern__priv_8c_ac4dc084503bdb7f59e5032c6bd761ef6}{priv\+\_\+check}} (struct thread $\ast$td, int priv)
\item 
static int \+\_\+\+\_\+noinline \mbox{\hyperlink{kern__priv_8c_a7ea1178826a97fb0bd449bafde3d7c6a}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+slow}} (struct ucred $\ast$cred)
\item 
int \mbox{\hyperlink{kern__priv_8c_adb7cb7a3518f7a0d0d261f6c1748d2fb}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup}} (struct ucred $\ast$cred)
\item 
int \mbox{\hyperlink{kern__priv_8c_a3214b9865505fb79847aeac27446dba1}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+nomac}} (struct ucred $\ast$cred)
\item 
static int \+\_\+\+\_\+noinline \mbox{\hyperlink{kern__priv_8c_a6268dea52ee23d8795377ba082d68857}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation\+\_\+slow}} (struct ucred $\ast$cred)
\item 
int \mbox{\hyperlink{kern__priv_8c_a257b038f23b9968443c72e5cd7ec99d1}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation}} (struct ucred $\ast$cred)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static int \mbox{\hyperlink{kern__priv_8c_a845e95c52993fc7f48b0def9606d2db0}{unprivileged\+\_\+mlock}} = 1
\item 
static int \mbox{\hyperlink{kern__priv_8c_a7fba2b38a25c1d7a2f50d43172b6e3fb}{unprivileged\+\_\+read\+\_\+msgbuf}} = 1
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{kern__priv_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{kern__priv_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{kern\_priv.c@{kern\_priv.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{kern__priv_8c_ac4dc084503bdb7f59e5032c6bd761ef6}\label{kern__priv_8c_ac4dc084503bdb7f59e5032c6bd761ef6}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check@{priv\_check}}
\index{priv\_check@{priv\_check}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check()}{priv\_check()}}
{\footnotesize\ttfamily int priv\+\_\+check (\begin{DoxyParamCaption}\item[{struct thread $\ast$}]{td,  }\item[{int}]{priv }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00271}{271}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__priv_8c_source_l00151}{priv\+\_\+check\+\_\+cred()}}.



Referenced by \mbox{\hyperlink{kern__descrip_8c_source_l02088}{\+\_\+falloc\+\_\+noinstall()}}, \mbox{\hyperlink{kern__intr_8c_source_l00325}{\+\_\+intr\+\_\+event\+\_\+bind()}}, \mbox{\hyperlink{kern__cpuset_8c_source_l00683}{cpuset\+\_\+modify()}}, \mbox{\hyperlink{kern__cpuset_8c_source_l00804}{cpuset\+\_\+modify\+\_\+domain()}}, \mbox{\hyperlink{kern__cpuset_8c_source_l01204}{cpuset\+\_\+setproc()}}, \mbox{\hyperlink{subr__bus_8c_source_l05835}{devctl2\+\_\+ioctl()}}, \mbox{\hyperlink{kern__umtx_8c_source_l02480}{do\+\_\+lock\+\_\+pp()}}, \mbox{\hyperlink{kern__umtx_8c_source_l02646}{do\+\_\+unlock\+\_\+pp()}}, \mbox{\hyperlink{kern__resource_8c_source_l00268}{donice()}}, \mbox{\hyperlink{kern__shutdown_8c_source_l01236}{dumper\+\_\+insert()}}, \mbox{\hyperlink{kern__shutdown_8c_source_l01372}{dumper\+\_\+remove()}}, \mbox{\hyperlink{subr__firmware_8c_source_l00288}{firmware\+\_\+get\+\_\+flags()}}, \mbox{\hyperlink{sysv__ipc_8c_source_l00090}{ipcperm()}}, \mbox{\hyperlink{kern__ntptime_8c_source_l00960}{kern\+\_\+adjtime()}}, \mbox{\hyperlink{kern__time_8c_source_l00404}{kern\+\_\+clock\+\_\+settime()}}, \mbox{\hyperlink{kern__descrip_8c_source_l00488}{kern\+\_\+fcntl()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l04491}{kern\+\_\+fhlinkat()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l04573}{kern\+\_\+fhopen()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l04671}{kern\+\_\+fhstat()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l04719}{kern\+\_\+fhstatfs()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l04429}{kern\+\_\+getfhat()}}, \mbox{\hyperlink{kern__jail_8c_source_l00928}{kern\+\_\+jail\+\_\+set()}}, \mbox{\hyperlink{kern__linker_8c_source_l01128}{kern\+\_\+kldload()}}, \mbox{\hyperlink{kern__linker_8c_source_l01197}{kern\+\_\+kldunload()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l01582}{kern\+\_\+linkat()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l01325}{kern\+\_\+mknodat()}}, \mbox{\hyperlink{sysv__msg_8c_source_l00499}{kern\+\_\+msgctl()}}, \mbox{\hyperlink{kern__ntptime_8c_source_l00341}{kern\+\_\+ntp\+\_\+adjtime()}}, \mbox{\hyperlink{kern__resource_8c_source_l00656}{kern\+\_\+proc\+\_\+setrlimit()}}, \mbox{\hyperlink{kern__time_8c_source_l00699}{kern\+\_\+settimeofday()}}, \mbox{\hyperlink{vfs__mount_8c_source_l01589}{kern\+\_\+unmount()}}, \mbox{\hyperlink{uipc__mqueue_8c_source_l01239}{mqfs\+\_\+setattr()}}, \mbox{\hyperlink{kern__prot_8c_source_l01681}{p\+\_\+candebug()}}, \mbox{\hyperlink{kern__prot_8c_source_l01613}{p\+\_\+cansched()}}, \mbox{\hyperlink{kern__priv_8c_source_l00115}{priv\+\_\+check\+\_\+cred\+\_\+post()}}, \mbox{\hyperlink{kern__procctl_8c_source_l00105}{protect\+\_\+set()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l02713}{setfflags()}}, \mbox{\hyperlink{kern__acct_8c_source_l00205}{sys\+\_\+acct()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l00983}{sys\+\_\+chroot()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l04527}{sys\+\_\+fhreadlink()}}, \mbox{\hyperlink{kern__jail_8c_source_l02556}{sys\+\_\+jail\+\_\+attach()}}, \mbox{\hyperlink{kern__jail_8c_source_l02525}{sys\+\_\+jail\+\_\+remove()}}, \mbox{\hyperlink{kern__environment_8c_source_l00160}{sys\+\_\+kenv()}}, \mbox{\hyperlink{kern__shutdown_8c_source_l00300}{sys\+\_\+reboot()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l04272}{sys\+\_\+revoke()}}, \mbox{\hyperlink{kern__resource_8c_source_l00382}{sys\+\_\+rtprio()}}, \mbox{\hyperlink{kern__resource_8c_source_l00301}{sys\+\_\+rtprio\+\_\+thread()}}, \mbox{\hyperlink{kern__prot_8c_source_l02368}{sys\+\_\+setlogin()}}, \mbox{\hyperlink{kern__loginclass_8c_source_l00207}{sys\+\_\+setloginclass()}}, \mbox{\hyperlink{subr__prf_8c_source_l01059}{sysctl\+\_\+kern\+\_\+msgbuf()}}, \mbox{\hyperlink{kern__sysctl_8c_source_l02211}{sysctl\+\_\+root()}}, \mbox{\hyperlink{kern__thr_8c_source_l00192}{thread\+\_\+create()}}, \mbox{\hyperlink{tty_8c_source_l01627}{tty\+\_\+generic\+\_\+ioctl()}}, \mbox{\hyperlink{tty_8c_source_l00273}{ttydev\+\_\+open()}}, \mbox{\hyperlink{tty_8c_source_l00849}{ttyil\+\_\+ioctl()}}, \mbox{\hyperlink{vfs__mount_8c_source_l01477}{vfs\+\_\+domount()}}, \mbox{\hyperlink{vfs__subr_8c_source_l00965}{vfs\+\_\+suser()}}, and \mbox{\hyperlink{vfs__vnops_8c_source_l01439}{vn\+\_\+io\+\_\+fault()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_ac4dc084503bdb7f59e5032c6bd761ef6_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_abcdd924a199062c9396da9b8d5a725c7}\label{kern__priv_8c_abcdd924a199062c9396da9b8d5a725c7}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check\_cred@{priv\_check\_cred}}
\index{priv\_check\_cred@{priv\_check\_cred}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check\_cred()}{priv\_check\_cred()}}
{\footnotesize\ttfamily int priv\+\_\+check\+\_\+cred (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred,  }\item[{int}]{priv }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00151}{151}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__jail_8c_source_l02761}{prison\+\_\+allow()}}, \mbox{\hyperlink{kern__jail_8c_source_l03613}{prison\+\_\+priv\+\_\+check()}}, \mbox{\hyperlink{kern__priv_8c_source_l00115}{priv\+\_\+check\+\_\+cred\+\_\+post()}}, \mbox{\hyperlink{kern__priv_8c_source_l00102}{priv\+\_\+check\+\_\+cred\+\_\+pre()}}, \mbox{\hyperlink{kern__priv_8c_source_l00355}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation()}}, \mbox{\hyperlink{kern__priv_8c_source_l00300}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup()}}, \mbox{\hyperlink{kern__priv_8c_source_l00063}{suser\+\_\+enabled()}}, \mbox{\hyperlink{kern__priv_8c_source_l00088}{unprivileged\+\_\+mlock}}, and \mbox{\hyperlink{kern__priv_8c_source_l00092}{unprivileged\+\_\+read\+\_\+msgbuf}}.



Referenced by \mbox{\hyperlink{vfs__syscalls_8c_source_l01554}{can\+\_\+hardlink()}}, \mbox{\hyperlink{kern__prot_8c_source_l01378}{cr\+\_\+canseeothergids()}}, \mbox{\hyperlink{kern__prot_8c_source_l01348}{cr\+\_\+canseeotheruids()}}, \mbox{\hyperlink{kern__prot_8c_source_l01494}{cr\+\_\+cansignal()}}, \mbox{\hyperlink{uipc__mqueue_8c_source_l01026}{do\+\_\+unlink()}}, \mbox{\hyperlink{vfs__subr_8c_source_l05396}{extattr\+\_\+check\+\_\+cred()}}, \mbox{\hyperlink{kern__fork_8c_source_l00853}{fork1()}}, \mbox{\hyperlink{kern__prot_8c_source_l00825}{kern\+\_\+setgroups()}}, \mbox{\hyperlink{uipc__sem_8c_source_l00359}{ksem\+\_\+access()}}, \mbox{\hyperlink{uipc__sem_8c_source_l00224}{ksem\+\_\+chown()}}, \mbox{\hyperlink{uipc__mqueue_8c_source_l02578}{mqf\+\_\+chown()}}, \mbox{\hyperlink{kern__priv_8c_source_l00271}{priv\+\_\+check()}}, \mbox{\hyperlink{uipc__shm_8c_source_l01666}{shm\+\_\+chown()}}, \mbox{\hyperlink{kern__prot_8c_source_l00753}{sys\+\_\+setegid()}}, \mbox{\hyperlink{kern__prot_8c_source_l00599}{sys\+\_\+seteuid()}}, \mbox{\hyperlink{kern__prot_8c_source_l00655}{sys\+\_\+setgid()}}, \mbox{\hyperlink{kern__prot_8c_source_l00954}{sys\+\_\+setregid()}}, \mbox{\hyperlink{kern__prot_8c_source_l01106}{sys\+\_\+setresgid()}}, \mbox{\hyperlink{kern__prot_8c_source_l01019}{sys\+\_\+setresuid()}}, \mbox{\hyperlink{kern__prot_8c_source_l00879}{sys\+\_\+setreuid()}}, \mbox{\hyperlink{kern__prot_8c_source_l00480}{sys\+\_\+setuid()}}, \mbox{\hyperlink{vfs__subr_8c_source_l05284}{vaccess()}}, \mbox{\hyperlink{subr__acl__nfs4_8c_source_l00173}{vaccess\+\_\+acl\+\_\+nfs4()}}, \mbox{\hyperlink{subr__acl__posix1e_8c_source_l00059}{vaccess\+\_\+acl\+\_\+posix1e()}}, and \mbox{\hyperlink{vfs__mount_8c_source_l01080}{vfs\+\_\+domount\+\_\+first()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_abcdd924a199062c9396da9b8d5a725c7_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{df/dd6/kern__priv_8c_abcdd924a199062c9396da9b8d5a725c7_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a11f964a5583dbc2c0ac4b15371910984}\label{kern__priv_8c_a11f964a5583dbc2c0ac4b15371910984}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check\_cred\_post@{priv\_check\_cred\_post}}
\index{priv\_check\_cred\_post@{priv\_check\_cred\_post}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check\_cred\_post()}{priv\_check\_cred\_post()}}
{\footnotesize\ttfamily static \+\_\+\+\_\+always\+\_\+inline int priv\+\_\+check\+\_\+cred\+\_\+post (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred,  }\item[{int}]{priv,  }\item[{int}]{error,  }\item[{bool}]{handled }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00115}{115}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__priv_8c_source_l00271}{priv\+\_\+check()}}.



Referenced by \mbox{\hyperlink{kern__priv_8c_source_l00151}{priv\+\_\+check\+\_\+cred()}}, \mbox{\hyperlink{kern__priv_8c_source_l00330}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation\+\_\+slow()}}, and \mbox{\hyperlink{kern__priv_8c_source_l00280}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+slow()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a11f964a5583dbc2c0ac4b15371910984_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a11f964a5583dbc2c0ac4b15371910984_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a6fad0a0291ccd473228a6f451b084b56}\label{kern__priv_8c_a6fad0a0291ccd473228a6f451b084b56}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check\_cred\_pre@{priv\_check\_cred\_pre}}
\index{priv\_check\_cred\_pre@{priv\_check\_cred\_pre}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check\_cred\_pre()}{priv\_check\_cred\_pre()}}
{\footnotesize\ttfamily static \+\_\+\+\_\+always\+\_\+inline int priv\+\_\+check\+\_\+cred\+\_\+pre (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred,  }\item[{int}]{priv }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00102}{102}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



Referenced by \mbox{\hyperlink{kern__priv_8c_source_l00151}{priv\+\_\+check\+\_\+cred()}}, \mbox{\hyperlink{kern__priv_8c_source_l00330}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation\+\_\+slow()}}, and \mbox{\hyperlink{kern__priv_8c_source_l00280}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+slow()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a6fad0a0291ccd473228a6f451b084b56_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a257b038f23b9968443c72e5cd7ec99d1}\label{kern__priv_8c_a257b038f23b9968443c72e5cd7ec99d1}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check\_cred\_vfs\_generation@{priv\_check\_cred\_vfs\_generation}}
\index{priv\_check\_cred\_vfs\_generation@{priv\_check\_cred\_vfs\_generation}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check\_cred\_vfs\_generation()}{priv\_check\_cred\_vfs\_generation()}}
{\footnotesize\ttfamily int priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00355}{355}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__priv_8c_source_l00330}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation\+\_\+slow()}}, and \mbox{\hyperlink{kern__priv_8c_source_l00063}{suser\+\_\+enabled()}}.



Referenced by \mbox{\hyperlink{vfs__syscalls_8c_source_l00280}{kern\+\_\+do\+\_\+statfs()}}, \mbox{\hyperlink{vfs__syscalls_8c_source_l00427}{kern\+\_\+getfsstat()}}, and \mbox{\hyperlink{kern__priv_8c_source_l00151}{priv\+\_\+check\+\_\+cred()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a257b038f23b9968443c72e5cd7ec99d1_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a257b038f23b9968443c72e5cd7ec99d1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a6268dea52ee23d8795377ba082d68857}\label{kern__priv_8c_a6268dea52ee23d8795377ba082d68857}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check\_cred\_vfs\_generation\_slow@{priv\_check\_cred\_vfs\_generation\_slow}}
\index{priv\_check\_cred\_vfs\_generation\_slow@{priv\_check\_cred\_vfs\_generation\_slow}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check\_cred\_vfs\_generation\_slow()}{priv\_check\_cred\_vfs\_generation\_slow()}}
{\footnotesize\ttfamily static int \+\_\+\+\_\+noinline priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation\+\_\+slow (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00330}{330}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__priv_8c_source_l00115}{priv\+\_\+check\+\_\+cred\+\_\+post()}}, \mbox{\hyperlink{kern__priv_8c_source_l00102}{priv\+\_\+check\+\_\+cred\+\_\+pre()}}, and \mbox{\hyperlink{kern__priv_8c_source_l00063}{suser\+\_\+enabled()}}.



Referenced by \mbox{\hyperlink{kern__priv_8c_source_l00355}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a6268dea52ee23d8795377ba082d68857_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a6268dea52ee23d8795377ba082d68857_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_adb7cb7a3518f7a0d0d261f6c1748d2fb}\label{kern__priv_8c_adb7cb7a3518f7a0d0d261f6c1748d2fb}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check\_cred\_vfs\_lookup@{priv\_check\_cred\_vfs\_lookup}}
\index{priv\_check\_cred\_vfs\_lookup@{priv\_check\_cred\_vfs\_lookup}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check\_cred\_vfs\_lookup()}{priv\_check\_cred\_vfs\_lookup()}}
{\footnotesize\ttfamily int priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00300}{300}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__priv_8c_source_l00280}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+slow()}}, and \mbox{\hyperlink{kern__priv_8c_source_l00063}{suser\+\_\+enabled()}}.



Referenced by \mbox{\hyperlink{kern__priv_8c_source_l00151}{priv\+\_\+check\+\_\+cred()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_adb7cb7a3518f7a0d0d261f6c1748d2fb_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{df/dd6/kern__priv_8c_adb7cb7a3518f7a0d0d261f6c1748d2fb_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a3214b9865505fb79847aeac27446dba1}\label{kern__priv_8c_a3214b9865505fb79847aeac27446dba1}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check\_cred\_vfs\_lookup\_nomac@{priv\_check\_cred\_vfs\_lookup\_nomac}}
\index{priv\_check\_cred\_vfs\_lookup\_nomac@{priv\_check\_cred\_vfs\_lookup\_nomac}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check\_cred\_vfs\_lookup\_nomac()}{priv\_check\_cred\_vfs\_lookup\_nomac()}}
{\footnotesize\ttfamily int priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+nomac (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00315}{315}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__priv_8c_source_l00063}{suser\+\_\+enabled()}}.



Referenced by \mbox{\hyperlink{vfs__subr_8c_source_l05227}{vaccess\+\_\+vexec\+\_\+smr()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a3214b9865505fb79847aeac27446dba1_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=345pt]{df/dd6/kern__priv_8c_a3214b9865505fb79847aeac27446dba1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a7ea1178826a97fb0bd449bafde3d7c6a}\label{kern__priv_8c_a7ea1178826a97fb0bd449bafde3d7c6a}} 
\index{kern\_priv.c@{kern\_priv.c}!priv\_check\_cred\_vfs\_lookup\_slow@{priv\_check\_cred\_vfs\_lookup\_slow}}
\index{priv\_check\_cred\_vfs\_lookup\_slow@{priv\_check\_cred\_vfs\_lookup\_slow}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{priv\_check\_cred\_vfs\_lookup\_slow()}{priv\_check\_cred\_vfs\_lookup\_slow()}}
{\footnotesize\ttfamily static int \+\_\+\+\_\+noinline priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+slow (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00280}{280}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__priv_8c_source_l00115}{priv\+\_\+check\+\_\+cred\+\_\+post()}}, \mbox{\hyperlink{kern__priv_8c_source_l00102}{priv\+\_\+check\+\_\+cred\+\_\+pre()}}, and \mbox{\hyperlink{kern__priv_8c_source_l00063}{suser\+\_\+enabled()}}.



Referenced by \mbox{\hyperlink{kern__priv_8c_source_l00300}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a7ea1178826a97fb0bd449bafde3d7c6a_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a7ea1178826a97fb0bd449bafde3d7c6a_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a46377f59b4469897e7f2dc25661f3c48}\label{kern__priv_8c_a46377f59b4469897e7f2dc25661f3c48}} 
\index{kern\_priv.c@{kern\_priv.c}!SDT\_PROBE\_DEFINE1@{SDT\_PROBE\_DEFINE1}}
\index{SDT\_PROBE\_DEFINE1@{SDT\_PROBE\_DEFINE1}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{SDT\_PROBE\_DEFINE1()}{SDT\_PROBE\_DEFINE1()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily SDT\+\_\+\+PROBE\+\_\+\+DEFINE1 (\begin{DoxyParamCaption}\item[{priv}]{,  }\item[{kernel}]{,  }\item[{\mbox{\hyperlink{kern__priv_8c_ac4dc084503bdb7f59e5032c6bd761ef6}{priv\+\_\+check}}}]{,  }\item[{priv\+\_\+\+\_\+err}]{,  }\item[{\char`\"{}int\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{kern__priv_8c_a411f80684338438319ac7cf7f57f623d}\label{kern__priv_8c_a411f80684338438319ac7cf7f57f623d}} 
\index{kern\_priv.c@{kern\_priv.c}!SDT\_PROBE\_DEFINE1@{SDT\_PROBE\_DEFINE1}}
\index{SDT\_PROBE\_DEFINE1@{SDT\_PROBE\_DEFINE1}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{SDT\_PROBE\_DEFINE1()}{SDT\_PROBE\_DEFINE1()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily SDT\+\_\+\+PROBE\+\_\+\+DEFINE1 (\begin{DoxyParamCaption}\item[{priv}]{,  }\item[{kernel}]{,  }\item[{\mbox{\hyperlink{kern__priv_8c_ac4dc084503bdb7f59e5032c6bd761ef6}{priv\+\_\+check}}}]{,  }\item[{priv\+\_\+\+\_\+ok}]{,  }\item[{\char`\"{}int\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{kern__priv_8c_ae05b3fde75d36a97bb07cf408bd43e3b}\label{kern__priv_8c_ae05b3fde75d36a97bb07cf408bd43e3b}} 
\index{kern\_priv.c@{kern\_priv.c}!SDT\_PROVIDER\_DEFINE@{SDT\_PROVIDER\_DEFINE}}
\index{SDT\_PROVIDER\_DEFINE@{SDT\_PROVIDER\_DEFINE}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{SDT\_PROVIDER\_DEFINE()}{SDT\_PROVIDER\_DEFINE()}}
{\footnotesize\ttfamily SDT\+\_\+\+PROVIDER\+\_\+\+DEFINE (\begin{DoxyParamCaption}\item[{priv}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{kern__priv_8c_a3717d82443c2340966ab6d4028fe11fb}\label{kern__priv_8c_a3717d82443c2340966ab6d4028fe11fb}} 
\index{kern\_priv.c@{kern\_priv.c}!suser\_enabled@{suser\_enabled}}
\index{suser\_enabled@{suser\_enabled}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{suser\_enabled()}{suser\_enabled()}}
{\footnotesize\ttfamily static bool suser\+\_\+enabled (\begin{DoxyParamCaption}\item[{struct ucred $\ast$}]{cred }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00063}{63}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__jail_8c_source_l02761}{prison\+\_\+allow()}}.



Referenced by \mbox{\hyperlink{kern__priv_8c_source_l00151}{priv\+\_\+check\+\_\+cred()}}, \mbox{\hyperlink{kern__priv_8c_source_l00355}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation()}}, \mbox{\hyperlink{kern__priv_8c_source_l00330}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+generation\+\_\+slow()}}, \mbox{\hyperlink{kern__priv_8c_source_l00300}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup()}}, \mbox{\hyperlink{kern__priv_8c_source_l00315}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+nomac()}}, \mbox{\hyperlink{kern__priv_8c_source_l00280}{priv\+\_\+check\+\_\+cred\+\_\+vfs\+\_\+lookup\+\_\+slow()}}, and \mbox{\hyperlink{kern__priv_8c_source_l00070}{sysctl\+\_\+kern\+\_\+suser\+\_\+enabled()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=281pt]{df/dd6/kern__priv_8c_a3717d82443c2340966ab6d4028fe11fb_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a3717d82443c2340966ab6d4028fe11fb_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a7fc810b007677fdcaf9c59811c7f2004}\label{kern__priv_8c_a7fc810b007677fdcaf9c59811c7f2004}} 
\index{kern\_priv.c@{kern\_priv.c}!SYSCTL\_INT@{SYSCTL\_INT}}
\index{SYSCTL\_INT@{SYSCTL\_INT}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{SYSCTL\_INT()}{SYSCTL\_INT()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily SYSCTL\+\_\+\+INT (\begin{DoxyParamCaption}\item[{\+\_\+security\+\_\+bsd}]{,  }\item[{OID\+\_\+\+AUTO}]{,  }\item[{\mbox{\hyperlink{kern__priv_8c_a845e95c52993fc7f48b0def9606d2db0}{unprivileged\+\_\+mlock}}}]{,  }\item[{CTLFLAG\+\_\+\+RWTUN}]{,  }\item[{\&}]{unprivileged\+\_\+mlock,  }\item[{0}]{,  }\item[{\char`\"{}Allow non-\/root users to call mlock(2)\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{kern__priv_8c_acc4b25815499539a37f1d6d2677e6b62}\label{kern__priv_8c_acc4b25815499539a37f1d6d2677e6b62}} 
\index{kern\_priv.c@{kern\_priv.c}!SYSCTL\_INT@{SYSCTL\_INT}}
\index{SYSCTL\_INT@{SYSCTL\_INT}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{SYSCTL\_INT()}{SYSCTL\_INT()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily SYSCTL\+\_\+\+INT (\begin{DoxyParamCaption}\item[{\+\_\+security\+\_\+bsd}]{,  }\item[{OID\+\_\+\+AUTO}]{,  }\item[{\mbox{\hyperlink{kern__priv_8c_a7fba2b38a25c1d7a2f50d43172b6e3fb}{unprivileged\+\_\+read\+\_\+msgbuf}}}]{,  }\item[{CTLFLAG\+\_\+\+RW}]{,  }\item[{\&}]{unprivileged\+\_\+read\+\_\+msgbuf,  }\item[{0}]{,  }\item[{\char`\"{}Unprivileged processes may read the kernel message buffer\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{kern__priv_8c_a78f793b730df2ca72079dca0a723f47a}\label{kern__priv_8c_a78f793b730df2ca72079dca0a723f47a}} 
\index{kern\_priv.c@{kern\_priv.c}!sysctl\_kern\_suser\_enabled@{sysctl\_kern\_suser\_enabled}}
\index{sysctl\_kern\_suser\_enabled@{sysctl\_kern\_suser\_enabled}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{sysctl\_kern\_suser\_enabled()}{sysctl\_kern\_suser\_enabled()}}
{\footnotesize\ttfamily static int sysctl\+\_\+kern\+\_\+suser\+\_\+enabled (\begin{DoxyParamCaption}\item[{SYSCTL\+\_\+\+HANDLER\+\_\+\+ARGS}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00070}{70}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



References \mbox{\hyperlink{kern__jail_8c_source_l03240}{prison\+\_\+set\+\_\+allow()}}, \mbox{\hyperlink{kern__priv_8c_source_l00063}{suser\+\_\+enabled()}}, and \mbox{\hyperlink{kern__sysctl_8c_source_l01644}{sysctl\+\_\+handle\+\_\+int()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{df/dd6/kern__priv_8c_a78f793b730df2ca72079dca0a723f47a_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{kern__priv_8c_a3d12f4533f404d399d3c111e22b7b229}\label{kern__priv_8c_a3d12f4533f404d399d3c111e22b7b229}} 
\index{kern\_priv.c@{kern\_priv.c}!SYSCTL\_PROC@{SYSCTL\_PROC}}
\index{SYSCTL\_PROC@{SYSCTL\_PROC}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{SYSCTL\_PROC()}{SYSCTL\_PROC()}}
{\footnotesize\ttfamily SYSCTL\+\_\+\+PROC (\begin{DoxyParamCaption}\item[{\+\_\+security\+\_\+bsd}]{,  }\item[{OID\+\_\+\+AUTO}]{,  }\item[{\mbox{\hyperlink{kern__priv_8c_a3717d82443c2340966ab6d4028fe11fb}{suser\+\_\+enabled}}}]{,  }\item[{CTLTYPE\+\_\+\+INT$\vert$CTLFLAG\+\_\+\+RWTUN$\vert$CTLFLAG\+\_\+\+PRISON$\vert$}]{CTLFLAG\+\_\+\+MPSAFE,  }\item[{0}]{,  }\item[{0}]{,  }\item[{\&}]{sysctl\+\_\+kern\+\_\+suser\+\_\+enabled,  }\item[{\char`\"{}I\char`\"{}}]{,  }\item[{\char`\"{}Processes with uid 0 have privilege\char`\"{}}]{ }\end{DoxyParamCaption})}



\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{kern__priv_8c_a845e95c52993fc7f48b0def9606d2db0}\label{kern__priv_8c_a845e95c52993fc7f48b0def9606d2db0}} 
\index{kern\_priv.c@{kern\_priv.c}!unprivileged\_mlock@{unprivileged\_mlock}}
\index{unprivileged\_mlock@{unprivileged\_mlock}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{unprivileged\_mlock}{unprivileged\_mlock}}
{\footnotesize\ttfamily int unprivileged\+\_\+mlock = 1\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00088}{88}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



Referenced by \mbox{\hyperlink{kern__priv_8c_source_l00151}{priv\+\_\+check\+\_\+cred()}}.

\mbox{\Hypertarget{kern__priv_8c_a7fba2b38a25c1d7a2f50d43172b6e3fb}\label{kern__priv_8c_a7fba2b38a25c1d7a2f50d43172b6e3fb}} 
\index{kern\_priv.c@{kern\_priv.c}!unprivileged\_read\_msgbuf@{unprivileged\_read\_msgbuf}}
\index{unprivileged\_read\_msgbuf@{unprivileged\_read\_msgbuf}!kern\_priv.c@{kern\_priv.c}}
\doxysubsubsection{\texorpdfstring{unprivileged\_read\_msgbuf}{unprivileged\_read\_msgbuf}}
{\footnotesize\ttfamily int unprivileged\+\_\+read\+\_\+msgbuf = 1\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{kern__priv_8c_source_l00092}{92}} of file \mbox{\hyperlink{kern__priv_8c_source}{kern\+\_\+priv.\+c}}.



Referenced by \mbox{\hyperlink{kern__priv_8c_source_l00151}{priv\+\_\+check\+\_\+cred()}}.

