Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2020 16:41:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        xfce@FreeBSD.org
Subject:   [Bug 250311] devel/glib20: lock getfsent() usage to fix x11-fm/thunar crashes
Message-ID:  <bug-250311-28711-LJRxEjEwOn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250311-28711@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250311-28711@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250311

--- Comment #8 from Tijl Coosemans <tijl@FreeBSD.org> ---
(In reply to rozhuk.im from comment #7)
Use of getfsent is correct here.  Glib has two functions, one that returns
"mount points" from /etc/fstab using getfsent and another that returns "mou=
nts"
using getfsstat (not getmntinfo).  If I understand the BUGS section in the
getmntinfo manpage correctly it isn't thread safe.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250311-28711-LJRxEjEwOn>