<p>This is a rough POC for allowing wildcard based path matching in strace for the path filters. It's mainly intended to support matching any files below in certain directory trees. Any ideas how to do something like this properly given the twofold nature of paths encountered by strace: via open(at) arguments and fds?</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/strace/strace/pull/117'>https://github.com/strace/strace/pull/117</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add wildcard path matching option -W</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/strace/strace/pull/117/files#diff-0">defs.h</a>
    (1)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/strace/strace/pull/117/files#diff-1">pathtrace.c</a>
    (31)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/strace/strace/pull/117/files#diff-2">strace.c</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/strace/strace/pull/117.patch'>https://github.com/strace/strace/pull/117.patch</a></li>
  <li><a href='https://github.com/strace/strace/pull/117.diff'>https://github.com/strace/strace/pull/117.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/pull/117?email_source=notifications&email_token=AAFX7DHDGEUBR6EBC3UJEU3Q2Y2LPA5CNFSM4J77JH5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IC4SYOQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFX7DGK57EAIBOZH7A6JJDQ2Y2LPANCNFSM4J77JH5A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFX7DDC27OPEI4V4SVN2ALQ2Y2LPA5CNFSM4J77JH5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IC4SYOQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/pull/117?email_source=notifications\u0026email_token=AAFX7DHDGEUBR6EBC3UJEU3Q2Y2LPA5CNFSM4J77JH5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IC4SYOQ",
"url": "https://github.com/strace/strace/pull/117?email_source=notifications\u0026email_token=AAFX7DHDGEUBR6EBC3UJEU3Q2Y2LPA5CNFSM4J77JH5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IC4SYOQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>