[Bug 236836] Kernel panic from calling mq_open("/.", ...) as root

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 21 21:26:26 UTC 2019


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

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

Author: cem
Date: Tue May 21 21:26:14 UTC 2019
New revision: 348067
URL: https://svnweb.freebsd.org/changeset/base/348067

Log:
  mqueuefs: Do not allow manipulation of the pseudo-dirents "." and ".."

  "." and ".." names are not maintained in the mqueuefs dirent datastructure
and
  cannot be opened as mqueues.  Creating or removing them is invalid; return
  EINVAL instead of crashing.

  PR:           236836
  Submitted by: Torbj?rn Birch Moltu <t.b.moltu AT lyse.net>
  Discussed with:       jilles (earlier version)

Changes:
  head/sys/kern/uipc_mqueue.c

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


More information about the freebsd-bugs mailing list