[Bug 217676] [DRI3] x11/libxshmfence: switch to /tmp for named shared memory mappings

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 4 13:48:09 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217676

--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Tue Jul  4 13:47:46 UTC 2017
New revision: 445016
URL: https://svnweb.freebsd.org/changeset/ports/445016

Log:
  x11/libxshmfence: don't leak /tmp/shmfd* files with O_CLOEXEC

  - Both mkostemp() and mkstemp() need explicit call to unlink()
  - Unobfuscate fallback if both O_TMPFILE and mksotemp() are N/A
  - O_TMPFILE (Linux-only) appeared after O_CLOEXEC, no need to check

  PR:           217676 (for tracking)
  MFH:          2017Q3 2017Q2

Changes:
  head/x11/libxshmfence/Makefile
  head/x11/libxshmfence/files/patch-src__xshmfence_alloc.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list