lkml.org 
[lkml]   [1998]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Anybody out there? (ETXTBSY)
Date
Followup to:  <19980827184637.20618.qmail@defiant.cqc.com>
By author: "pacman" <pacman-kernel@cqc.com>
In newsgroup: linux.dev.kernel
>
> Richard Henderson writes the following:
> >
> >ETXTBSY is explicitly not set on shared libraries. If you turn
> >it on, it is impossible to upgrade libc.so.
>
> Just like it's impossible to upgrade init? or /bin/sh? I think you're
> overlooking something here :)
>

Upgrading /bin/sh is perfectly doable, as is upgrading libc.so. You
have to unlink() the binary and then rename() the new one to the
proper name, of course without needing to run a new binary in between.
mv -f does this correctly, and ETXTBSY isn't a problem.

-hpa

--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:2.021 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site