8000 Update lkm · secoba/Linux-Kernel-Programming@5710228 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5710228

Browse files
authored
Update lkm
Ubuntu 20.10 onward has enabled CONFIG_SECURITY_DMESG_RESTRICT ! That's good for security So we need to 'sudo' dmesg; thanks to @gregbuchholz for pointing this out
1 parent d60fb71 commit 5710228

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lkm

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)
0
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ runcmd "make || exit 1"
4949
}
5050

5151
runcmd "sudo insmod ./$1.ko && lsmod|grep $1"
52+
# Ubuntu 20.10 onward has enabled CONFIG_SECURITY_DMESG_RESTRICT ! That's good for security
53+
# So we need to 'sudo' dmesg; thanks to @gregbuchholz for pointing this out
5254
runcmd "sudo dmesg"
5355
exit 0