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]
Date:   Tue, 24 Nov 2020 19:19:13 -0500
From:   Gabriel Krisman Bertazi <krisman@...labora.com>
To:     kernel test robot <lkp@...el.com>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, x86@...nel.org,
        Thomas Gleixner <tglx@...utronix.de>,
        Kees Cook <keescook@...omium.org>
Subject: Re: [tip:core/entry 1/1] include/linux/seccomp.h:45:15: error: use
 of undeclared identifier 'TIF_WORK_SECCOMP'

kernel test robot <lkp@...el.com> writes:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/entry
> head:   0395124a2fbff5132afee5767071ebe7e05885ac
> commit: 0395124a2fbff5132afee5767071ebe7e05885ac [1/1] entry: Fix boot for !CONFIG_GENERIC_ENTRY
> config: riscv-randconfig-r024-20201124 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project df9ae5992889560a8f3c6760b54d5051b47c7bf5)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install riscv cross compiling tool for clang build
>         # apt-get install binutils-riscv64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0395124a2fbff5132afee5767071ebe7e05885ac
>         git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
>         git fetch --no-tags tip core/entry
>         git checkout 0395124a2fbff5132afee5767071ebe7e05885ac
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv 
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
>    In file included from arch/riscv/kernel/asm-offsets.c:10:
>    In file included from include/linux/sched.h:22:
>>> include/linux/seccomp.h:45:15: error: use of undeclared identifier 'TIF_WORK_SECCOMP'
>            if (unlikely(test_syscall_work(SECCOMP)))
>                         ^
>    include/linux/thread_info.h:136:45: note: expanded from macro 'test_syscall_work'
>            test_ti_thread_flag(current_thread_info(), TIF_WORK_##fl)
>                                                       ^
>    <scratch space>:71:1: note: expanded from here
>    TIF_WORK_SECCOMP

Was this a merge error when applying the commit?

The patch I submitted is different from what is in the TIP tree.

https://www.spinics.net/lists/arm-kernel/msg857461.html

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=core/entry

-- 
Gabriel Krisman Bertazi

Powered by blists - more mailing lists