<p>In order to get rid of any occurrence of <code>/tmp</code> in modules, introduce a <code>RUN_DIR</code> make option and every module should honor it</p>

<p>default could be <code>/var/run/$(NAME)</code></p>

<p>Related to <a href="https://github.com/kamailio/kamailio/issues/48" class="issue-link" title="multiple /tmp file vulnerabilities">#48</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/80">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZdIyV-8gTwlfqBV_bLBHebJQRcFhks5nq2p9gaJpZM4De9-A.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/80"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>