16 karma · joined Aug 12, 2025 (1y ago) · 6 submissions
comment 4mo ago · link · parent
comment 9mo ago · link · parent
Knowing the mess that is the php standard library, I imagine many applications would want to just straight up ban the really bad parts.
comment 9mo ago · link · parent
I'm not really familiar with PHP but this seems like a surprising oversight for a popular language. Does PHP just not care about memory corruption? The fact that it is this easy is far more surprising than it being used to circumvent a questionable security feature.
comment 1y ago · link · parent
iirc execve maps pt_load segments from the program header, populates the aux vector on the stack, and jump straight to the ELF interpreter's entry point. Any linked objects are loaded in userspace by the elf interpreter. The kernel has no knowledge of the PLT/GOT.