mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Alexey Dobriyan <adobriyan@sw.ru>
Cc: pmarques@grupopie.com, linux-kernel@vger.kernel.org, devel@openvz.org
Subject: Re: [PATCH 2/5] Fix race between rmmod and cat /proc/kallsyms
Date: Tue, 03 Apr 2007 09:06:58 +1000	[thread overview]
Message-ID: <1175555218.12230.449.camel@localhost.localdomain> (raw)
In-Reply-To: <20070402150145.GB6735@localhost.sw.ru>

On Mon, 2007-04-02 at 19:01 +0400, Alexey Dobriyan wrote:
> +static inline int module_get_kallsym(unsigned int symnum, unsigned long *value,
> +					char *type, char *name,
> +					char *module_name, int *exported)
>  {
> -	return NULL;
> +	return -ERANGE;
>  }

This would normally by -ENOSYS, but since the return value is used as a
binary anyway, it doesn't matter.

Thanks,
Rusty.



      reply	other threads:[~2007-04-02 23:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02 15:01 Alexey Dobriyan
2007-04-02 23:06 ` Rusty Russell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1175555218.12230.449.camel@localhost.localdomain \
    --to=rusty@rustcorp.com.au \
    --cc=adobriyan@sw.ru \
    --cc=devel@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmarques@grupopie.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®