Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964808AbVIMPoq (ORCPT ); Tue, 13 Sep 2005 11:44:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964810AbVIMPoq (ORCPT ); Tue, 13 Sep 2005 11:44:46 -0400 Received: from xenotime.net ([66.160.160.81]:22726 "HELO xenotime.net") by vger.kernel.org with SMTP id S964808AbVIMPop (ORCPT ); Tue, 13 Sep 2005 11:44:45 -0400 Date: Tue, 13 Sep 2005 08:44:44 -0700 (PDT) From: "Randy.Dunlap" X-X-Sender: rddunlap@shark.he.net To: iSteve cc: "Randy.Dunlap" , "" Subject: Re: query_modules syscall gone? Any replacement? In-Reply-To: <4326F093.80206@rulez.cz> Message-ID: References: <4KSFY-2pO-17@gated-at.bofh.it> <4326DE0E.2060306@rulez.cz> <4326F093.80206@rulez.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1487 Lines: 45 On Tue, 13 Sep 2005, iSteve wrote: > > Nope, they are not prevented. However, there is a Tainted flag > > that is set when one is loaded (and that flag is never cleared). > > > > Okay, I've been wrong in my conclusion and I gotta read some fine manual > about how the modules actually work -- could you recommend me some in > particular? Nope, there is precious little doc about modules, especially in 2.6. There is a FAQ, but I doubt that it answers many of your questions. http://www.kernel.org/pub/linux/kernel/people/rusty/modules/FAQ You could try LDD3, but I don't see much there that would help you either. http://lwn.net/Kernel/LDD3/ > >> - /proc/modules and /sys/module interface doesn't by far supply what > >>query_module could do > > > > Can you state succinctly exactly what you are trying to do? > > I would like to be able to query symbols of a loaded module, get list of > and list of dependencies of loaded module from an app, preferably > without having to parse a file... No, no syscall to do that. Looks like it will require reading and parsing files. And you answered my "what" question clearly, so I have one more. Why? for what purpose, to what end? What are you tring to accomplish? Thanks, -- ~Randy - 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/