lkml.org 
[lkml]   [2021]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] My First Patch - Gabriel e Felipe
Date
Signed-off-by: gkis <gabrielkis65@gmail.com>
---
init/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/init/main.c b/init/main.c
index 598e278b4..bc366b166 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1082,6 +1082,7 @@ static int __ref kernel_init(void *unused)
numa_default_policy();

rcu_end_inkernel_boot();
+ printk(KERN_ERR "###################################\nI can hack the Linux kernel!\n###################################\n");

if (ramdisk_execute_command) {
ret = run_init_process(ramdisk_execute_command);
--
2.17.1
\
 
 \ /
  Last update: 2021-05-30 19:48    [W:0.051 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site