Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

OsX: phantomjs binary is without a __PAGEZERO segment #13508

Closed
aanno opened this issue Aug 20, 2015 · 6 comments
Closed

OsX: phantomjs binary is without a __PAGEZERO segment #13508

aanno opened this issue Aug 20, 2015 · 6 comments
Labels

Comments

@aanno
Copy link

aanno commented Aug 20, 2015

As I observed when using phantomjs with the kernel hardening SUIDguard, the binary is missing a __PAGEZERO segment (details: sektioneins/SUIDGuard#6).

It is likely that security constains will disallow this soon (details (in german): http://www.heise.de/mac-and-i/meldung/Wieder-Root-Luecke-in-OS-X-Yosemite-inklusive-10-10-5-2780509.html).

@lostthetrail
Copy link

It would be great to solve this.

@zackw
Copy link
Contributor

zackw commented Nov 23, 2015

Sorry for not getting back to you about this sooner.

When built from the current development sources, on OSX 10.9, using a current version of XCode, the phantomjs binary does contain a __PAGEZERO segment. We know that the official binary on the website is out of date and doesn't work reliably on all OSX versions that are supposed to be supported - please be patient, it's on our list. In the meantime, you are encouraged to build it yourself - it's not terribly difficult, although it is slow and requires a great deal of RAM.

@ariya
Copy link
Owner

ariya commented Jan 26, 2016

Hmm, I still don't see the segment in our binary:

$ otool -IV ./phantomjs | grep PAGEZERO

Is there any other way to verify this?

@mepard
Copy link
Contributor

mepard commented Jan 26, 2016

It's there. Try: otool -l ./phantomjs | grep PAGEZERO

@ariya
Copy link
Owner

ariya commented Jan 27, 2016

Perfect 👍 Now we can safely resolve this issue.

@ariya ariya closed this as completed Jan 27, 2016
@khebbie
Copy link

khebbie commented Apr 23, 2016

Hello!

You have a new message, please read http://annuaire-web-quebec.info/domain.php?4b

[email protected]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants