~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/security/tomoyo/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /security/tomoyo/Kconfig (Version linux-6.12-rc7) and /security/tomoyo/Kconfig (Version linux-6.0.19)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 config SECURITY_TOMOYO                              2 config SECURITY_TOMOYO
  3         bool "TOMOYO Linux Support"                 3         bool "TOMOYO Linux Support"
  4         depends on SECURITY                         4         depends on SECURITY
  5         depends on NET                              5         depends on NET
  6         select SECURITYFS                           6         select SECURITYFS
  7         select SECURITY_PATH                        7         select SECURITY_PATH
  8         select SECURITY_NETWORK                     8         select SECURITY_NETWORK
                                                   >>   9         select SRCU
                                                   >>  10         select BUILD_BIN2C
  9         default n                                  11         default n
 10         help                                       12         help
 11           This selects TOMOYO Linux, pathname-     13           This selects TOMOYO Linux, pathname-based access control.
 12           Required userspace tools and further     14           Required userspace tools and further information may be
 13           found at <https://tomoyo.sourceforge !!  15           found at <http://tomoyo.sourceforge.jp/>.
 14           If you are unsure how to answer this     16           If you are unsure how to answer this question, answer N.
 15                                                    17 
 16 config SECURITY_TOMOYO_MAX_ACCEPT_ENTRY            18 config SECURITY_TOMOYO_MAX_ACCEPT_ENTRY
 17         int "Default maximal count for learnin     19         int "Default maximal count for learning mode"
 18         default 2048                               20         default 2048
 19         range 0 2147483647                         21         range 0 2147483647
 20         depends on SECURITY_TOMOYO                 22         depends on SECURITY_TOMOYO
 21         help                                       23         help
 22           This is the default value for maxima     24           This is the default value for maximal ACL entries
 23           that are automatically appended into     25           that are automatically appended into policy at "learning mode".
 24           Some programs access thousands of ob     26           Some programs access thousands of objects, so running
 25           such programs in "learning mode" dul     27           such programs in "learning mode" dulls the system response
 26           and consumes much memory.                28           and consumes much memory.
 27           This is the safeguard for such progr     29           This is the safeguard for such programs.
 28                                                    30 
 29 config SECURITY_TOMOYO_MAX_AUDIT_LOG               31 config SECURITY_TOMOYO_MAX_AUDIT_LOG
 30         int "Default maximal count for audit l     32         int "Default maximal count for audit log"
 31         default 1024                               33         default 1024
 32         range 0 2147483647                         34         range 0 2147483647
 33         depends on SECURITY_TOMOYO                 35         depends on SECURITY_TOMOYO
 34         help                                       36         help
 35           This is the default value for maxima     37           This is the default value for maximal entries for
 36           audit logs that the kernel can hold      38           audit logs that the kernel can hold on memory.
 37           You can read the log via /sys/kernel     39           You can read the log via /sys/kernel/security/tomoyo/audit.
 38           If you don't need audit logs, you ma     40           If you don't need audit logs, you may set this value to 0.
 39                                                    41 
 40 config SECURITY_TOMOYO_OMIT_USERSPACE_LOADER       42 config SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
 41         bool "Activate without calling userspa     43         bool "Activate without calling userspace policy loader."
 42         default n                                  44         default n
 43         depends on SECURITY_TOMOYO                 45         depends on SECURITY_TOMOYO
 44         help                                       46         help
 45           Say Y here if you want to activate a     47           Say Y here if you want to activate access control as soon as built-in
 46           policy was loaded. This option will      48           policy was loaded. This option will be useful for systems where
 47           operations which can lead to the hij     49           operations which can lead to the hijacking of the boot sequence are
 48           needed before loading the policy. Fo     50           needed before loading the policy. For example, you can activate
 49           immediately after loading the fixed      51           immediately after loading the fixed part of policy which will allow
 50           only operations needed for mounting      52           only operations needed for mounting a partition which contains the
 51           variant part of policy and verifying     53           variant part of policy and verifying (e.g. running GPG check) and
 52           loading the variant part of policy.      54           loading the variant part of policy. Since you can start using
 53           enforcing mode from the beginning, y     55           enforcing mode from the beginning, you can reduce the possibility of
 54           hijacking the boot sequence.             56           hijacking the boot sequence.
 55                                                    57 
 56 config SECURITY_TOMOYO_POLICY_LOADER               58 config SECURITY_TOMOYO_POLICY_LOADER
 57         string "Location of userspace policy l     59         string "Location of userspace policy loader"
 58         default "/sbin/tomoyo-init"                60         default "/sbin/tomoyo-init"
 59         depends on SECURITY_TOMOYO                 61         depends on SECURITY_TOMOYO
 60         depends on !SECURITY_TOMOYO_OMIT_USERS     62         depends on !SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
 61         help                                       63         help
 62           This is the default pathname of poli     64           This is the default pathname of policy loader which is called before
 63           activation. You can override this se     65           activation. You can override this setting via TOMOYO_loader= kernel
 64           command line option.                     66           command line option.
 65                                                    67 
 66 config SECURITY_TOMOYO_ACTIVATION_TRIGGER          68 config SECURITY_TOMOYO_ACTIVATION_TRIGGER
 67         string "Trigger for calling userspace      69         string "Trigger for calling userspace policy loader"
 68         default "/sbin/init"                       70         default "/sbin/init"
 69         depends on SECURITY_TOMOYO                 71         depends on SECURITY_TOMOYO
 70         depends on !SECURITY_TOMOYO_OMIT_USERS     72         depends on !SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
 71         help                                       73         help
 72           This is the default pathname of acti     74           This is the default pathname of activation trigger.
 73           You can override this setting via TO     75           You can override this setting via TOMOYO_trigger= kernel command line
 74           option. For example, if you pass ini     76           option. For example, if you pass init=/bin/systemd option, you may
 75           want to also pass TOMOYO_trigger=/bi     77           want to also pass TOMOYO_trigger=/bin/systemd option.
 76                                                    78 
 77 config SECURITY_TOMOYO_INSECURE_BUILTIN_SETTIN     79 config SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING
 78         bool "Use insecure built-in settings f     80         bool "Use insecure built-in settings for fuzzing tests."
 79         default n                                  81         default n
 80         depends on SECURITY_TOMOYO                 82         depends on SECURITY_TOMOYO
 81         select SECURITY_TOMOYO_OMIT_USERSPACE_     83         select SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
 82         help                                       84         help
 83           Enabling this option forces minimal      85           Enabling this option forces minimal built-in policy and disables
 84           domain/program checks for run-time p     86           domain/program checks for run-time policy modifications. Please enable
 85           this option only if this kernel is b     87           this option only if this kernel is built for doing fuzzing tests.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php