From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2831 invoked from network); 19 Mar 1999 07:17:56 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Mar 1999 07:17:56 -0000 Received: from piglet.twiddle.net (rth@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id CAA32199 for ; Fri, 19 Mar 1999 02:07:07 -0500 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id XAA24969; Thu, 18 Mar 1999 23:16:12 -0800 Message-ID: <19990318231612.A24734@twiddle.net> Date: Thu, 18 Mar 1999 23:16:12 -0800 From: Richard Henderson To: Michal Jaegermann , axp-list@redhat.com Cc: drepper@cygnus.com, bj0rn@blox.se Subject: Re: incorrect lseek() function in glibc-2.0.7 References: <19990318221222.A24426@twiddle.net> <199903190648.XAA03361@ellpspace.math.ualberta.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <199903190648.XAA03361@ellpspace.math.ualberta.ca>; from Michal Jaegermann on Thu, Mar 18, 1999 at 11:48:21PM -0700 On Thu, Mar 18, 1999 at 11:48:21PM -0700, Michal Jaegermann wrote: > ... from /dev/kmem a module information when in use with one of > 2.0 kernels. Somehow I missed this `2.0' thing before. I should have wondered why modutils was touching kmem on 2.2, but... With stock 2.0.x, the problem is in drivers/char/mem.c -- static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) There are patches floating about to change the internal fs type to `long' for 2.0. I actually thought these were distributed with eg RH kernels. Is this a roll-yer-own? r~