Re: Can't undate running process binary in Solaris?



On Jul 5, 1:41 pm, Frank Cusack <fcus...@xxxxxxxxxxx> wrote:

If a program's text is busy (I mean, if a program is running),
Solaris will not let you, e.g., do something like "echo > program".

Or do I have it backwards and it's Linux that doesn't allow this?

-frank

Neither of them will allow you to modify a running binary. There is a
difference in implementation though, which is probably what you are
remembering. I can't remember the exact details of the different
though. I believe Linux would let you do some things that Solaris
would not involving different ways to replace the executable with
another or rename/remove it.

If anyone remembers it precisely, please post the details.

DS

.



Relevant Pages