Compare commits

..

3 Commits

Author SHA1 Message Date
0eeb969981 hardenend malloc. json config. networking + default firewalling. 2026-02-08 12:27:14 -07:00
5b7a3ccd9b hardened malloc, working firewall. 2026-02-08 08:49:55 -07:00
Matt Knoop
d26067b2fa additional bash programming to support a json configuration file.
still working on kernel options for proper networking.
2026-01-05 15:05:11 -07:00
4 changed files with 13 additions and 31 deletions

9
.gitignore vendored
View File

@@ -1,9 +0,0 @@
# artifacts
outputs/
artifacts/
dependencies/
# Compiled Python bytecode
*.py[cod]

View File

@@ -3,13 +3,11 @@ set -e
dir=$(dirname "$0") dir=$(dirname "$0")
echo $dir echo $dir
cd $dir cd $dir
#./install_dependencies.sh ./install_dependencies.sh
#./build_kernel.sh ./build_kernel.sh
#./build_initramfs.sh ./build_initramfs.sh
#./bootstrap_filesystem.sh
#./build_initramfs.sh
./build_filesystem.sh ./build_filesystem.sh
./build_image.sh ./build_image.sh
./boot_image.sh

View File

@@ -2,6 +2,15 @@
set -e set -e
set -x set -x
#downloading graphene malloc
if [ ! -f ./dependencies/hardened_malloc/Makefile ]; then
cd "$(dirname "$0")"
DIR="$(dirname "$0")"
cd ..
cd ./dependencies/
git clone https://github.com/GrapheneOS/hardened_malloc.git
fi
#switching to root to perform chroot #switching to root to perform chroot
if [ "$(id -u)" -ne 0 ]; then if [ "$(id -u)" -ne 0 ]; then
echo "switching from $(id -un) to root" echo "switching from $(id -un) to root"

View File

@@ -1,16 +0,0 @@
#!/bin/bash
set -e
set -x
cd "$(dirname "$0")"
DIR="$(dirname "$0")"
cd ..
echo $PWD
#downloading graphene malloc
if [ ! -f ./dependencies/hardened_malloc/Makefile ]; then
cd ./dependencies/
git clone https://github.com/GrapheneOS/hardened_malloc.git
fi
echo 'graphene malloc downloaded.'