ITPub博客

首页 > 应用开发 > > linux内核打补丁patch

linux内核打补丁patch

作者:wyvernw 时间:2019-08-28 16:08:11 0 删除 编辑

[root@localhost linux-kernel]# 

[root@localhost linux-kernel]# xz -d patch-3.16.68-69.xz 

[root@localhost linux-kernel]# 

[root@localhost linux-kernel]# ls

kernel_4.4.182  kernel_5.0.7  linux-3.16.68         linux-4.14.126         linux-4.19.34.tar.xz  linux-4.4.182.tar.xz  linux-5.0.7.tar.xz  patch-3.18.91-92.xz  patch-4.19.54-55.xz

kernel_4.9.182  kernel_92     linux-3.16.68.tar.xz  linux-4.14.126.tar.xz  linux-4.19.47.tar.xz  linux-4.9.182.tar.xz  patch-3.16.68-69    patch-3.18.92-93.xz

[root@localhost linux-kernel]# 

[root@localhost linux-kernel]# 

[root@localhost linux-kernel]# 

[root@localhost linux-kernel]# cd linux-3.16.68/

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# head -5 Makefile 

VERSION = 3

PATCHLEVEL = 16

SUBLEVEL = 68

EXTRAVERSION =

NAME = Museum of Fishiegoodies

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# patch

patch      patchwork  

[root@localhost linux-3.16.68]# patch -p1 < ../patch-3.16.68-69 

patching file Documentation/networking/ip-sysctl.txt

patching file Makefile

patching file drivers/scsi/megaraid/megaraid_sas_base.c

patching file drivers/virt/fsl_hypervisor.c

patching file fs/ext4/extents.c

patching file include/linux/mm.h

patching file include/linux/tcp.h

patching file include/net/tcp.h

patching file include/uapi/linux/snmp.h

patching file mm/memory.c

patching file mm/mincore.c

patching file net/bluetooth/hidp/sock.c

patching file net/ipv4/proc.c

patching file net/ipv4/sysctl_net_ipv4.c

patching file net/ipv4/tcp.c

patching file net/ipv4/tcp_input.c

patching file net/ipv4/tcp_output.c

patching file net/ipv4/tcp_timer.c

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# head -5 Makefile 

VERSION = 3

PATCHLEVEL = 16

SUBLEVEL = 69

EXTRAVERSION =

NAME = Museum of Fishiegoodies

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# 

[root@localhost linux-3.16.68]# 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/835/viewspace-3128946/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-04-12

  • 博文量
    128
  • 访问量
    1522