tools: make moon.sym readable only by root
We don't want everyone peeking at kernel symbols.
This commit is contained in:
parent
bb26996cb7
commit
99429baed2
@ -6,4 +6,6 @@ source $(dirname $0)/env.sh
|
||||
|
||||
cd $LUNA_ROOT
|
||||
|
||||
nm -C -n initrd/boot/moon | grep -vE \\.Lubsan_data | awk '{ if ($2 != "a") print; }' | uniq > initrd/sys/moon.sym
|
||||
nm -C -n initrd/boot/moon | grep -vE \\.Lubsan_data | awk '{ if ($2 != "a") print; }' | uniq > initrd/sys/moon.sym
|
||||
|
||||
chmod 400 initrd/sys/moon.sym
|
Loading…
Reference in New Issue
Block a user