mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
rtld: symbolic and deepbind are equivalent for the refobj
Reported by: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
2a240805df
commit
d0ab6abbf5
1 changed files with 3 additions and 2 deletions
|
|
@ -4677,12 +4677,13 @@ symlook_default(SymLook *req, const Obj_Entry *refobj)
|
|||
*/
|
||||
res = symlook_obj(&req1, refobj);
|
||||
if (res == 0 && (refobj->symbolic ||
|
||||
ELF_ST_VISIBILITY(req1.sym_out->st_other) == STV_PROTECTED)) {
|
||||
ELF_ST_VISIBILITY(req1.sym_out->st_other) == STV_PROTECTED ||
|
||||
refobj->deepbind)) {
|
||||
req->sym_out = req1.sym_out;
|
||||
req->defobj_out = req1.defobj_out;
|
||||
assert(req->defobj_out != NULL);
|
||||
}
|
||||
if (refobj->symbolic || req->defobj_out != NULL)
|
||||
if (refobj->symbolic || req->defobj_out != NULL || refobj->deepbind)
|
||||
donelist_check(&donelist, refobj);
|
||||
|
||||
if (!refobj->deepbind)
|
||||
|
|
|
|||
Loading…
Reference in a new issue