[security:next-general 83/85] security/safesetid/lsm.c:17:10: fatal error: asm/syscall.h: No such file or directory

kbuild test robot lkp at intel.com
Wed Jan 30 00:33:30 UTC 2019


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general
head:   2f87324be7736151bd1f9bf1d63b1eb0401011ba
commit: aeca4e2ca65c1aeacfbe520684e6421719d99417 [83/85] LSM: add SafeSetID module that gates setid calls
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gnu-gcc (Debian 8.2.0-11) 8.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout aeca4e2ca65c1aeacfbe520684e6421719d99417
        # save the attached .config to linux build tree
        GCC_VERSION=8.2.0 make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

>> security/safesetid/lsm.c:17:10: fatal error: asm/syscall.h: No such file or directory
    #include <asm/syscall.h>
             ^~~~~~~~~~~~~~~
   compilation terminated.

vim +17 security/safesetid/lsm.c

    16	
  > 17	#include <asm/syscall.h>
    18	#include <linux/hashtable.h>
    19	#include <linux/lsm_hooks.h>
    20	#include <linux/module.h>
    21	#include <linux/ptrace.h>
    22	#include <linux/sched/task_stack.h>
    23	#include <linux/security.h>
    24	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


More information about the Linux-security-module-archive mailing list