Write to executable which has done execve
- From: Bronson <pshemu@xxxxxxxxx>
- Date: Sat, 11 Aug 2007 17:30:26 -0700
Hi there,
i am trying to make a program, which will exec another app and this
app will write to the main's program executable. I make execve
(precisely execlp) and try to open old file for writing in new
process. But I returns me ETXTBSY. Why? For example access says, that
i can write to file, but fopen fails with ETXTBSY...
What can i do with that...
Best,
Przemek
.
- Follow-Ups:
- Re: Write to executable which has done execve
- From: David Schwartz
- Re: Write to executable which has done execve
- Prev by Date: Re: One last questions about daemons
- Next by Date: Re: Write to executable which has done execve
- Previous by thread: computer programings
- Next by thread: Re: Write to executable which has done execve
- Index(es):
Relevant Pages
|