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>] [day] [month] [year] [list]
Message-ID: <87d1qecik3.fsf@rustcorp.com.au>
Date:	Tue, 29 Mar 2016 09:32:36 +1030
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	"zhaogongyi.jxjian" <zhaogongyi.jxjian@....com>,
	linux-kernel@...r.kernel.org
Subject: Re: A problem about loading module

"zhaogongyi.jxjian" <zhaogongyi.jxjian@....com> writes:
> My question is when my module_init defined as:
>     void __init__ func_init(*)
> then the ret will be alterable,it depends on specifically running env,that's what we want?

Hi,

        This will not work reliably.  You must define your init as

        int __init__ func_init(void)

Cheers,
Rusty.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ