Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 10 Oct 2002 11:55:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 10 Oct 2002 11:55:53 -0400 Received: from email.gcom.com ([206.221.230.194]:28346 "EHLO gcom.com") by vger.kernel.org with ESMTP id ; Thu, 10 Oct 2002 11:55:50 -0400 Message-Id: <5.1.0.14.2.20021010105918.026a55f8@localhost> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 10 Oct 2002 11:01:14 -0500 To: bidulock@openss7.org, Petr Vandrovec From: David Grothe Subject: Re: [Linux-streams] Re: [PATCH] Re: export of sys_call_table Cc: linux-kernel@vger.kernel.org, LiS , davem@redhat.com In-Reply-To: <20021009135442.E16773@openss7.org> References: <41C1FEE0A55@vcnet.vc.cvut.cz> <41C1FEE0A55@vcnet.vc.cvut.cz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_1707514646==_" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4564 Lines: 79 --=====================_1707514646==_ Content-Type: text/plain; charset="us-ascii"; format=flowed Brian, Petr, et al: Does this patch address your suggestions? This has been tested on 2.4.19. Thanks, Dave At 01:54 PM 10/9/2002 Wednesday, Brian F. G. Bidulock wrote: >Petr, > >Thanks you for the constructive suggestions. I'll see if we >can add those in an test it up. > >--brian --=====================_1707514646==_ Content-Type: text/plain; name="stock-i386-2.4.19.txt"; x-mac-type="42494E41"; x-mac-creator="74747874" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="stock-i386-2.4.19.txt" LS0tIGFyY2gvaTM4Ni9rZXJuZWwvZW50cnkuUy5vcmlnCTIwMDItMDgtMDIgMTk6Mzk6NDIuMDAw MDAwMDAwIC0wNTAwCisrKyBhcmNoL2kzODYva2VybmVsL2VudHJ5LlMJMjAwMi0xMC0wOCAxNTo0 MzowOC4wMDAwMDAwMDAgLTA1MDAKQEAgLTU4N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xscyh2b2lkKQoreworCXJlZ2lzdGVyX3N0cmVhbXNfY2FsbHMo TlVMTCwgTlVMTCk7Cit9CisKIGFzbWxpbmthZ2UgbG9uZyBzeXNfbmlfc3lzY2FsbCh2b2lkKQog ewogCXJldHVybiAtRU5PU1lTOwo= --=====================_1707514646==_-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/