Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
libexec/rtld-elf/rtld.c | ||
---|---|---|
2986–2987 | maybe clearer if we incorporate the PROT_WRITE part from above? something like prot = convert_prot(ph->p_flags); if (before) prot = prot & ~PROT_EXEC | PROT_WRITE; |
libexec/rtld-elf/rtld.c | ||
---|---|---|
2986–2987 | There is no much reason to use convert_prot() in'before' case at all, then. Only PF_R survives. It can be prot = before ? (PROT_READ | PROT_WRITE) : convert_prot(ph->p_flags); |
Comment Actions
Added to my staging tree here: https://github.com/emaste/freebsd/commit/138b3637e80a4ececdc0eaf8aea734262217d0b0