lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1175555218.12230.449.camel@localhost.localdomain>
Date:	Tue, 03 Apr 2007 09:06:58 +1000
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	Alexey Dobriyan <adobriyan@...ru>
Cc:	pmarques@...popie.com, linux-kernel@...r.kernel.org,
	devel@...nvz.org
Subject: Re: [PATCH 2/5] Fix race between rmmod and cat /proc/kallsyms

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.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ