CC arch/i386/mm/fault.o
arch/i386/mm/fault.c:354:1: directives may not be used inside a macro argument
arch/i386/mm/fault.c:352:49: unterminated argument list invoking macro "likely"
arch/i386/mm/fault.c: In function `do_page_fault':
arch/i386/mm/fault.c:358: `likely' undeclared (first use in this function)
arch/i386/mm/fault.c:358: (Each undeclared identifier is reported only once
arch/i386/mm/fault.c:358: for each function it appears in.)
arch/i386/mm/fault.c:358: parse error before ')' token
arch/i386/mm/fault.c:260: warning: unused variable `vma'
arch/i386/mm/fault.c:262: warning: unused variable `write'
arch/i386/mm/fault.c:266: warning: unused variable `pte_mask'
arch/i386/mm/fault.c:318: label `not_pax_fault' used but not defined
arch/i386/mm/fault.c:312: label `bad_area_nopax' used but not defined
arch/i386/mm/fault.c:304: label `bad_area_nosemaphore' used but not defined
arch/i386/mm/fault.c:299: label `vmalloc_fault' used but not defined
arch/i386/mm/fault.c: At top level:
arch/i386/mm/fault.c:367: warning: type defaults to `int' in declaration of `pte_mask'
arch/i386/mm/fault.c:367: `error_code' undeclared here (not in a function)
arch/i386/mm/fault.c:367: warning: data definition has no type or storage class
arch/i386/mm/fault.c:372: parse error before "volatile"
arch/i386/mm/fault.c:395: warning: type defaults to `int' in declaration of `kunmap_atomic'
arch/i386/mm/fault.c:395: warning: parameter names (without types) in function declaration
arch/i386/mm/fault.c:395: conflicting types for `kunmap_atomic'
include/asm/highmem.h:72: previous declaration of `kunmap_atomic'
arch/i386/mm/fault.c:395: warning: data definition has no type or storage class
arch/i386/mm/fault.c:396: parse error before "do"
arch/i386/mm/fault.c:421: parse error before '&' token
arch/i386/mm/fault.c:421: warning: type defaults to `int' in declaration of `down_read'
arch/i386/mm/fault.c:421: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:421: conflicting types for `down_read'
include/linux/rwsem.h:42: previous declaration of `down_read'
arch/i386/mm/fault.c:421: warning: data definition has no type or storage class
arch/i386/mm/fault.c:424: warning: type defaults to `int' in declaration of `vma'
arch/i386/mm/fault.c:424: `mm' undeclared here (not in a function)
arch/i386/mm/fault.c:424: `address' undeclared here (not in a function)
arch/i386/mm/fault.c:424: warning: initialization makes integer from pointer without a cast
arch/i386/mm/fault.c:424: initializer element is not constant
arch/i386/mm/fault.c:424: warning: data definition has no type or storage class
arch/i386/mm/fault.c:425: parse error before "if"
arch/i386/mm/fault.c:449: warning: type defaults to `int' in declaration of `write'
arch/i386/mm/fault.c:449: warning: data definition has no type or storage class
arch/i386/mm/fault.c:450: parse error before "switch"
arch/i386/mm/fault.c:498: parse error before '&' token
arch/i386/mm/fault.c:498: warning: type defaults to `int' in declaration of `up_read'
arch/i386/mm/fault.c:498: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:498: conflicting types for `up_read'
include/linux/rwsem.h:88: previous declaration of `up_read'
arch/i386/mm/fault.c:498: warning: data definition has no type or storage class
arch/i386/mm/fault.c:516: parse error before numeric constant
arch/i386/mm/fault.c:516: warning: type defaults to `int' in declaration of `do_exit'
arch/i386/mm/fault.c:516: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:516: conflicting types for `do_exit'
include/linux/kernel.h:93: previous declaration of `do_exit'
arch/i386/mm/fault.c:516: warning: data definition has no type or storage class
arch/i386/mm/fault.c:531: parse error before '(' token
arch/i386/mm/fault.c:532: parse error before numeric constant
arch/i386/mm/fault.c:532: warning: type defaults to `int' in declaration of `do_exit'
arch/i386/mm/fault.c:532: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:532: warning: data definition has no type or storage class
arch/i386/mm/fault.c:553: parse error before numeric constant
arch/i386/mm/fault.c:553: warning: type defaults to `int' in declaration of `force_sig_info_fault'
arch/i386/mm/fault.c:553: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:553: conflicting types for `force_sig_info_fault'
arch/i386/mm/fault.c:208: previous declaration of `force_sig_info_fault'
arch/i386/mm/fault.c:553: warning: data definition has no type or storage class
arch/i386/mm/fault.c:591: parse error before numeric constant
arch/i386/mm/fault.c:591: warning: type defaults to `int' in declaration of `bust_spinlocks'
arch/i386/mm/fault.c:591: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:591: conflicting types for `bust_spinlocks'
arch/i386/mm/fault.c:41: previous declaration of `bust_spinlocks'
arch/i386/mm/fault.c:591: warning: data definition has no type or storage class
arch/i386/mm/fault.c:622: parse error before string constant
arch/i386/mm/fault.c:622: warning: type defaults to `int' in declaration of `printk'
arch/i386/mm/fault.c:622: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:622: warning: data definition has no type or storage class
arch/i386/mm/fault.c:623: parse error before string constant
arch/i386/mm/fault.c:623: warning: type defaults to `int' in declaration of `printk'
arch/i386/mm/fault.c:623: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:623: warning: data definition has no type or storage class
arch/i386/mm/fault.c:624: parse error before string constant
arch/i386/mm/fault.c:624: warning: type defaults to `int' in declaration of `printk'
arch/i386/mm/fault.c:624: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:624: warning: data definition has no type or storage class
arch/i386/mm/fault.c:632: warning: type defaults to `int' in declaration of `pgd'
arch/i386/mm/fault.c:632: conflicting types for `pgd'
arch/i386/mm/fault.c:627: previous declaration of `pgd'
arch/i386/mm/fault.c:632: `index' undeclared here (not in a function)
arch/i386/mm/fault.c:632: braced-group within expression allowed only inside a function
arch/i386/mm/fault.c:632: parse error before ')' token
arch/i386/mm/fault.c:633: parse error before string constant
arch/i386/mm/fault.c:633: warning: type defaults to `int' in declaration of `printk'
arch/i386/mm/fault.c:633: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:633: parse error before "unsigned"
arch/i386/mm/fault.c:636: warning: type defaults to `int' in declaration of `pmd'
arch/i386/mm/fault.c:636: conflicting types for `pmd'
arch/i386/mm/fault.c:629: previous declaration of `pmd'
arch/i386/mm/fault.c:636: `address' undeclared here (not in a function)
arch/i386/mm/fault.c:636: warning: data definition has no type or storage class
arch/i386/mm/fault.c:637: parse error before string constant
arch/i386/mm/fault.c:637: warning: type defaults to `int' in declaration of `printk'
arch/i386/mm/fault.c:637: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:637: parse error before "unsigned"
arch/i386/mm/fault.c:655: parse error before string constant
arch/i386/mm/fault.c:655: warning: type defaults to `int' in declaration of `die'
arch/i386/mm/fault.c:655: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:655: conflicting types for `die'
arch/i386/mm/fault.c:34: previous declaration of `die'
arch/i386/mm/fault.c:655: warning: data definition has no type or storage class
arch/i386/mm/fault.c:656: parse error before numeric constant
arch/i386/mm/fault.c:656: warning: type defaults to `int' in declaration of `bust_spinlocks'
arch/i386/mm/fault.c:656: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:656: warning: data definition has no type or storage class
arch/i386/mm/fault.c:657: parse error before numeric constant
arch/i386/mm/fault.c:657: warning: type defaults to `int' in declaration of `do_exit'
arch/i386/mm/fault.c:657: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:657: warning: data definition has no type or storage class
arch/i386/mm/fault.c:663: parse error before ':' token
arch/i386/mm/fault.c:667: parse error before '&' token
arch/i386/mm/fault.c:667: warning: type defaults to `int' in declaration of `down_read'
arch/i386/mm/fault.c:667: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:667: warning: data definition has no type or storage class
arch/i386/mm/fault.c:670: parse error before string constant
arch/i386/mm/fault.c:670: warning: type defaults to `int' in declaration of `printk'
arch/i386/mm/fault.c:670: warning: function declaration isn't a prototype
arch/i386/mm/fault.c:670: warning: data definition has no type or storage class
arch/i386/mm/fault.c:689: parse error before numeric constant
arch/i386/mm/fault.c:703: conflicting types for `pgd'
arch/i386/mm/fault.c:632: previous declaration of `pgd'
arch/i386/mm/fault.c:705: conflicting types for `pmd'
arch/i386/mm/fault.c:636: previous declaration of `pmd'
arch/i386/mm/fault.c:708: warning: type defaults to `int' in declaration of `pgd_paddr'
arch/i386/mm/fault.c:708: conflicting types for `pgd_paddr'
arch/i386/mm/fault.c:702: previous declaration of `pgd_paddr'
arch/i386/mm/fault.c:708: braced-group within expression allowed only inside a function
arch/i386/mm/fault.c:708: warning: type defaults to `int' in declaration of `__dummy'
arch/i386/mm/fault.c:708: warning: data definition has no type or storage class
arch/i386/mm/fault.c:708: parse error before '}' token
arch/i386/mm/fault.c:709: warning: type defaults to `int' in declaration of `pgd'
arch/i386/mm/fault.c:709: conflicting types for `pgd'
arch/i386/mm/fault.c:703: previous declaration of `pgd'
arch/i386/mm/fault.c:709: `index' undeclared here (not in a function)
arch/i386/mm/fault.c:709: warning: data definition has no type or storage class
arch/i386/mm/fault.c:710: warning: type defaults to `int' in declaration of `pgd_k'
arch/i386/mm/fault.c:710: conflicting types for `pgd_k'
arch/i386/mm/fault.c:703: previous declaration of `pgd_k'
arch/i386/mm/fault.c:710: `index' undeclared here (not in a function)
arch/i386/mm/fault.c:710: warning: data definition has no type or storage class
arch/i386/mm/fault.c:712: parse error before "if"
arch/i386/mm/fault.c:721: warning: type defaults to `int' in declaration of `pud'
arch/i386/mm/fault.c:721: conflicting types for `pud'
arch/i386/mm/fault.c:704: previous declaration of `pud'
arch/i386/mm/fault.c:721: `address' undeclared here (not in a function)
arch/i386/mm/fault.c:721: warning: passing arg 1 of `pud_offset' makes pointer from integer without a cast
arch/i386/mm/fault.c:721: warning: data definition has no type or storage class
arch/i386/mm/fault.c:722: warning: type defaults to `int' in declaration of `pud_k'
arch/i386/mm/fault.c:722: conflicting types for `pud_k'
arch/i386/mm/fault.c:704: previous declaration of `pud_k'
arch/i386/mm/fault.c:722: `address' undeclared here (not in a function)
arch/i386/mm/fault.c:722: warning: passing arg 1 of `pud_offset' makes pointer from integer without a cast
arch/i386/mm/fault.c:722: warning: data definition has no type or storage class
arch/i386/mm/fault.c:723: parse error before "if"
arch/i386/mm/fault.c:726: warning: type defaults to `int' in declaration of `pmd'
arch/i386/mm/fault.c:726: conflicting types for `pmd'
arch/i386/mm/fault.c:705: previous declaration of `pmd'
arch/i386/mm/fault.c:726: `address' undeclared here (not in a function)
arch/i386/mm/fault.c:726: warning: passing arg 1 of `pmd_offset' makes pointer from integer without a cast
arch/i386/mm/fault.c:726: warning: data definition has no type or storage class
arch/i386/mm/fault.c:727: warning: type defaults to `int' in declaration of `pmd_k'
arch/i386/mm/fault.c:727: conflicting types for `pmd_k'
arch/i386/mm/fault.c:705: previous declaration of `pmd_k'
arch/i386/mm/fault.c:727: `address' undeclared here (not in a function)
arch/i386/mm/fault.c:727: warning: passing arg 1 of `pmd_offset' makes pointer from integer without a cast
arch/i386/mm/fault.c:727: warning: data definition has no type or storage class
arch/i386/mm/fault.c:728: parse error before "if"
arch/i386/mm/fault.c:730: parse error before '=' token
arch/i386/mm/fault.c:732: warning: type defaults to `int' in declaration of `pte_k'
arch/i386/mm/fault.c:732: conflicting types for `pte_k'
arch/i386/mm/fault.c:706: previous declaration of `pte_k'
arch/i386/mm/fault.c:732: invalid type argument of `unary *'
arch/i386/mm/fault.c:732: `address' undeclared here (not in a function)
arch/i386/mm/fault.c:732: warning: data definition has no type or storage class
arch/i386/mm/fault.c:733: parse error before "if"
arch/i386/mm/fault.c:553: warning: `force_sig_info_fault' defined but not used
make[1]: *** [arch/i386/mm/fault.o] Error 1
make: *** [arch/i386/mm] Error 2
[/quote]#
# PaX
#
CONFIG_PAX=y
#
# PaX Control
#
# CONFIG_PAX_SOFTMODE is not set
CONFIG_PAX_EI_PAX=y
CONFIG_PAX_PT_PAX_FLAGS=y
CONFIG_PAX_NO_ACL_FLAGS=y
# CONFIG_PAX_HAVE_ACL_FLAGS is not set
# CONFIG_PAX_HOOK_ACL_FLAGS is not set
#
# Non-executable pages
#
CONFIG_PAX_NOEXEC=y
CONFIG_PAX_PAGEEXEC=y
CONFIG_PAX_SEGMEXEC=y
# CONFIG_PAX_DEFAULT_PAGEEXEC is not set
CONFIG_PAX_DEFAULT_SEGMEXEC=y
# CONFIG_PAX_EMUTRAMP is not set
CONFIG_PAX_MPROTECT=y
# CONFIG_PAX_NOELFRELOCS is not set
# CONFIG_PAX_KERNEXEC is not set
#
# Address Space Layout Randomization
#
CONFIG_PAX_ASLR=y
CONFIG_PAX_RANDKSTACK=y
CONFIG_PAX_RANDUSTACK=y
CONFIG_PAX_RANDMMAP=y
CONFIG_PAX_NOVSYSCALL=y
#
# Grsecurity
#
CONFIG_GRKERNSEC=y
# CONFIG_GRKERNSEC_LOW is not set
# CONFIG_GRKERNSEC_MEDIUM is not set
# CONFIG_GRKERNSEC_HIGH is not set
CONFIG_GRKERNSEC_CUSTOM=y
#
# Address Space Protection
#
CONFIG_GRKERNSEC_KMEM=y
CONFIG_GRKERNSEC_IO=y
CONFIG_GRKERNSEC_PROC_MEMMAP=y
# CONFIG_GRKERNSEC_BRUTE is not set
CONFIG_GRKERNSEC_HIDESYM=y
#
# Role Based Access Control Options
#
CONFIG_GRKERNSEC_ACL_HIDEKERN=y
CONFIG_GRKERNSEC_ACL_MAXTRIES=3
CONFIG_GRKERNSEC_ACL_TIMEOUT=30
#
# Filesystem Protections
#
CONFIG_GRKERNSEC_PROC=y
CONFIG_GRKERNSEC_PROC_USER=y
CONFIG_GRKERNSEC_PROC_ADD=y
CONFIG_GRKERNSEC_LINK=y
CONFIG_GRKERNSEC_FIFO=y
CONFIG_GRKERNSEC_CHROOT=y
CONFIG_GRKERNSEC_CHROOT_MOUNT=y
CONFIG_GRKERNSEC_CHROOT_DOUBLE=y
CONFIG_GRKERNSEC_CHROOT_PIVOT=y
CONFIG_GRKERNSEC_CHROOT_CHDIR=y
CONFIG_GRKERNSEC_CHROOT_CHMOD=y
CONFIG_GRKERNSEC_CHROOT_FCHDIR=y
CONFIG_GRKERNSEC_CHROOT_MKNOD=y
CONFIG_GRKERNSEC_CHROOT_SHMAT=y
CONFIG_GRKERNSEC_CHROOT_UNIX=y
CONFIG_GRKERNSEC_CHROOT_FINDTASK=y
CONFIG_GRKERNSEC_CHROOT_NICE=y
CONFIG_GRKERNSEC_CHROOT_SYSCTL=y
CONFIG_GRKERNSEC_CHROOT_CAPS=y
#
# Kernel Auditing
#
# CONFIG_GRKERNSEC_AUDIT_GROUP is not set
# CONFIG_GRKERNSEC_EXECLOG is not set
# CONFIG_GRKERNSEC_RESLOG is not set
# CONFIG_GRKERNSEC_CHROOT_EXECLOG is not set
# CONFIG_GRKERNSEC_AUDIT_CHDIR is not set
CONFIG_GRKERNSEC_AUDIT_MOUNT=y
# CONFIG_GRKERNSEC_AUDIT_IPC is not set
# CONFIG_GRKERNSEC_SIGNAL is not set
CONFIG_GRKERNSEC_FORKFAIL=y
CONFIG_GRKERNSEC_TIME=y
CONFIG_GRKERNSEC_PROC_IPADDR=y
# CONFIG_GRKERNSEC_AUDIT_TEXTREL is not set
#
# Executable Protections
#
CONFIG_GRKERNSEC_EXECVE=y
# CONFIG_GRKERNSEC_SHM is not set
CONFIG_GRKERNSEC_DMESG=y
CONFIG_GRKERNSEC_RANDPID=y
CONFIG_GRKERNSEC_TPE=y
CONFIG_GRKERNSEC_TPE_ALL=y
# CONFIG_GRKERNSEC_TPE_INVERT is not set
CONFIG_GRKERNSEC_TPE_GID=1005
#
# Network Protections
#
CONFIG_GRKERNSEC_RANDNET=y
CONFIG_GRKERNSEC_RANDSRC=y
CONFIG_GRKERNSEC_SOCKET=y
CONFIG_GRKERNSEC_SOCKET_ALL=y
CONFIG_GRKERNSEC_SOCKET_ALL_GID=1004
CONFIG_GRKERNSEC_SOCKET_CLIENT=y
CONFIG_GRKERNSEC_SOCKET_CLIENT_GID=1003
CONFIG_GRKERNSEC_SOCKET_SERVER=y
CONFIG_GRKERNSEC_SOCKET_SERVER_GID=1002
#
# Sysctl support
#
# CONFIG_GRKERNSEC_SYSCTL is not set
#
# Logging Options
#
CONFIG_GRKERNSEC_FLOODTIME=10
CONFIG_GRKERNSEC_FLOODBURST=4
CONFIG_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
CONFIG_SECURITY=y
CONFIG_SECURITY_NETWORK=y
CONFIG_SECURITY_CAPABILITIES=y
# CONFIG_SECURITY_ROOTPLUG is not set
CONFIG_SECURITY_SECLVL=m
# CONFIG_SECURITY_SELINUX is not set