On Jan 19, 2008 8:22 PM, Tony Abernethy <[EMAIL PROTECTED]> wrote:

> Copying to a file can be done in two distinct ways
> with different results for any other hard links to same file.
> cp overwrites the original inode
> install unlinks the original inode (after?) writing a new inode
>
> You probably get some "interesting" effects if it takes a long
> time to overwrite the executable file and that file is executed
> as it is being (partially) re-written.


Good point, wasn't thinking about that.  Yeah, race condition then, would be
fun.



-- 
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."  --
Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks factory
where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=j1G-3laJJP0&feature=related

Reply via email to