[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: don't just seek to the next line if the script has been edited
From: |
Linda Walsh |
Subject: |
Re: don't just seek to the next line if the script has been edited |
Date: |
Mon, 10 Jun 2013 14:44:44 -0700 |
User-agent: |
Thunderbird |
Mike Frysinger wrote:
pretty sure the linux kernel (and others?) would return ETXTBSY and not even
allow the write
----
I think that's a relatively new innovation -- i.e. since
the ability to setup read-only code segments was implemented,
though FWIW, you are right.
I think it's a text editor thing --
for Example, on windows, I can't write to a running
bash-script (says it is read-only for the duration of execution.
Though I can on linux.
I suppose if bash were to mmap the script file and mark
it as "executable", it would get the same read-only protection as
binaries..??
- Re: don't just seek to the next line if the script has been edited, (continued)
- Re: don't just seek to the next line if the script has been edited, Greg Wooledge, 2013/06/07
- Re: don't just seek to the next line if the script has been edited, jidanni, 2013/06/07
- Re: don't just seek to the next line if the script has been edited, Greg Wooledge, 2013/06/07
- Re: don't just seek to the next line if the script has been edited, Gerard Seibert, 2013/06/07
- Re: don't just seek to the next line if the script has been edited, Chet Ramey, 2013/06/07
- Re: don't just seek to the next line if the script has been edited, jidanni, 2013/06/07
- Re: don't just seek to the next line if the script has been edited, Chet Ramey, 2013/06/07
- Re: don't just seek to the next line if the script has been edited, jidanni, 2013/06/07
- Re: don't just seek to the next line if the script has been edited, Linda Walsh, 2013/06/09
- Re: don't just seek to the next line if the script has been edited, Mike Frysinger, 2013/06/10
- Re: don't just seek to the next line if the script has been edited,
Linda Walsh <=