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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 19 Nov 2007 22:29:04 -0500
From:	Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
To:	Christoph Lameter <clameter@....com>
Cc:	ak@...e.de, akpm@...ux-foundation.org, travis@....com,
	linux-kernel@...r.kernel.org
Subject: Re: [rfc 45/45] Modules: Hack to handle symbols that have a zero
	value

* Christoph Lameter (clameter@....com) wrote:
> On Mon, 19 Nov 2007, Mathieu Desnoyers wrote:
> 
> > * clameter@....com (clameter@....com) wrote:
> > > The module subsystem cannot handle symbols that are zero. It prints out
> > > a message that these symbols are unresolved. Define a constant
> > > 
> > > UNRESOLVED
> > > 
> > > that is used to hold the value used for unresolved symbols. Set it to 1
> > > (its hopefully unlikely that a symbol will have the value 1). This is necessary
> > > so that the pda variable which is placed at offset 0 of the per cpu
> > > segment is handled correctly.
> > > 
> > 
> > Wouldn't it be better to simply return a standard ERR_PTR(-ENO....) ?
> 
> Good idea. But can you guarantee that this wont clash with an address?
> 

linux/err.h assumes that the last page of the address space is never
ever used. Is that a correct assumption ?

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
-
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