lkml.org 
[lkml]   [2005]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: query_modules syscall gone? Any replacement?
    On Tue, 13 Sep 2005, iSteve wrote:

    > Part of the project I'm working on -- click-click ui for handling modules,
    > with some perks: in this case, getting info about loaded modules that I hoped
    > to obtain via query_module.
    >
    > Oh, and one more question: There were no particular issues with query_module,
    > or were they? If there weren't, why wasn't it kept?

    I think it wasn't kept because it would have had to get rewritten anyway,
    and the only user (modutils) was going away. Most of the information was
    only there because the old system needed it, and the new system didn't
    need it, so nobody bothered. Also, the modern style is to avoid
    special-purpose syscalls and use sysfs. It probably wouldn't be too hard
    to get the information exported through the sysfs interface if you ask
    Rusty and explain exactly what you need.

    (Note that you can get module symbols by searching /proc/kallsyms for
    <tab>[<name>], so that part is available from the kernel, although not
    efficiently if you have a lot of symbols that you aren't interested in)

    -Daniel
    *This .sig left intentionally blank*
    -
    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/

    \
     
     \ /
      Last update: 2005-09-13 21:49    [W:3.514 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site