aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-13init/main.c: Fix potential static_command_line memory overflowYuntao Wang1-0/+2
2024-04-09fs/proc: Skip bootloader comment if no embedded kernel parametersMasami Hiramatsu1-0/+5
2024-03-14Merge tag 'mm-nonmm-stable-2024-03-14-09-36' of git://git.kernel.org/pub/scm/...Linus Torvalds1-7/+2
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+5
2024-03-13Merge tag 'modules-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-14/+7
2024-03-11Merge tag 'x86-cleanups-2024-03-11' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+4
2024-03-11Merge tag 'x86-apic-2024-03-10' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+0
2024-03-11Merge tag 'wq-for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds1-0/+1
2024-03-04modules: wait do_free_init correctlyChangbin Du1-2/+3
2024-03-04smp: Consolidate smp_prepare_boot_cpu()Thomas Gleixner1-0/+4
2024-03-01pidfd: add pidfsChristian Brauner1-0/+2
2024-02-27smp: Provide 'setup_max_cpus' definition on UP tooIngo Molnar1-1/+0
2024-02-22init: remove obsolete arch_call_rest_init() wrapperGeert Uytterhoeven1-7/+2
2024-02-22arm64, powerpc, riscv, s390, x86: ptdump: refactor CONFIG_DEBUG_WXChristophe Leroy1-0/+2
2024-02-09async: Use a dedicated unbound workqueue with raised min_activeTejun Heo1-0/+1
2024-02-02init: Declare rodata_enabled and mark_rodata_ro() at all timeChristophe Leroy1-14/+7
2023-11-01proc: sysctl: prevent aliased sysctls from getting passed to initKrister Johansen1-0/+4
2023-08-07workqueue: Initialize unbound CPU pods later in the bootTejun Heo1-0/+1
2023-06-28Merge tag 'mm-nonmm-stable-2023-06-24-19-23' of git://git.kernel.org/pub/scm/...Linus Torvalds1-18/+0
2023-06-27Merge tag 'objtool-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+8
2023-06-16init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()Thomas Gleixner1-13/+0
2023-06-16init: Invoke arch_cpu_finalize_init() earlierThomas Gleixner1-2/+2
2023-06-16init: Remove check_bugs() leftoversThomas Gleixner1-5/+0
2023-06-16init: Provide arch_cpu_finalize_init()Thomas Gleixner1-0/+4
2023-06-09init: consolidate prototypes in linux/init.hArnd Bergmann1-18/+0
2023-05-16start_kernel: Omit prevent_tail_call_optimization() for newer toolchainsndesaulniers@google.com1-0/+6
2023-05-16start_kernel: Add __no_stack_protector function attributendesaulniers@google.com1-1/+2
2023-04-28Merge tag 'objtool-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+3
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-72/+2
2023-04-25Merge tag 'x86_sev_for_v6.4_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-8/+11
2023-04-24Merge tag 'v6.4/kernel.user_worker' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2023-04-14init: Mark start_kernel() __noreturnJosh Poimboeuf1-1/+1
2023-04-14init: Mark [arch_call_]rest_init() __noreturnJosh Poimboeuf1-2/+2
2023-04-05init,mm: fold late call to page_ext_init() to page_alloc_init_late()Mike Rapoport (IBM)1-4/+0
2023-04-05init,mm: move mm_init() to mm/mm_init.c and rename it to mm_core_init()Mike Rapoport (IBM)1-69/+2
2023-04-05init: fold build_all_zonelists() and page_alloc_init_cpuhp() to mm_init()Mike Rapoport (IBM)1-3/+4
2023-04-05mm/page_alloc: rename page_alloc_init() to page_alloc_init_cpuhp()Mike Rapoport (IBM)1-1/+1
2023-03-27init: Call mem_encrypt_init() after Hyper-V hypercall init is doneMichael Kelley1-8/+11
2023-03-22bootconfig: Change message if no bootconfig with CONFIG_BOOT_CONFIG_FORCE=yMasami Hiramatsu (Google)1-3/+7
2023-03-12kernel: Allow a kernel thread's name to be set in copy_processMike Christie1-1/+1
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+3
2023-02-22Allow forcing unconditional bootconfig processingPaul E. McKenney1-1/+1
2023-02-02mm/page_ext: init page_ext early if there are no deferred struct pagesPasha Tatashin1-3/+3
2022-12-17Merge tag 'x86_mm_for_6.2_v2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2022-12-15x86/mm: Initialize text poking earlierPeter Zijlstra1-2/+1
2022-12-15mm: Move mm_cachep initialization to mm_init()Peter Zijlstra1-0/+1
2022-11-18proc: give /proc/cmdline sizeAlexey Dobriyan1-2/+5
2022-10-12Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-4/+4
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+10
2022-10-03init/main.c: remove unnecessary (void*) conversionsZhou jie1-2/+2
2022-10-03init: kmsan: call KMSAN initialization routinesAlexander Potapenko1-0/+3
2022-09-29random: split initialization into early step and later stepJason A. Donenfeld1-9/+8
2022-09-26Maple Tree: add new data structureLiam R. Howlett1-0/+2
2022-09-11init: move from strlcpy with unused retval to strscpyWolfram Sang1-2/+2
2022-09-11page_ext: introduce boot parameter 'early_page_ext'Li Zhe1-1/+5
2022-08-23arm64: fix rodata=fullMark Rutland1-3/+15
2022-07-01stack: Declare {randomize_,}kstack_offset to fix Sparse warningsGONG, Ruiqi1-0/+1
2022-06-03Merge tag 'kthread-cleanups-for-v5.19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2022-05-29Merge tag 'trace-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-19/+19
2022-05-18random: handle latent entropy and command line from random_init()Jason A. Donenfeld1-7/+3
2022-05-13init: call time_init() before rand_initialize()Jason A. Donenfeld1-1/+2
2022-05-06kthread: Don't allocate kthread_struct for init and umhEric W. Biederman1-1/+1
2022-04-26bootconfig: Support embedding a bootconfig file in kernelMasami Hiramatsu1-10/+12
2022-04-26bootconfig: Check the checksum before removing the bootconfig from initrdMasami Hiramatsu1-12/+10
2022-03-24Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-8/+6
2022-03-24Merge tag 'net-next-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+2
2022-03-23init/main.c: return 1 from handled __setup() functionsRandy Dunlap1-2/+4
2022-03-23init: use ktime_us_delta() to make initcall_debug log more preciseMark-PK Tsai1-6/+2
2022-02-14stack: Introduce CONFIG_RANDOMIZE_KSTACK_OFFSETMarco Elver1-1/+1
2022-02-06net: initialize init_net earlierEric Dumazet1-0/+2
2022-01-22lib/stackdepot: allow optional init and stack_table allocation by kvmalloc()Vlastimil Babka1-3/+6
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+3
2021-11-09init: make unknown command line param message clearerAndrew Halaney1-1/+3
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+4
2021-11-06memblock: use memblock_free for freeing virtual pointersMike Rapoport1-2/+2
2021-11-06mm: create a new system state and fix core_kernel_text()Christophe Leroy1-0/+2
2021-11-01Merge tag 'trace-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-12/+4
2021-10-18block: move elevator.h to block/Christoph Hellwig1-1/+0
2021-10-10bootconfig: init: Fix memblock leak in xbc_make_cmdline()Masami Hiramatsu1-0/+1
2021-10-10bootconfig: Rename xbc_destroy_all() to xbc_exit()Masami Hiramatsu1-1/+1
2021-10-10bootconfig: Add xbc_get_info() for the node informationMasami Hiramatsu1-0/+1
2021-10-10bootconfig: Allocate xbc_data inside xbc_init()Masami Hiramatsu1-11/+2
2021-09-22init: Revert accidental changes to print irqs_disabled()Geert Uytterhoeven1-3/+3
2021-09-14memblock: introduce saner 'memblock_free_ptr()' interfaceLinus Torvalds1-1/+1
2021-09-09Merge tag 'trace-v5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ro...Linus Torvalds1-11/+26
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+2
2021-09-08init/bootconfig: Reorder init parameter from bootconfig and cmdlineMasami Hiramatsu1-9/+14
2021-09-08init: bootconfig: Remove all bootconfig data when the init memory is removedMasami Hiramatsu1-2/+12
2021-09-08trap: cleanup trap_init()Kefeng Wang1-0/+2
2021-09-08init: move usermodehelper_enable() to populate_rootfs()Rasmus Villemoes1-1/+0
2021-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+7
2021-08-12init: Suppress wrong warning for bootconfig cmdline parameterMasami Hiramatsu1-2/+7
2021-08-03xsurf100: drop include of lib8390.cMichael Schmitz1-3/+3
2021-07-08buildid: stash away kernels build ID on initStephen Boyd1-0/+2
2021-07-04Merge branch 'core-rcu-2021.07.04' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2021-07-03Merge tag 'trace-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-11/+1
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+42
2021-07-01init: print out unknown kernel parametersAndrew Halaney1-0/+42
2021-06-18Merge branch 'sched/urgent' into sched/core, to resolve conflictsIngo Molnar1-1/+1
2021-06-10bootconfig: Share the checksum function with toolsMasami Hiramatsu1-11/+1
2021-06-05pid: take a reference when initializing `cad_pid`Mark Rutland1-1/+1
2021-06-01sched,init: Fix DEBUG_PREEMPT vs early bootPeter Zijlstra1-5/+6
2021-05-12sched/core: Initialize the idle task with preemption disabledValentin Schneider1-5/+1
2021-05-10srcu: Initialize SRCU after timersFrederic Weisbecker1-0/+2
2021-05-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+1
2021-05-07init/initramfs.c: do unpacking asynchronouslyRasmus Villemoes1-0/+1
2021-05-03Merge tag 'trace-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-3/+3
2021-04-30mm: move mem_init_print_info() into mm_init()Kefeng Wang1-0/+1
2021-04-30mm: HUGE_VMAP arch support cleanupNicholas Piggin1-1/+0
2021-04-08stack: Optionally randomize kernel stack offset each syscallKees Cook1-0/+23
2021-03-18bootconfig: Update prototype of setup_boot_config()Cao jin1-3/+3
2021-02-26kgdb: fix to kill breakpoints on initmem after bootSumit Garg1-0/+1
2021-02-26lib: stackdepot: add support to disable stack depotVijayanand Jitta1-0/+2
2021-02-26mm: add Kernel Electric-Fence infrastructureAlexander Potapenko1-0/+3
2021-02-15sfi: Remove framework for deprecated firmwareAndy Shevchenko1-2/+0
2021-02-05init/gcov: allow CONFIG_CONSTRUCTORS on UML to fix module gcovJohannes Berg1-1/+7
2021-01-08Revert "init/console: Use ttynull as a fallback when there is no console"Petr Mladek1-8/+2
2021-01-04Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/pa...Linus Torvalds1-0/+1
2020-12-16Merge tag 'printk-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+8
2020-12-15mm, page_alloc: do not rely on the order of page_poison and init_on_alloc/fre...Vlastimil Babka1-1/+1
2020-12-15init/main: fix broken buffer_init when DEFERRED_STRUCT_PAGE_INIT setLin Feng1-2/+0
2020-12-15mm: fix page_owner initializing issue for arm32Zhenhua Huang1-0/+2
2020-12-14rcu-tasks: Move RCU-tasks initialization to before early_initcall()Uladzislau Rezki (Sony)1-0/+1
2020-12-14Merge branch 'for-5.11-null-console' into for-linusPetr Mladek1-2/+8
2020-11-30bootconfig: Load size and checksum in the footer as le32Masami Hiramatsu1-2/+2
2020-11-20init/console: Use ttynull as a fallback when there is no consolePetr Mladek1-2/+8
2020-11-12bootconfig: Extend the magic check range to the preceding 3 bytesMasami Hiramatsu1-2/+12
2020-10-18Merge tag 'linux-kselftest-kunit-5.10-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-0/+4
2020-10-15Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2020-10-09init: main: add KUnit to kernel initBrendan Higgins1-0/+4
2020-09-18bootconfig: init: make xbc_namebuf staticJason Yan1-1/+1
2020-09-18kprobes: tracing/kprobes: Fix to kill kprobes on initmem after bootMasami Hiramatsu1-0/+2
2020-09-01bootconfig: Fix kernel message mentioning CONFIG_BOOT_CONFIGShaokun Zhang1-1/+1
2020-08-07Merge tag 'trace-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-6/+8
2020-08-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2020-08-07kasan, arm64: don't instrument functions that enable kasanAndrey Konovalov1-1/+1
2020-08-07Merge branch 'hch.init_path' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-14/+14
2020-08-04init: add an init_dup helperChristoph Hellwig1-4/+4
2020-08-04Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-3/+1
2020-08-04bootconfig: Fix to find the initargs correctlyMasami Hiramatsu1-6/+8
2020-07-31init: add an init_eaccess helperChristoph Hellwig1-2/+2
2020-07-31init: mark console_on_rootfs as __initChristoph Hellwig1-1/+1
2020-07-31init: initialize ramdisk_execute_command at compile timeChristoph Hellwig1-5/+1
2020-07-31init: open code setting up stdin/stdout/stderrChristoph Hellwig1-6/+10
2020-07-21exec: Implement kernel_execveEric W. Biederman1-3/+1
2020-06-16security: allow using Clang's zero initialization for stack variablesglider@google.com1-5/+7
2020-06-11Rebase locking/kcsan to locking/urgentThomas Gleixner1-0/+2
2020-06-08kernel/sysctl: support setting sysctl parameters from kernel command lineVlastimil Babka1-0/+2
2020-06-04init: allow distribution configuration of default initChris Down1-0/+10
2020-06-03padata: initialize earlierDaniel Jordan1-0/+2
2020-05-17Merge tag 'x86_urgent_for_v5.7-rc7' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+2
2020-05-15x86: Fix early boot crash on gcc-10, third tryBorislav Petkov1-0/+2
2020-05-12bootconfig: Fix to prevent warning message if no bootconfig optionMasami Hiramatsu1-4/+6
2020-05-06bootconfig: Fix to remove bootconfig data from initrd while bootMasami Hiramatsu1-17/+52
2020-04-13Merge tag 'v5.7-rc1' into locking/kcsan, to resolve conflicts and refreshIngo Molnar1-5/+10
2020-04-10printk: queue wake_up_klogd irq_work only if per-CPU areas are readySergey Senozhatsky1-1/+0
2020-03-21Merge branch 'linus' into locking/kcsan, to pick up fixesIngo Molnar1-16/+22
2020-03-21Merge branch 'x86/kdump' into locking/kcsan, to resolve conflictsIngo Molnar1-27/+263
2020-03-03tools/bootconfig: Show line and column in parse errorMasami Hiramatsu1-4/+10
2020-02-26Merge tag 'trace-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-16/+22
2020-02-20bootconfig: Print array as multiple commands for legacy command lineMasami Hiramatsu1-14/+8
2020-02-20bootconfig: Add bootconfig magic word for indicating bootconfig explicitlyMasami Hiramatsu1-1/+5
2020-02-20bootconfig: Set CONFIG_BOOT_CONFIG=n by defaultMasami Hiramatsu1-0/+8
2020-02-20bootconfig: Mark boot_config_checksum() staticQiujun Huang1-1/+1
2020-02-11Merge tag 'trace-v5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-7/+30
2020-02-10bootconfig: Use parse_args() to find bootconfig and '--'Steven Rostedt (VMware)1-7/+30
2020-02-06Merge tag 'trace-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-17/+212
2020-02-05bootconfig: Show the number of nodes on boot messageMasami Hiramatsu1-2/+4
2020-02-05bootconfig: Use bootconfig instead of boot configMasami Hiramatsu1-3/+3
2020-02-05bootconfig: Only load bootconfig if "bootconfig" is on the kernel cmdlineSteven Rostedt (VMware)1-7/+21
2020-01-31init/main.c: fix misleading "This architecture does not have kernel memory pr...Christophe Leroy1-0/+5
2020-01-31init/main.c: fix quoted value handling in unknown_bootoptionArvind Sankar1-3/+4
2020-01-31init/main.c: remove unnecessary repair_env_string in do_initcall_levelArvind Sankar1-6/+10
2020-01-31init/main.c: log arguments and environment passed to initArvind Sankar1-0/+8
2020-01-29Merge tag 'driver-core-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2020-01-20Merge tag 'v5.5-rc7' into locking/kcsan, to refresh the treeIngo Molnar1-0/+1
2020-01-13mm, debug_pagealloc: don't rely on static keys too earlyVlastimil Babka1-0/+1
2020-01-13bootconfig: init: Allow admin to use bootconfig for init command lineMasami Hiramatsu1-3/+28
2020-01-13bootconfig: init: Allow admin to use bootconfig for kernel command lineMasami Hiramatsu1-5/+101
2020-01-13init/main.c: Alloc initcall_command_line in do_initcall() and free itMasami Hiramatsu1-11/+15
2020-01-13bootconfig: Load boot config from the tail of initrdMasami Hiramatsu1-0/+54
2020-01-06Merge tag 'v5.5-rc5' into locking/kcsan, to resolve conflictIngo Molnar1-20/+6
2020-01-02Revert "fs: remove ksys_dup()"Dominik Brodowski1-20/+6
2019-12-30Merge tag 'v5.5-rc4' into locking/kcsan, to resolve conflictsIngo Molnar1-5/+26
2019-12-17early init: fix error handling when opening /dev/consoleLinus Torvalds1-1/+1
2019-12-16device.h: move 'struct driver' stuff out to device/driver.hGreg Kroah-Hartman1-1/+1
2019-12-12fs: remove ksys_dup()Dominik Brodowski1-6/+20
2019-12-12init: unify opening /dev/console as stdin/stdout/stderrDominik Brodowski1-5/+12
2019-11-16kcsan: Add Kernel Concurrency Sanitizer infrastructureMarco Elver1-0/+2
2019-09-28Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2019-09-24mm: use CPU_BITS_NONE to initialize init_mm.cpu_bitmaskMike Rapoport1-1/+0
2019-09-24mm: consolidate pgtable_cache_init() and pgd_cache_init()Mike Rapoport1-2/+1
2019-09-24mm: kmemleak: use the memory pool for early allocationsCatalin Marinas1-1/+1
2019-08-19security: Support early LSMsMatthew Garrett1-0/+1
2019-07-31sched/preempt: Use CONFIG_PREEMPTION where appropriateThomas Gleixner1-1/+1
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-1/+0
2019-07-12mm: init: report memory auto-initialization features at boot timeAlexander Potapenko1-0/+24
2019-07-04mnt_init(): call shmem_init() unconditionallyAl Viro1-1/+0
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-14init: free_initmem: poison freed init memoryMike Rapoport1-1/+1