Re: ETXTBSY error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manoj Awasthi wrote:
> Hi gurus,
> 
> I am all of a sudden getting ETXTBSY error executing a binary and reading
> some details on internet I found that reason could be:
> 
[...]
> I am trying to execute an ELF corresponding to the C program whose text is
> shown below. But above thing is not convincing - who can be writing to my
> file which is afterall a binary.

"Text" here means the ".text" section in executable file,
not human-readable text.

[...]
> root@manoj-desktop:~/kdev/lockit/cmd/src# strace ./lock
> execve("./lock", ["./lock"], [/* 37 vars */]) = -1 ETXTBSY (Text file busy)

man execve(2), under ERROR:

 ETXTBSY
   Executable was open for writing by one or more processes.

[...]

-- 
This space was intended to be left blank.


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux