Re: [PATCH] Documentation: kbuild: Add document about reproducible builds

2019-09-14 Thread Ben Hutchings
On Fri, 2019-09-13 at 08:28 +0200, Nicolas Schier wrote: > Hi Ben, > > thanks for that document, I really enjoyed reading it! > > On Wed, Sep 11, 2019 at 12:53:53PM +0100, Ben Hutchings wrote: > [...] > > diff --git a/Documentation/kbuild/reproducible-builds.rst &g

[PATCH v2] Documentation: kbuild: Add document about reproducible builds

2019-09-14 Thread Ben Hutchings
d the settings needed to ensure reproducibility. Signed-off-by: Ben Hutchings --- v2: * Delete extra "the" in the first paragraph. * Rewrite paragraph about filenames to reflect that -fmacro-prefix-map is used by default. * Rewrite paragraph about source packages to be clearer. Docum

Re: [PATCH] Documentation: kbuild: Add document about reproducible builds

2019-09-11 Thread Ben Hutchings
On Wed, 2019-09-11 at 14:04 +0100, Ben Hutchings wrote: > On Wed, 2019-09-11 at 21:17 +0900, Masahiro Yamada wrote: > > Hi Ben, > > > > > > Thanks for this. > > Please let me add some comments. > > > > > > On Wed, Sep 11, 2019 at 8:54 PM Ben

Re: [PATCH] Documentation: kbuild: Add document about reproducible builds

2019-09-11 Thread Ben Hutchings
On Wed, 2019-09-11 at 21:17 +0900, Masahiro Yamada wrote: > Hi Ben, > > > Thanks for this. > Please let me add some comments. > > > On Wed, Sep 11, 2019 at 8:54 PM Ben Hutchings wrote: [...] > > +Absolute filenames > > +-- > > + > &

[PATCH] Documentation: kbuild: Add document about reproducible builds

2019-09-11 Thread Ben Hutchings
d the settings needed to ensure reproducibility. Signed-off-by: Ben Hutchings --- Documentation/kbuild/index.rst | 1 + Documentation/kbuild/reproducible-builds.rst | 115 +++ 2 files changed, 116 insertions(+) create mode 100644 Documentation/kbuild/reproducible-build

[PATCH 3.16 004/305] x86/mm: Simplify p[g4um]d_page() macros

2019-02-03 Thread Ben Hutchings
-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman Signed-off-by: Wenkuan Wang Signed-off-by: Ben Hutchings --- arch/x86/include/asm/pgtable.h | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h @@ -166,6

Re: Bug#905116: [PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes

2018-08-06 Thread Ben Hutchings
On Mon, 2018-08-06 at 07:14 -0600, Jonathan Corbet wrote: > On Sun, 5 Aug 2018 17:41:09 +0100 > Ben Hutchings wrote: > > > Commit 720ac2ef479d ("PATCH scripts/kernel-doc") fixed the two > > instances of literal braces that Perl 5.28 warns about, but there are >

[PATCH v2] scripts/kernel-doc: Escape all literal braces in regexes

2018-08-05 Thread Ben Hutchings
sistency and to avoid confusing bracket-matching in text editors. Signed-off-by: Ben Hutchings --- v2: Rebase on top of commit 720ac2ef479d; reword accordingly scripts/kernel-doc | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/kernel-doc b/scripts/k

[PATCH] scripts/kernel-doc: Escape all literal braces in regexes

2018-08-05 Thread Ben Hutchings
will remove it (resulting in a fatal error). Escape all left braces that are treated as literal characters. Also escape literal right braces, for consistency and to avoid confusing bracket-matching in text editors. References: https://bugs.debian.org/905116 Signed-off-by: Ben Hutchings --- I

[PATCH] Documentation: Update references to drivers/base/firmware_class.c

2018-04-20 Thread Ben Hutchings
This source file has been renamed in 4.17. Signed-off-by: Ben Hutchings --- Documentation/driver-api/firmware/request_firmware.rst | 10 +- Documentation/driver-api/infrastructure.rst| 2 +- Documentation/power/suspend-and-cpuhotplug.txt | 2 +- 3 files changed, 7

Re: [PATCH 2/3] doc-rst: Delete output of failed dot-SVG conversion

2017-02-04 Thread Ben Hutchings
On Wed, 2017-02-01 at 13:20 -0700, Jonathan Corbet wrote: > On Tue, 31 Jan 2017 15:37:50 + > Ben Hutchings wrote: > > > > I'd just use dot -o.   > > > > That does make more sense.  I looked for such an option before > > writing > > this, but

Re: [PATCH 2/3] doc-rst: Delete output of failed dot-SVG conversion

2017-01-31 Thread Ben Hutchings
On Tue, 2017-01-31 at 09:36 +0200, Jani Nikula wrote: > On Tue, 31 Jan 2017, Ben Hutchings wrote: > > As we use redirection to create the SVG file, even a failed > > conversion > > will create the file and 'make' will consider it up-to-date if the > > buil

[PATCH 1/3] doc-rst: Break shell command sequences on failure

2017-01-30 Thread Ben Hutchings
sub-folders") Fixes: cd21379b1698 ("doc-rst: generic way to build PDF of sub-folders") Signed-off-by: Ben Hutchings --- Documentation/Makefile.sphinx | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sphinx inde

[PATCH 3/3] doc-rst: Fix recursive make invocation from macros

2017-01-30 Thread Ben Hutchings
In any case where we recurse but don't mention $(MAKE) literally in the recipe, we need to add a '+' at the start of the command to ensure that parallel makes and various other options work properly. Fixes: 609afe6b49ef ("Documentation/sphinx: build the media intermediate ...&

[PATCH 2/3] doc-rst: Delete output of failed dot-SVG conversion

2017-01-30 Thread Ben Hutchings
As we use redirection to create the SVG file, even a failed conversion will create the file and 'make' will consider it up-to-date if the build is retried. We should delete it in case of failure. Fixes: ec868e4ee2bc ("docs-rst: media: build SVG from graphviz files") Signed-o

[PATCH 0/3] doc-rst: Build fixes

2017-01-30 Thread Ben Hutchings
This series fixes some bugs I found in the new doc build system. Ben. Ben Hutchings (3): doc-rst: Break shell command sequences on failure doc-rst: Delete output of failed dot-SVG conversion doc-rst: Fix recursive make invocation from macros Documentation/Makefile.sphinx | 16

Sphinx builds always write to the source directory

2017-01-30 Thread Ben Hutchings
sible to put the converted files in the output directory, but I don't know how to tell Sphinx to find them there. Are these issues likely to be fixed? Ben. -- Ben Hutchings Q.  Which is the greater problem in the world today, ignorance or apathy? A.  I don't know and I cou

Re: [PATCH 2/2] security,perf: Allow further restriction of perf_event_open

2016-06-17 Thread Ben Hutchings
On Fri, 2016-06-17 at 08:56 +0300, Alexander Shishkin wrote: > Ben Hutchings writes: > > > When kernel.perf_event_open is set to 3 (or greater), disallow all > > access to performance events by users without CAP_SYS_ADMIN. > > Add a Kconfig symbol CONFIG_SECURITY_P

Re: [kernel-hardening] Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled

2016-01-22 Thread Ben Hutchings
y started to enter the global consciousness. ;) > > Serge, Ben, what do you think? I agree that using the '_restrict' suffix for new restrictions makes sense.  I also don't think that a third possible value for kernel.unprivileged_userns_clone would would be understandable.