On Wed, Oct 18, 2017 at 04:15:10PM -0700, Thomas Garnier wrote:
> On Thu, Oct 12, 2017 at 1:02 PM, Luis R. Rodriguez wrote:
> > On Wed, Oct 11, 2017 at 01:30:15PM -0700, Thomas Garnier wrote:
> >> diff --git a/include/linux/compiler.h b/include/linux/compiler.h
>
On Wed, Oct 11, 2017 at 01:30:15PM -0700, Thomas Garnier wrote:
> Provide an option to default visibility to hidden except for key
> symbols. This option is disabled by default and will be used by x86_64
> PIE support to remove errors between compilation units.
>
> The default visibility is also e
On Mon, Aug 29, 2016 at 11:04:18PM +0900, Masami Hiramatsu wrote:
> On Tue, 23 Aug 2016 18:31:05 +0200
> "Luis R. Rodriguez" wrote:
>
> > On Tue, Aug 23, 2016 at 12:11:40AM +0900, Masami Hiramatsu wrote:
> > > On Fri, 19 Aug 2016 14:34:12 -0700
> > > m
On Thu, Jan 19, 2017 at 12:19:15PM +0100, Greg KH wrote:
> On Sun, Jan 15, 2017 at 01:10:49PM -0800, Luis R. Rodriguez wrote:
> > If you modify the target asm we currently do not force the
> > recompilation of the firmware files. The target asm is in
> > the firmware/Makefil
Start off with just __ref -- we enalbe you to override, if you do
that then you can define your own. The way you'd use this, if you
do override, is define your own __ref and then use include_next.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/init.h | 9 +
1 file chang
This will be used later by the linker-table userspace sandbox.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/export.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/tools/include/linux/export.h b/tools/include/linux/export.h
index d07e586b9ba0
This adds __used, to be used later in the userspace linker-tables
sandbox. If any userspace applicaiton wants to override they can
add their own definition and then use include_next.
This definition should probably suffice for most uses cases though.
Signed-off-by: Luis R. Rodriguez
---
tools
n x86 where kprobes is disabled but ftrace is
left enabled.
o include on arch/arm64/kernel/probes/decode-insn.h
v4: introduced this patch into the series
Signed-off-by: Luis R. Rodriguez
---
MAINTAINERS| 1 +
arch/alpha/include/asm/Kbuild | 1 +
arch/arc/in
r
a simple section range.
v2: introduced this patch in this series
Signed-off-by: Luis R. Rodriguez
---
arch/arc/kernel/vmlinux.lds.S| 1 -
arch/arm/kernel/entry-armv.S | 3 ++-
arch/arm/kernel/vmlinux-xip.lds.S| 1 -
arch/arm/kernel/vmlinux.lds.S| 1
Add a test drivers for linker tables.
v7: address ./scripts/checkpatch.pl --codespell issues
v6: rename table macro as suggested by Andy Shevchenko
v5: added this commit for the first time in this series.
Signed-off-by: Luis R. Rodriguez
---
lib/Kconfig.debug| 6
This will be used later by the userspace linker table.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/compiler.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/include/linux/compiler.h b/tools/include/linux/compiler.h
index 556c991de212..6321265df00a 100644
--- a/tools
This v4 also addresses some spelling / checkpatch comlplains.
The remaining checkpatch complaints are not valid for the
code in question. This applies after the series:
[PATCH v7 00/14] linux: generalize sections, ranges and linker tables
Luis R. Rodriguez (6):
tools: add a userspace tools
s for the only purpose of
includeing bug.h. This simplifies that.
v4: address ./scripts/checkpatch.pl --codespell complaints
Signed-off-by: Luis R. Rodriguez
---
tools/include/asm-generic/bug.h | 26 ++
tools/include/linux/bug.h | 6 ++
tools/include/linux/ker
e() helper on firmware/Makefile
to enable having to unfold things on our own.
v2: introduced this file in this version of the series
Cc: Barry Song
Cc: Mike Frysinger
Cc: Steven Miao
Cc: Michael Matz
Cc: Guenter Roeck
Cc: Fengguang Wu
Signed-off-by: Luis R. Rodriguez
---
arch/x86/
use LINKTABLE_EMPTY(), LINKTABLE_START()
v4: fix compilation on blackfin
v3: added modular support
v2: introduced this patch into the series
Cc: Barry Song
Cc: Mike Frysinger
Cc: Steven Miao
Cc: Michael Matz
Cc: Guenter Roeck
Cc: Fengguang Wu
Signed-off-by: Luis R. Rodriguez
---
include/asm-ge
e of ASM_CMD_SEP to enable architectures to override later
if needed
o guard tables.h inclusion and table definition with __KERNEL__
v2: introduced in this series
Signed-off-by: Luis R. Rodriguez
---
arch/arm/include/asm/jump_label.h | 6 --
arch/arm64/include/asm/jump_labe
6
v3: this patch was introduced in this series
Acked-by: Masami Hiramatsu
Signed-off-by: Luis R. Rodriguez
---
arch/powerpc/include/asm/ppc_asm.h | 4 ++--
arch/x86/include/asm/asm.h | 4 +++-
include/asm-generic/kprobes.h | 4 ++--
include/asm-generic/vmlinux.l
If you modify the target asm we currently do not force the
recompilation of the firmware files. The target asm is in
the firmware/Makefile, peg this file as a dependency to
require re-compilation of firmware targets when the asm
changes.
v3: introduced in this series
Signed-off-by: Luis R
nux/kernel/git/mcgrof/linux-next.git/log/?h=20170113-linker-tables-v7-try2
Luis R. Rodriguez (14):
generic-sections: add section core helpers
xtensa: skip adding literal when SORT() is used
ranges.h: add helpers to build and identify Linux section ranges
tables.h: add linker table suppor
s
on sparc
o adds section ranges to linker script
o rename SECTION_RANGE_ALL()
o use default alignment, fixes builds on powerpc and arm for both
__LINUX_RANGE() and __LINUX_RANGE_ORDER()
o expand documentation to document modules support
o add maintainers
o use generic-y
v3: new in this series, uses copylef
When SORT(foo.*) is used the current sed replacements add
SORT(foo.literal foo.*), this breaks linking. Avoid adding
literals for SORT globs, if needed, these need to be added
manually.
Signed-off-by: Luis R. Rodriguez
---
arch/xtensa/kernel/Makefile | 8
1 file changed, 4 insertions
ore immediately accessible to asm code, not just C code.
Note for ASM_CMD_SEP we use by default "\n", architectures needed
to override can do so on their own sections.h prior to inclusion
of asm-generic/sections.h
Signed-off-by: Luis R. Rodriguez
---
Documentation/index.rs
The ending header guard is misplaced. This has no
functional change, this is just an eye-sore.
Signed-off-by: Luis R. Rodriguez
---
include/linux/jump_label.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h
index
rnatives that are possible with linker tables.
Signed-off-by: Luis R. Rodriguez
---
Documentation/kbuild/makefiles.txt | 36
Documentation/sections/linker-tables.rst | 15 +++
include/linux/tables.h | 71
ION_TBL_ALL_STR() on relocs.c
when needed.
Cc: Michael Brown
Signed-off-by: Luis R. Rodriguez
---
Documentation/sections/index.rst | 1 +
Documentation/sections/linker-tables.rst | 212 +++
MAINTAINERS | 10 +
arch/alpha/include/asm/Kbuild
On Mon, Jan 09, 2017 at 08:29:15PM +0200, Andy Shevchenko wrote:
> On Mon, 2017-01-09 at 19:12 +0200, Andy Shevchenko wrote:
> > On Mon, 2017-01-09 at 18:27 +0200, Andy Shevchenko wrote:
> > > On Mon, 2017-01-09 at 06:58 -0800, Luis R. Rodriguez wrote:
> > > > The
On Mon, Jan 9, 2017 at 11:12 AM, Shevchenko, Andriy
wrote:
> On Mon, 2017-01-09 at 18:27 +0200, Andy Shevchenko wrote:
>> On Mon, 2017-01-09 at 06:58 -0800, Luis R. Rodriguez wrote:
>
>> > The only architecture that was not tested was avr32 and that is
>> > be
On Mon, Jan 9, 2017 at 10:27 AM, Andy Shevchenko
wrote:
> On Mon, 2017-01-09 at 06:58 -0800, Luis R. Rodriguez wrote:
>> The only architecture that was not tested was avr32 and that is
>> because linux-next fails to compile on it. I'd like to greatly thank Guenter
>&g
n x86 where kprobes is disabled but ftrace is
left enabled.
o include on arch/arm64/kernel/probes/decode-insn.h
v4: introduced this patch into the series
Signed-off-by: Luis R. Rodriguez
---
arch/alpha/include/asm/Kbuild | 1 +
arch/arc/include/asm/kprobes.h | 6 --
arc
Start off with just __ref -- we enalbe you to override, if you do
that then you can define your own. The way you'd use this, if you
do override, is define your own __ref and then use include_next.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/init.h | 9 +
1 file chang
s for the ony purpose of
includeing bug.h. This simplifies that.
Signed-off-by: Luis R. Rodriguez
---
tools/include/asm-generic/bug.h | 24
tools/include/linux/bug.h | 6 ++
tools/include/linux/kernel.h| 2 ++
3 files changed, 32 insertions(+)
create
as it is a debug patch used to force 0-day to force-enable the test
driver.
[0]
https://git.kernel.org/cgit/linux/kernel/git/mcgrof/linux-next.git/log/?h=20170109-linker-tables-v6
Luis
Luis R. Rodriguez (6):
tools: add a userspace tools bug.h
tools: add init.h for tools
tools: add __used
This will be used later by the linker-table userspace sandbox.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/export.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/tools/include/linux/export.h b/tools/include/linux/export.h
index d07e586b9ba0
This will be used later by the userspace linker table.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/compiler.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/include/linux/compiler.h b/tools/include/linux/compiler.h
index 556c991de212..6321265df00a 100644
--- a/tools
This adds __used, to be used later in the userspace linker-tables
sandbox. If any userspace applicaiton wants to override they can
add their own definition and then use include_next.
This definition should probably suffice for most uses cases though.
Signed-off-by: Luis R. Rodriguez
---
tools
Add a test drivers for linker tables.
v6: rename table macro as suggested by Andy Shevchenko
v5: added this commit for the first time in this series.
Signed-off-by: Luis R. Rodriguez
---
lib/Kconfig.debug| 6 +
lib/Makefile | 1 +
lib
r
a simple section range.
v2: introduced this patch in this series
Signed-off-by: Luis R. Rodriguez
---
arch/arc/kernel/vmlinux.lds.S| 1 -
arch/arm/kernel/entry-armv.S | 3 ++-
arch/arm/kernel/vmlinux-xip.lds.S| 1 -
arch/arm/kernel/vmlinux.lds.S| 1
6
v3: this patch was introduced in this series
Acked-by: Masami Hiramatsu
Signed-off-by: Luis R. Rodriguez
---
arch/powerpc/include/asm/ppc_asm.h | 4 ++--
arch/x86/include/asm/asm.h | 4 +++-
include/asm-generic/kprobes.h | 4 ++--
include/asm-generic/vmlinux.l
e of ASM_CMD_SEP to enable architectures to override later
if needed
o guard tables.h inclusion and table definition with __KERNEL__
v2: introduced in this series
Signed-off-by: Luis R. Rodriguez
---
arch/arm/include/asm/jump_label.h | 6 --
arch/arm64/include/asm/jump_labe
e() helper on firmware/Makefile
to enable having to unfold things on our own.
v2: introduced this file in this version of the series
Cc: Barry Song
Cc: Mike Frysinger
Cc: Steven Miao
Cc: Michael Matz
Cc: Guenter Roeck
Cc: Fengguang Wu
Signed-off-by: Luis R. Rodriguez
---
arch/x86/
rnatives that are possible with linker tables.
Signed-off-by: Luis R. Rodriguez
---
Documentation/kbuild/makefiles.txt | 36
Documentation/sections/linker-tables.rst | 15 +++
include/linux/tables.h | 71
use LINKTABLE_EMPTY(), LINKTABLE_START()
v4: fix compilation on blackfin
v3: added modular support
v2: introduced this patch into the series
Cc: Barry Song
Cc: Mike Frysinger
Cc: Steven Miao
Cc: Michael Matz
Cc: Guenter Roeck
Cc: Fengguang Wu
Signed-off-by: Luis R. Rodriguez
---
include/asm-ge
The ending header guard is misplaced. This has no
functional change, this is just an eye-sore.
Signed-off-by: Luis R. Rodriguez
---
include/linux/jump_label.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h
index
ode.
Note for ASM_CMD_SEP we use by default "\n", architectures needed
to override can do so on their own sections.h prior to inclusion
of asm-generic/sections.h
Signed-off-by: Luis R. Rodriguez
---
Documentation/index.rst | 1 +
Documentation/sections
If you modify the target asm we currently do not force the
recompilation of the firmware files. The target asm is in
the firmware/Makefile, peg this file as a dependency to
require re-compilation of firmware targets when the asm
changes.
v3: introduced in this series
Signed-off-by: Luis R
: Michael Brown
Signed-off-by: Luis R. Rodriguez
---
Documentation/sections/index.rst | 1 +
Documentation/sections/linker-tables.rst | 212 +++
MAINTAINERS | 10 +
arch/alpha/include/asm/Kbuild| 1 +
arch/arc/include/asm/Kbuild
o rename SECTION_RANGE_ALL()
o use default alignment, fixes builds on powerpc and arm for both
__LINUX_RANGE() and __LINUX_RANGE_ORDER()
o expand documentation to document modules support
o add maintainers
o use generic-y
v3: new in this series, uses copyleft-next
Signed-off-by: Luis R. R
When SORT(foo.*) is used the current sed replacements add
SORT(foo.literal foo.*), this breaks linking. Avoid adding
literals for SORT globs, if needed, these need to be added
manually.
Signed-off-by: Luis R. Rodriguez
---
arch/xtensa/kernel/Makefile | 8
1 file changed, 4 insertions
c tree for those curious,
its the last patch [1]. This tree is based on linux-next tag next-20170109.
[0] https://lkml.kernel.org/r/20161222023811.21246-1-mcg...@kernel.org
[1]
https://git.kernel.org/cgit/linux/kernel/git/mcgrof/linux-next.git/log/?h=20170109-linker-tables-v6
Luis R. Rodriguez (14):
On Fri, Jan 06, 2017 at 10:43:59PM +0200, Andy Shevchenko wrote:
> On Fri, Jan 6, 2017 at 10:00 PM, Luis R. Rodriguez wrote:
> > On Wed, Jan 04, 2017 at 11:47:14AM +0200, Andy Shevchenko wrote:
> >> On Tue, Jan 3, 2017 at 11:25 PM, Luis R. Rodriguez
> >> wrote:
> &
On Wed, Jan 04, 2017 at 11:47:14AM +0200, Andy Shevchenko wrote:
> On Tue, Jan 3, 2017 at 11:25 PM, Luis R. Rodriguez wrote:
> > On Thu, Dec 22, 2016 at 03:58:18PM +0200, Andy Shevchenko wrote:
> >> On Wed, 2016-12-21 at 18:38 -0800, Luis R. Rodriguez wrote:
> >> &g
On Thu, Dec 22, 2016 at 04:08:22PM +0200, Andy Shevchenko wrote:
> On Wed, 2016-12-21 at 18:38 -0800, Luis R. Rodriguez wrote:
> > Move the __jump_table from the a custom section solution
> > to a generic solution, this avoiding extra vmlinux.lds.h
> > customizations.
> &g
On Thu, Dec 22, 2016 at 03:58:18PM +0200, Andy Shevchenko wrote:
> On Wed, 2016-12-21 at 18:38 -0800, Luis R. Rodriguez wrote:
> > +#define LINKTABLE_FOR_EACH(pointer, tbl)
>
> Hmm... SOMEONE LIKES CAPITAL LETTERS FOR everything, right? :-)
>
>
Start off with just __ref -- we enalbe you to override, if you do
that then you can define your own. The way you'd use this, if you
do override, is define your own __ref and then use include_next.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/init.h | 9 +
1 file chang
This will be used later by the linker-table userspace sandbox.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/export.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/tools/include/linux/export.h b/tools/include/linux/export.h
index d07e586b9ba0
ch to force enable a driver on 0-day and Guenter's
testbed.
[0] https://lkml.kernel.org/r/1471642875-5957-1-git-send-email-mcg...@kernel.org
[1]
https://git.kernel.org/cgit/linux/kernel/git/mcgrof/linux-next.git/log/?h=20161221-linker-tables-v5
Luis R. Rodriguez (6):
tools: add a userspace t
This will be used later by the userspace linker table.
Signed-off-by: Luis R. Rodriguez
---
tools/include/linux/compiler.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/include/linux/compiler.h b/tools/include/linux/compiler.h
index 556c991de212..6321265df00a 100644
--- a/tools
s for the ony purpose of
includeing bug.h. This simplifies that.
Signed-off-by: Luis R. Rodriguez
---
tools/include/asm-generic/bug.h | 24
tools/include/linux/bug.h | 6 ++
tools/include/linux/kernel.h| 2 ++
3 files changed, 32 insertions(+)
create
This adds __used, to be used later in the userspace linker-tables
sandbox. If any userspace applicaiton wants to override they can
add their own definition and then use include_next.
This definition should probably suffice for most uses cases though.
Signed-off-by: Luis R. Rodriguez
---
tools
r
a simple section range.
v2: introduced this patch in this series
Signed-off-by: Luis R. Rodriguez
---
arch/arc/kernel/vmlinux.lds.S| 1 -
arch/arm/kernel/entry-armv.S | 3 ++-
arch/arm/kernel/vmlinux-xip.lds.S| 1 -
arch/arm/kernel/vmlinux.lds.S| 1
Add a test drivers for linker tables.
v5: added this commit for the first time in this series.
Signed-off-by: Luis R. Rodriguez
---
lib/Kconfig.debug| 6 +
lib/Makefile | 1 +
lib/test_linktables/Makefile | 13 +
lib
to unfold things on our own.
v2: introduced this file in this version of the series
Cc: Barry Song
Cc: Mike Frysinger
Cc: Steven Miao
Cc: Michael Matz
Cc: Guenter Roeck
Cc: Fengguang Wu
Signed-off-by: Luis R. Rodriguez
---
arch/x86/kernel/cpu/microcode/core.c | 8
drivers/base/firmwa
n x86 where kprobes is disabled but ftrace is
left enabled.
o include on arch/arm64/kernel/probes/decode-insn.h
v4: introduced this patch into the series
Signed-off-by: Luis R. Rodriguez
---
arch/alpha/include/asm/Kbuild | 1 +
arch/arc/include/asm/kprobes.h | 6 --
arc
on on blackfin
v3: added modular support
v2: introduced this patch into the series
Cc: Barry Song
Cc: Mike Frysinger
Cc: Steven Miao
Cc: Michael Matz
Cc: Guenter Roeck
Cc: Fengguang Wu
Signed-off-by: Luis R. Rodriguez
---
include/asm-generic/vmlinux.lds.h | 4
include/linux/dynamic_de
The ending header guard is misplaced. This has no
functional change, this is just an eye-sore.
Signed-off-by: Luis R. Rodriguez
---
include/linux/jump_label.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h
index
r
if needed
o guard tables.h inclusion and table definition with __KERNEL__
v2: introduced in this series
Signed-off-by: Luis R. Rodriguez
---
arch/arm/include/asm/jump_label.h | 6 --
arch/arm64/include/asm/jump_label.h | 6 --
arch/mips/include/asm/jump_label.h| 6 -
6
v3: this patch was introduced in this series
Acked-by: Masami Hiramatsu
Signed-off-by: Luis R. Rodriguez
---
arch/powerpc/include/asm/ppc_asm.h | 4 ++--
arch/x86/include/asm/asm.h | 4 +++-
include/asm-generic/kprobes.h | 4 ++--
include/asm-generic/vmlinux.l
If you modify the target asm we currently do not force the
recompilation of the firmware files. The target asm is in
the firmware/Makefile, peg this file as a dependency to
require re-compilation of firmware targets when the asm
changes.
v3: introduced in this series
Signed-off-by: Luis R
rnatives that are possible with linker tables.
Signed-off-by: Luis R. Rodriguez
---
Documentation/kbuild/makefiles.txt | 36
Documentation/sections/linker-tables.rst | 15 +++
include/linux/tables.h | 71
o rename SECTION_RANGE_ALL()
o use default alignment, fixes builds on powerpc and arm for both
__LINUX_RANGE() and __LINUX_RANGE_ORDER()
o expand documentation to document modules support
o add maintainers
o use generic-y
v3: new in this series, uses copyleft-next
Signed-off-by: Luis R. R
ine a clean use case of
well documented sections. To help further with this make use of
SECTION_TBL() to allow use of these in code and SECTION_TBL_ALL()
on linker scripts, as well as SECTION_TBL_ALL_STR() on relocs.c
when needed.
Cc: Michael Brown
Signed-off-by: Luis R. Rodriguez
---
ode.
Note for ASM_CMD_SEP we use by default "\n", architectures needed
to override can do so on their own sections.h prior to inclusion
of asm-generic/sections.h
Signed-off-by: Luis R. Rodriguez
---
Documentation/index.rst | 1 +
Documentation/sections
When SORT(foo.*) is used the current sed replacements add
SORT(foo.literal foo.*), this breaks linking. Avoid adding
literals for SORT globs, if needed, these need to be added
manually.
Signed-off-by: Luis R. Rodriguez
---
arch/xtensa/kernel/Makefile | 8
1 file changed, 4 insertions
797-19295-1-git-send-email-mcg...@do-not-panic.com
[2]
http://drvbp1.linux-foundation.org/~mcgrof/papers/2016/12/21/linker-tables-20161221.pdf
[3]
https://git.kernel.org/cgit/linux/kernel/git/mcgrof/linux-next.git/log/?h=20161221-linker-tables-v5
Luis R. Rodriguez (14):
generic-sections:
On Tue, Aug 23, 2016 at 01:59:10AM +0200, Luis R. Rodriguez wrote:
> On Fri, Aug 19, 2016 at 03:10:33PM -0700, Kees Cook wrote:
> > On Fri, Aug 19, 2016 at 2:32 PM, wrote:
> > > diff --git a/init/Kconfig b/init/Kconfig
> > > index cac3f096050d..ef09e83b9196 1006
On Mon, Aug 29, 2016 at 11:04:18PM +0900, Masami Hiramatsu wrote:
> On Tue, 23 Aug 2016 18:31:05 +0200
> "Luis R. Rodriguez" wrote:
>
> > On Tue, Aug 23, 2016 at 12:11:40AM +0900, Masami Hiramatsu wrote:
> > > On Fri, 19 Aug 2016 14:34:12 -0700
> > > m
On Fri, Aug 26, 2016 at 05:33:38PM +1000, Nicholas Piggin wrote:
> On Thu, 25 Aug 2016 23:38:44 -0700
> "Luis R. Rodriguez" wrote:
> > > > > > Ah, thing is we use this for both linktables and section ranges.
> > > > > >
On Aug 25, 2016 8:00 PM, "Nicholas Piggin" wrote:
>
> On Thu, 25 Aug 2016 19:52:39 +0200
> "Luis R. Rodriguez" wrote:
>
> > On Thu, Aug 25, 2016 at 04:51:21PM +1000, Nicholas Piggin wrote:
> > > On Thu, 25 Aug 2016 08:05:40 +0200
> > > &
On Thu, Aug 25, 2016 at 04:51:21PM +1000, Nicholas Piggin wrote:
> On Thu, 25 Aug 2016 08:05:40 +0200
> "Luis R. Rodriguez" wrote:
> > > Oh, that makes more sense. The SECTION stuff and custom sections was
> > > confusing me. I would prefer just to drop all the L
On Thu, Aug 25, 2016 at 12:06:33PM +1000, Nicholas Piggin wrote:
> On Wed, 24 Aug 2016 22:12:53 +0200
> "Luis R. Rodriguez" wrote:
> > But:
> >
> > git grep SECTION_TEXT works as expected immediately.
> >
> > I guess its a matter of perspective.
&
On Wed, Aug 24, 2016 at 01:51:41PM +1000, Nicholas Piggin wrote:
> On Tue, 23 Aug 2016 19:33:06 +0200
> "Luis R. Rodriguez" wrote:
>
> > On Tue, Aug 23, 2016 at 11:26:33AM +1000, Nicholas Piggin wrote:
> > > On Fri, 19 Aug 2016 14:34:02 -
type()
directly and C asm() would just __stringify() it.
I figured a bit of bikeshedding would be possible here, so I decided to leave
this for a later set of patches. But indeed, I agree with you. If we want
this meshed out now.. let me know and lets bikeshed away...
> > diff --git
On Tue, Aug 23, 2016 at 12:11:40AM +0900, Masami Hiramatsu wrote:
> On Fri, 19 Aug 2016 14:34:12 -0700
> mcg...@kernel.org wrote:
>
> > From: "Luis R. Rodriguez"
> >
> > Often all is needed is these small helpers, instead of compiler.h
> > or a full k
On Fri, Aug 19, 2016 at 03:31:47PM -0700, Kees Cook wrote:
> On Fri, Aug 19, 2016 at 2:41 PM, wrote:
> > From: "Luis R. Rodriguez"
> >
> > Add a userspace sandbox to allow easy experimentation and
> > test extensions with linker tables, section ranges and
On Fri, Aug 19, 2016 at 03:10:33PM -0700, Kees Cook wrote:
> On Fri, Aug 19, 2016 at 2:32 PM, wrote:
> > diff --git a/init/Kconfig b/init/Kconfig
> > index cac3f096050d..ef09e83b9196 100644
> > --- a/init/Kconfig
> > +++ b/init/Kconfig
> > @@ -53,6 +53,28 @@ config CROSS_COMPILE
> > nee
; > +++ b/arch/c6x/include/asm/tables.h
> > @@ -0,0 +1,26 @@
> > +#ifndef _ASM_C6X_ASM_TABLES_H
> > +#define _ASM_C6X_ASM_TABLES_H
> > +/*
> > + * Copyright (C) 2016 Luis R. Rodriguez
> > + *
> > + * This program is free software; you can redistribute it
On Fri, Aug 19, 2016 at 02:55:43PM -0700, Kees Cook wrote:
> On Fri, Aug 19, 2016 at 2:32 PM, wrote:
> > From: "Luis R. Rodriguez"
> >
> > Section ranges are on one of the types of custom sections
> > types used in Linux. This provides a series of helpers
On Fri, Aug 19, 2016 at 02:47:48PM -0700, Kees Cook wrote:
> On Fri, Aug 19, 2016 at 2:32 PM, wrote:
> > From: "Luis R. Rodriguez"
> >
> > +SECTION_RODATA
> > +--
> > +.. kernel-doc:: include/asm-generic/section-core.h
> > + :doc: S
On Fri, Aug 19, 2016 at 03:29:24PM -0700, Kees Cook wrote:
> On Fri, Aug 19, 2016 at 2:32 PM, wrote:
> > From: "Luis R. Rodriguez"
> >
> > This v4 addresses feedback from the previous v3 series [0], and also
> > addresses a huge array of additional tests a
On Sat, Aug 13, 2016 at 12:46:16PM +0200, Greg KH wrote:
> On Sat, Aug 13, 2016 at 12:00:42AM +0200, Luis R. Rodriguez wrote:
> > On Fri, Aug 12, 2016 at 10:23:34PM +0200, Greg KH wrote:
> > > On Fri, Aug 12, 2016 at 07:04:52PM +0200, Luis R. Rodriguez wrote:
> > >
On Fri, Aug 12, 2016 at 10:23:34PM +0200, Greg KH wrote:
> On Fri, Aug 12, 2016 at 07:04:52PM +0200, Luis R. Rodriguez wrote:
> > Alright, how's this new description:
> >
> > diff --git a/init/Kconfig b/init/Kconfig
> > index cac3f096050d..73e4890c24c4 100644
>
On Fri, Aug 12, 2016 at 05:51:21PM +0200, Borislav Petkov wrote:
> On Fri, Aug 12, 2016 at 05:28:05PM +0200, Luis R. Rodriguez wrote:
> > Even so, you don't link the compiled extra code so the only penalty
> > here is when compiling, nothing more. And if you are compiling ty
On Fri, Aug 12, 2016 at 09:25:07AM +0200, Borislav Petkov wrote:
> On Fri, Aug 12, 2016 at 08:50:11AM +0200, Luis R. Rodriguez wrote:
> > On Fri, Aug 12, 2016 at 07:23:03AM +0200, Borislav Petkov wrote:
> > > On Fri, Aug 12, 2016 at 05:51:29AM +0200, Luis R. Rodriguez wrote:
>
On Fri, Aug 12, 2016 at 07:23:03AM +0200, Borislav Petkov wrote:
> On Fri, Aug 12, 2016 at 05:51:29AM +0200, Luis R. Rodriguez wrote:
> > OK I've added CONFIG_BUILD_AVOID_BITROT.
>
> What does that do?
Enabling it allows the forced compilation chosen by maintaine
On Tue, Aug 09, 2016 at 05:55:08AM +0200, Borislav Petkov wrote:
> On Mon, Aug 08, 2016 at 05:05:39PM +0200, Luis R. Rodriguez wrote:
> > > So how can I disable those table-* things from even getting built? Avoid
> > > using table-y? But then everything declared
On Tue, Aug 09, 2016 at 09:09:07AM -0700, James Bottomley wrote:
> On Tue, 2016-08-09 at 15:24 +0100, One Thousand Gnomes wrote:
> > > table development go under copyleft-next, Rusty recently asked for
> > > code to go in prior to the license tag being added denoting this
> > > license as GPL-com
On Fri, Jul 29, 2016 at 12:06:30PM +0200, Borislav Petkov wrote:
> On Fri, Jul 22, 2016 at 02:24:41PM -0700, Luis R. Rodriguez wrote:
> > A linker table is a data structure that is stitched together from items
> > in multiple object files. Linux has historically implicitly used li
On Tue, Jul 26, 2016 at 12:30:14AM +0900, Masami Hiramatsu wrote:
> On Fri, 22 Jul 2016 14:24:41 -0700
> "Luis R. Rodriguez" wrote:
>
> > +/**
> > + * LINKTABLE_RUN_ALL - iterate and run through all entries on a linker
> > table
> > + *
> > + *
On Tue, Jul 26, 2016 at 12:27:22AM +0900, Masami Hiramatsu wrote:
> On Fri, 22 Jul 2016 14:24:47 -0700
> "Luis R. Rodriguez" wrote:
>
> > kprobe makes use of two sections, the one dealing with the actual
> > kprobes was recently ported using the standard secti
On Fri, Jul 22, 2016 at 05:55:35PM -0500, Josh Poimboeuf wrote:
> On Sat, Jul 23, 2016 at 12:26:54AM +0200, Luis R. Rodriguez wrote:
> > On Fri, Jul 22, 2016 at 04:49:45PM -0500, Josh Poimboeuf wrote:
> > > On Fri, Jul 22, 2016 at 02:24:44PM -0700, Luis R. Rodriguez wrote:
&g
1 - 100 of 817 matches
Mail list logo