From f20a42e871e64ce34fac87d415a0f5718f7bae0c Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Thu, 28 Oct 2021 00:44:35 +0200 Subject: Kernel: Write test that crashes ProcFS --- Meta/build-root-filesystem.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Meta/build-root-filesystem.sh') diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh index e11a7b97c8..8844ccdb57 100755 --- a/Meta/build-root-filesystem.sh +++ b/Meta/build-root-filesystem.sh @@ -106,6 +106,10 @@ if [ -f mnt/usr/Tests/Kernel/TestMemoryDeviceMmap ]; then chown 0:0 mnt/usr/Tests/Kernel/TestMemoryDeviceMmap chmod 4755 mnt/usr/Tests/Kernel/TestMemoryDeviceMmap fi +if [ -f mnt/usr/Tests/Kernel/TestProcFSWrite ]; then + chown 0:0 mnt/usr/Tests/Kernel/TestProcFSWrite + chmod 4755 mnt/usr/Tests/Kernel/TestProcFSWrite +fi chmod 0400 mnt/res/kernel.map chmod 0400 mnt/boot/Kernel -- cgit v1.2.3