\doxysection{exec.\+h}
\label{exec_8h_source}\index{include/osmocom/core/exec.h@{include/osmocom/core/exec.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{2 \textcolor{comment}{/* (C) 2019 by Harald Welte <laforge@gnumonks.org>}}
\DoxyCodeLine{3 \textcolor{comment}{ *}}
\DoxyCodeLine{4 \textcolor{comment}{ * All Rights Reserved}}
\DoxyCodeLine{5 \textcolor{comment}{ *}}
\DoxyCodeLine{6 \textcolor{comment}{ * SPDX-\/License-\/Identifier: GPL-\/2.0+}}
\DoxyCodeLine{7 \textcolor{comment}{ *}}
\DoxyCodeLine{8 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}}
\DoxyCodeLine{9 \textcolor{comment}{ * it under the terms of the GNU General Public License as published by}}
\DoxyCodeLine{10 \textcolor{comment}{ * the Free Software Foundation; either version 2 of the License, or}}
\DoxyCodeLine{11 \textcolor{comment}{ * (at your option) any later version.}}
\DoxyCodeLine{12 \textcolor{comment}{ *}}
\DoxyCodeLine{13 \textcolor{comment}{ * This program is distributed in the hope that it will be useful,}}
\DoxyCodeLine{14 \textcolor{comment}{ * but WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{15 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the}}
\DoxyCodeLine{16 \textcolor{comment}{ * GNU General Public License for more details.}}
\DoxyCodeLine{17 \textcolor{comment}{ *}}
\DoxyCodeLine{18 \textcolor{comment}{ */}}
\DoxyCodeLine{19 \textcolor{keyword}{extern} \textcolor{keyword}{const} \textcolor{keywordtype}{char} *osmo\_environment\_whitelist[];}
\DoxyCodeLine{20 }
\DoxyCodeLine{21 \textcolor{keywordtype}{int} osmo\_environment\_filter(\textcolor{keywordtype}{char} **out, \textcolor{keywordtype}{size\_t} out\_len, \textcolor{keywordtype}{char} **in, \textcolor{keyword}{const} \textcolor{keywordtype}{char} **whitelist);}
\DoxyCodeLine{22 \textcolor{keywordtype}{int} osmo\_environment\_append(\textcolor{keywordtype}{char} **out, \textcolor{keywordtype}{size\_t} out\_len, \textcolor{keywordtype}{char} **in);}
\DoxyCodeLine{23 \textcolor{keywordtype}{int} osmo\_close\_all\_fds\_above(\textcolor{keywordtype}{int} last\_fd\_to\_keep);}
\DoxyCodeLine{24 \textcolor{keywordtype}{int} osmo\_system\_nowait2(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *command, \textcolor{keyword}{const} \textcolor{keywordtype}{char} **env\_whitelist, \textcolor{keywordtype}{char} **addl\_env, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *user);}
\DoxyCodeLine{25 \textcolor{keywordtype}{int} osmo\_system\_nowait(\textcolor{keyword}{const} \textcolor{keywordtype}{char} *command, \textcolor{keyword}{const} \textcolor{keywordtype}{char} **env\_whitelist, \textcolor{keywordtype}{char} **addl\_env);}

\end{DoxyCode}
