4
# Ensure this option is enabled.
5
value CONFIG_COMPAT_BRK n
7
value CONFIG_LSM_MMAP_MIN_ADDR 0
8
value CONFIG_SECURITY y
9
!exists CONFIG_SECURITY_FILE_CAPABILITIES | value CONFIG_SECURITY_FILE_CAPABILITIES y
10
value CONFIG_SECURITY_SELINUX y
11
value CONFIG_SECURITY_SMACK y
12
value CONFIG_SECURITY_YAMA y
13
value CONFIG_SYN_COOKIES y
14
value CONFIG_DEFAULT_SECURITY_APPARMOR y
15
# For architectures which support this option ensure it is enabled.
16
!exists CONFIG_SECCOMP | value CONFIG_SECCOMP y
17
!exists CONFIG_CC_STACKPROTECTOR | value CONFIG_CC_STACKPROTECTOR y
18
!exists CONFIG_DEBUG_RODATA | value CONFIG_DEBUG_RODATA y
19
!exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
20
# For architectures which support this option ensure it is disabled.
21
!exists CONFIG_COMPAT_VDSO | value CONFIG_COMPAT_VDSO n
22
# Default to 32768 for armel, 65536 for everything else.
23
( arch armel & value CONFIG_DEFAULT_MMAP_MIN_ADDR 32768 ) | \
24
( value CONFIG_DEFAULT_MMAP_MIN_ADDR 65536)
26
# CONFIG_USB_DEVICE_FS breaks udev USB firmware loading and is deprecated
27
# ensure it is disabled.
28
value CONFIG_USB_DEVICEFS n
30
# upstart requires DEVTMPFS be enabled and mounted by default.
31
value CONFIG_DEVTMPFS y
32
value CONFIG_DEVTMPFS_MOUNT y
34
# some /dev nodes require POSIX ACLs, like /dev/dsp
35
value CONFIG_TMPFS_POSIX_ACL y
37
# Ramdisk size should be a minimum of 64M
38
value CONFIG_BLK_DEV_RAM_SIZE 65536
40
# LVM requires dm_mod built in to activate correctly (LP: #560717)
41
value CONFIG_BLK_DEV_DM y
43
# sysfs: ensure all DEPRECATED items are off
44
value CONFIG_SYSFS_DEPRECATED_V2 n
45
!exists CONFIG_SYSFS_DEPRECATED | value CONFIG_SYSFS_DEPRECATED n
47
# automatically add local version will cause packaging failure
48
value CONFIG_LOCALVERSION_AUTO n
50
# provide framebuffer console form the start
51
# UbuntuSpec:foundations-m-grub2-boot-framebuffer
52
value CONFIG_FRAMEBUFFER_CONSOLE y
54
# GRUB changes will rely on built in vesafb on x86,
55
# UbuntuSpec:foundations-m-grub2-boot-framebuffer
56
(( arch i386 | arch amd64 ) & value CONFIG_FB_VESA y) | \
57
value CONFIG_FB_VESA m | !exists CONFIG_FB_VESA
59
# Build in uinput module so that it's always available (LP: 584812)
60
value CONFIG_INPUT_UINPUT y