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] [day] [month] [year] [list]
Message-ID: <tip-18f90d372cf35b387663f1567de701e5393f6eb5@git.kernel.org>
Date:   Thu, 2 May 2019 22:58:25 -0700
From:   tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     tglx@...utronix.de, hpa@...or.com, arnd@...db.de, acme@...hat.com,
        namhyung@...nel.org, linux-kernel@...r.kernel.org,
        jolsa@...nel.org, adrian.hunter@...el.com,
        Vineet.Gupta1@...opsys.com, mingo@...nel.org
Subject: [tip:perf/urgent] tools arch uapi: Copy missing unistd.h headers
 for arc, hexagon and riscv

Commit-ID:  18f90d372cf35b387663f1567de701e5393f6eb5
Gitweb:     https://git.kernel.org/tip/18f90d372cf35b387663f1567de701e5393f6eb5
Author:     Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Mon, 22 Apr 2019 15:21:35 -0300
Committer:  Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Thu, 2 May 2019 16:00:20 -0400

tools arch uapi: Copy missing unistd.h headers for arc, hexagon and riscv

Since those were introduced in:

  c8ce48f06503 ("asm-generic: Make time32 syscall numbers optional")

But when the asm-generic/unistd.h was sync'ed with tools/ in:

  1a787fc5ba18 ("tools headers uapi: Sync copy of asm-generic/unistd.h with the kernel sources")

I forgot to copy the files for the architectures that define
__ARCH_WANT_TIME32_SYSCALLS, so the perf build was breaking there, as
reported by Vineet Gupta for the ARC architecture.

After updating my ARC container to use the glibc based toolchain + cross
building libnuma, zlib and elfutils, I finally managed to reproduce the
problem and verify that this now is fixed and will not regress as will
be tested before each pull req sent upstream.

Reported-by: Vineet Gupta <Vineet.Gupta1@...opsys.com>
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Jiri Olsa <jolsa@...nel.org>
CC: linux-snps-arc@...ts.infradead.org
Cc: Namhyung Kim <namhyung@...nel.org>
Link: https://lkml.kernel.org/r/20190426193531.GC28586@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
 {arch => tools/arch}/arc/include/uapi/asm/unistd.h     | 0
 {arch => tools/arch}/hexagon/include/uapi/asm/unistd.h | 0
 {arch => tools/arch}/riscv/include/uapi/asm/unistd.h   | 0
 3 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/arch/arc/include/uapi/asm/unistd.h b/tools/arch/arc/include/uapi/asm/unistd.h
similarity index 100%
copy from arch/arc/include/uapi/asm/unistd.h
copy to tools/arch/arc/include/uapi/asm/unistd.h
diff --git a/arch/hexagon/include/uapi/asm/unistd.h b/tools/arch/hexagon/include/uapi/asm/unistd.h
similarity index 100%
copy from arch/hexagon/include/uapi/asm/unistd.h
copy to tools/arch/hexagon/include/uapi/asm/unistd.h
diff --git a/arch/riscv/include/uapi/asm/unistd.h b/tools/arch/riscv/include/uapi/asm/unistd.h
similarity index 100%
copy from arch/riscv/include/uapi/asm/unistd.h
copy to tools/arch/riscv/include/uapi/asm/unistd.h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ