~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to debian.natty-ti-omap4/config/enforce

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# SECURITY items
3
 
#
4
 
# Ensure this option is enabled.
5
 
value CONFIG_COMPAT_BRK n
6
 
value CONFIG_DEVKMEM 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)
25
 
 
26
 
# CONFIG_USB_DEVICE_FS breaks udev USB firmware loading and is deprecated
27
 
# ensure it is disabled.
28
 
value CONFIG_USB_DEVICEFS n
29
 
 
30
 
# upstart requires DEVTMPFS be enabled and mounted by default.
31
 
value CONFIG_DEVTMPFS y
32
 
value CONFIG_DEVTMPFS_MOUNT y
33
 
 
34
 
# some /dev nodes require POSIX ACLs, like /dev/dsp
35
 
value CONFIG_TMPFS_POSIX_ACL y
36
 
 
37
 
# Ramdisk size should be a minimum of 64M
38
 
value CONFIG_BLK_DEV_RAM_SIZE 65536
39
 
 
40
 
# LVM requires dm_mod built in to activate correctly (LP: #560717)
41
 
value CONFIG_BLK_DEV_DM y
42
 
 
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
46
 
 
47
 
# automatically add local version will cause packaging failure
48
 
value CONFIG_LOCALVERSION_AUTO n
49
 
 
50
 
# provide framebuffer console form the start
51
 
# UbuntuSpec:foundations-m-grub2-boot-framebuffer
52
 
value CONFIG_FRAMEBUFFER_CONSOLE y
53
 
 
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
58
 
 
59
 
# Build in uinput module so that it's always available (LP: 584812)
60
 
value CONFIG_INPUT_UINPUT y