aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-04-07 17:14:24 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-05-11 17:15:41 +0200
commit46af22de16b2ced67116f1ad96bb00cf98146c3e (patch)
tree28e73b980cedb0708d310d370ae19fd1e0f99c72 /target/linux/octeon
parent7099bf09265643f739fa6ffdf758397fd914b769 (diff)
downloadupstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.tar.gz
upstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.tar.bz2
upstream-46af22de16b2ced67116f1ad96bb00cf98146c3e.zip
kernel: Remove CONFIG_COMPAT
This removes support for executing old 32 bit applications on 64 bit ARM and MIPS kernels. On OpenWrt we normally compile all the user space applications on our own and do not support third party binary only modules especial not 32 bit applications on 64 bit CPUs. This reduces the attack surface on such systems and should also save some memory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/octeon')
-rw-r--r--target/linux/octeon/config-4.146
-rw-r--r--target/linux/octeon/config-4.197
2 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/octeon/config-4.14 b/target/linux/octeon/config-4.14
index 0546a6fb29..6393c728f3 100644
--- a/target/linux/octeon/config-4.14
+++ b/target/linux/octeon/config-4.14
@@ -14,7 +14,6 @@ CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_ARCH_MMAP_RND_BITS=12
CONFIG_ARCH_MMAP_RND_BITS_MAX=18
CONFIG_ARCH_MMAP_RND_BITS_MIN=12
-CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=15
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX is not set
# CONFIG_ARCH_OPTIONAL_KERNEL_RWX_DEFAULT is not set
@@ -34,7 +33,6 @@ CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_MQ_PCI=y
CONFIG_BLK_SCSI_REQUEST=y
-CONFIG_BLOCK_COMPAT=y
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
CONFIG_BUILTIN_DTB=y
@@ -49,8 +47,6 @@ CONFIG_CAVIUM_OCTEON_LOCK_L2_TLB=y
CONFIG_CAVIUM_OCTEON_SOC=y
CONFIG_CEVT_R4K=y
CONFIG_CLONE_BACKWARDS=y
-CONFIG_COMPAT=y
-CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_CPU_BIG_ENDIAN=y
CONFIG_CPU_CAVIUM_OCTEON=y
CONFIG_CPU_GENERIC_DUMP_TLB=y
@@ -125,7 +121,6 @@ CONFIG_HAVE_64BIT_ALIGNED_ACCESS=y
# CONFIG_HAVE_ARCH_BITREVERSE is not set
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_ARCH_KGDB=y
-CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
@@ -276,7 +271,6 @@ CONFIG_SWPHY=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
-CONFIG_SYSVIPC_COMPAT=y
CONFIG_SYS_HAS_CPU_CAVIUM_OCTEON=y
CONFIG_SYS_HAS_EARLY_PRINTK=y
CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y
diff --git a/target/linux/octeon/config-4.19 b/target/linux/octeon/config-4.19
index 8bb1dcef18..521dd55de6 100644
--- a/target/linux/octeon/config-4.19
+++ b/target/linux/octeon/config-4.19
@@ -8,7 +8,6 @@ CONFIG_ARCH_HAS_PHYS_TO_DMA=y
CONFIG_ARCH_MMAP_RND_BITS=12
CONFIG_ARCH_MMAP_RND_BITS_MAX=18
CONFIG_ARCH_MMAP_RND_BITS_MIN=12
-CONFIG_ARCH_MMAP_RND_COMPAT_BITS=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=15
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
@@ -24,7 +23,6 @@ CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_MQ_PCI=y
CONFIG_BLK_SCSI_REQUEST=y
-CONFIG_BLOCK_COMPAT=y
CONFIG_BUILTIN_DTB=y
# CONFIG_CAVIUM_CN63XXP1 is not set
CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE=2
@@ -37,9 +35,6 @@ CONFIG_CAVIUM_OCTEON_LOCK_L2_TLB=y
CONFIG_CAVIUM_OCTEON_SOC=y
CONFIG_CEVT_R4K=y
CONFIG_CLONE_BACKWARDS=y
-CONFIG_COMPAT=y
-CONFIG_COMPAT_32BIT_TIME=y
-CONFIG_COMPAT_NETLINK_MESSAGES=y
CONFIG_CPU_BIG_ENDIAN=y
CONFIG_CPU_CAVIUM_OCTEON=y
CONFIG_CPU_GENERIC_DUMP_TLB=y
@@ -114,7 +109,6 @@ CONFIG_HAVE_64BIT_ALIGNED_ACCESS=y
CONFIG_HAVE_ARCH_COMPILER_H=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_ARCH_KGDB=y
-CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
@@ -245,7 +239,6 @@ CONFIG_SRCU=y
CONFIG_SWIOTLB=y
CONFIG_SWPHY=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
-CONFIG_SYSVIPC_COMPAT=y
CONFIG_SYS_HAS_CPU_CAVIUM_OCTEON=y
CONFIG_SYS_HAS_EARLY_PRINTK=y
CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y
href='#n350'>350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468
# Keycodes Overview

When defining a [keymap](keymap.md) each key needs a valid key definition. This page documents the symbols that correspond to keycodes that are available to you in QMK.

This is a reference only. Each group of keys links to the page documenting their functionality in more detail.

## [Basic Keycodes](keycodes_basic.md)

|Key                    |Aliases             |Description                                    |
|-----------------------|--------------------|-----------------------------------------------|
|`KC_NO`                |`XXXXXXX`           |Ignore this key (NOOP)                         |
|`KC_TRANSPARENT`       |`KC_TRNS`, `_______`|Use the next lowest non-transparent key        |
|`KC_A`                 |                    |`a` and `A`                                    |
|`KC_B`                 |                    |`b` and `B`                                    |
|`KC_C`                 |                    |`c` and `C`                                    |
|`KC_D`                 |                    |`d` and `D`                                    |
|`KC_E`                 |                    |`e` and `E`                                    |
|`KC_F`                 |                    |`f` and `F`                                    |
|`KC_G`                 |                    |`g` and `G`                                    |
|`KC_H`                 |                    |`h` and `H`                                    |
|`KC_I`                 |                    |`i` and `I`                                    |
|`KC_J`                 |                    |`j` and `J`                                    |
|`KC_K`                 |                    |`k` and `K`                                    |
|`KC_L`                 |                    |`l` and `L`                                    |
|`KC_M`                 |                    |`m` and `M`                                    |
|`KC_N`                 |                    |`n` and `N`                                    |
|`KC_O`                 |                    |`o` and `O`                                    |
|`KC_P`                 |                    |`p` and `P`                                    |
|`KC_Q`                 |                    |`q` and `Q`                                    |
|`KC_R`                 |                    |`r` and `R`                                    |
|`KC_S`                 |                    |`s` and `S`                                    |
|`KC_T`                 |                    |`t` and `T`                                    |
|`KC_U`                 |                    |`u` and `U`                                    |
|`KC_V`                 |                    |`v` and `V`                                    |
|`KC_W`                 |                    |`w` and `W`                                    |
|`KC_X`                 |                    |`x` and `X`                                    |
|`KC_Y`                 |                    |`y` and `Y`                                    |
|`KC_Z`                 |                    |`z` and `Z`                                    |
|`KC_1`                 |                    |`1` and `!`                                    |
|`KC_2`                 |                    |`2` and `@`                                    |
|`KC_3`                 |                    |`3` and `#`                                    |
|`KC_4`                 |                    |`4` and `$`                                    |
|`KC_5`                 |                    |`5` and `%`                                    |
|`KC_6`                 |                    |`6` and `^`                                    |
|`KC_7`                 |                    |`7` and `&`                                    |
|`KC_8`                 |                    |`8` and `*`                                    |
|`KC_9`                 |                    |`9` and `(`                                    |
|`KC_0`                 |                    |`0` and `)`                                    |
|`KC_ENTER`             |`KC_ENT`            |Return (Enter)                                 |
|`KC_ESCAPE`            |`KC_ESC`            |Escape                                         |
|`KC_BSPACE`            |`KC_BSPC`           |Delete (Backspace)                             |
|`KC_TAB`               |                    |Tab                                            |
|`KC_SPACE`             |`KC_SPC`            |Spacebar                                       |
|`KC_MINUS`             |`KC_MINS`           |`-` and `_`                                    |
|`KC_EQUAL`             |`KC_EQL`            |`=` and `+`                                    |
|`KC_LBRACKET`          |`KC_LBRC`           |`[` and `{`                                    |
|`KC_RBRACKET`          |`KC_RBRC`           |`]` and `}`                                    |
|`KC_BSLASH`            |`KC_BSLS`           |`\` and <code>&#124;</code>                    |
|`KC_NONUS_HASH`        |`KC_NUHS`           |Non-US `#` and `~`                             |
|`KC_SCOLON`            |`KC_SCLN`           |`;` and `:`                                    |
|`KC_QUOTE`             |`KC_QUOT`           |`'` and `"`                                    |
|`KC_GRAVE`             |`KC_GRV`, `KC_ZKHK` |<code>&#96;</code> and `~`, JIS Zenkaku/Hankaku|
|`KC_COMMA`             |`KC_COMM`           |`,` and `<`                                    |
|`KC_DOT`               |                    |`.` and `>`                                    |
|`KC_SLASH`             |`KC_SLSH`           |`/` and `?`                                    |
|`KC_CAPSLOCK`          |`KC_CLCK`, `KC_CAPS`|Caps Lock                                      |
|`KC_F1`                |                    |F1                                             |
|`KC_F2`                |                    |F2                                             |
|`KC_F3`                |                    |F3                                             |
|`KC_F4`                |                    |F4                                             |
|`KC_F5`                |                    |F5                                             |
|`KC_F6`                |                    |F6                                             |
|`KC_F7`                |                    |F7                                             |
|`KC_F8`                |                    |F8                                             |
|`KC_F9`                |                    |F9                                             |