Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 1998 23:35:17 +0200
From:      Harold Gutch <logix@foobar.franken.de>
To:        John Polstra <jdp@polstra.com>, bwithrow@BayNetworks.COM
Cc:        hackers@FreeBSD.ORG
Subject:   Re: GDB modifies shared libraries?
Message-ID:  <19980917233517.22291@foobar.franken.de>
In-Reply-To: <199809171632.JAA11090@austin.polstra.com>; from John Polstra on Thu, Sep 17, 1998 at 09:32:08AM -0700
References:  <199809171409.KAA02717@tuva.engeast.baynetworks.com> <199809171632.JAA11090@austin.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 17, 1998 at 09:32:08AM -0700, John Polstra wrote:
> > GDB problem.  But I don't understand how GDB can override protections
> > on /usr/lib/libc.so.3.1 in order to change its date.  This seems like
> > an OS bug.
> 
> Yes, it is a kernel bug.  As far as I know, it doesn't actually modify
> the file -- it just "updates" it with its original contents, changing
> the timestamp.
> 
Is this really all this bug can do ? Update an arbitrary (?) file
with it's original contents again ?
Or is it possible to overwrite arbitrary files with arbitrary or
random data if "options KTRACE" (or whatever allows this in the
kernel) is in the configfile ?

I don't believe that this is be possible without "kernel-help",
that is without a kernel including some specific stuff (KTRACE ?).

-- 
bye, logix

<Shabby> Sleep is an abstinence syndrome wich occurs due to lack of caffein.
Wed Mar  4 04:53:33 CET 1998   #unix, ircnet

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980917233517.22291>