<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [bug] switching vt in drm mode accumulate open fds in weston-launch process"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70849">bug 70849</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [bug] switching vt in drm mode accumulate open fds in weston-launch process"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70849#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [bug] switching vt in drm mode accumulate open fds in weston-launch process"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70849">bug 70849</a>
              from <span class="vcard"><a class="email" href="mailto:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span></b>
        <pre>I went with a slightly simpler fix, but also added support for the EVIOCREVOKE
ioctl.  Also applied to 1.3.

commit 0eee0a28ba24dae62767bc5576c1e1b5dfe33869
Author: Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>>
Date:   Fri Oct 25 13:34:58 2013 -0700

    weston-launch: Revoke and close input fds when we vt switch away

    We used to leak the input fds, as weston would reopen all fds on vt
    enter.  We could just close them after sending the open fd through the
    socket, but this patch also adds support for the new EVIOCREVOKE evdev
    ioctl, that revokes the fd in question (including the copy that we
    sent to the compositor).

    <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [bug] switching vt in drm mode accumulate open fds in weston-launch process"
   href="show_bug.cgi?id=70849">https://bugs.freedesktop.org/show_bug.cgi?id=70849</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>