[lkml]   [2005]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Add "FORTIFY_SOURCE" to the linux kernel
On Wed, 2005-05-25 at 16:18 +0200, Petr Vandrovec wrote:
> Hello,
> how is this going to comply with rule that no existing symbols will be turned
> into GPLONLY symbols, as stated by Linus couple of time, and mentioned for example
> at ? To me it looks that no non-GPL module can work
> on such kernel anymore, as memcpy/strcpy/... functions now, although themselves non-GPL
> accessible (but inline...), depend on GPLONLY symbols. Can you explain this to
> me?

then don't set the config option in your kernel, and you don't get
these. Also memcpy_chk() is not an existing function, it is a new one.
This is by no means mandatory.

Or, alternatively, in your module UNDEF the config option before
including these headers.

> And if you think that it is right thing to do, would not it be simpler for
> everybody changing module loader so it just refuses to load non-GPL modules ?
> Final functionality would be same in both cases...

that is not correct.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-05-25 16:51    [W:0.047 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site