build-recorder icon indicating copy to clipboard operation
build-recorder copied to clipboard

Perhaps record enviroment separately for each process as well?

Open fvalasiad opened this issue 3 years ago • 4 comments

Seeing how each proc also has an environ should we perhaps also store it separately for each process?

fvalasiad avatar Aug 11 '22 14:08 fvalasiad

@zvr Please clarify, i need the information to move on.

fvalasiad avatar Aug 13 '22 14:08 fvalasiad

Let's table this for the future, as I'm not sure any child process has a significantly different environment than the parent one.

Ah, ideally record only the changes!

zvr avatar Aug 18 '22 08:08 zvr

@zvr How does one go about changing the environment? Is it directly from the environ variable?

fvalasiad avatar Sep 02 '22 18:09 fvalasiad

I mean i am aware of the libc functions getenv(3) setenv(3) etc.... but how are they actually implemented in linux?

fvalasiad avatar Sep 03 '22 08:09 fvalasiad