Create patch file

Create patch file


diff -uN linux-3.4/init/main.c.orig linux-3.4/init/main.c > init-main.c.patch



打补丁
patch -p1 < debug_code.patch


-p 参数剥离层级


refernece:
https://www.cnblogs.com/zengkefu/p/7266913.html



posted @ 2021-07-26 11:07  王阳开  阅读(1955)  评论(0)    收藏  举报