DynamoRIO / DynamoRIO/dynamorio

parent vs child config dir discrepancies

Open
#1,679 0 comments 0 reactions 0 assignees View on GitHub
Component-Tools OpSys-Linux Priority-Low
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

I hit an interesting issue in the linux.execve-null test while implementing #1667: for -early we check config
file from parent which has HOME set and so we find a config file in ~/.dynamorio; but for late injection we wait until in the child where libdrpreload can't find a config file b/c there is no HOME anymore (this
test clears all the env vars).

Which one is correct?

Should we always create a new env var DYNAMORIO_CONFIGDIR so that all children have consistent config dirs? That could break an app that runs children as different users (though we'll fail to do that properly as we can't hande suid anyway: #1666).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.