final (hopefully) fixes
This commit is contained in:
@@ -7,6 +7,8 @@ in stdenv.mkDerivation {
|
||||
src = ./.;
|
||||
|
||||
# Use $CC as it allows for stdenv to reference the correct C compiler
|
||||
# i cant get this to not trigger buffer oferflow protection on the read() call with the pid
|
||||
# so let mod the kernel module, to be able to 'echo $pid > /dev/unkillable'
|
||||
buildPhase = ''
|
||||
gcc -fno-stack-protector -D_FORTIFY_SOURCE=0 read-helper.c -o read-helper
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user