[Bug 243252] www/firefox core dumps after r522486 (failed to freeze shm)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 28 00:14:48 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243252
--- Comment #23 from rozhuk.im at gmail.com ---
--- www/firefox/files/patch-bug1550891 (revision 533215)
+++ www/firefox/files/patch-bug1550891 (working copy)
@@ -79,7 +79,7 @@
+#elif defined(__FreeBSD__)
+ cap_rights_t rights;
+ cap_rights_init(&rights, CAP_MMAP_R);
-+ if (cap_rights_limit(mapped_file_, &rights) != 0) {
++ if (cap_rights_limit(mapped_file_, &rights) != 0 && errno != ENOSYS) {
+ CHROMIUM_LOG(WARNING) << "failed to freeze shm: " << strerror(errno);
+ return false;
+ }
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gecko
mailing list