Browse Source

Cleanup some stray files.

David Given 7 years ago
parent
commit
56e13e24e0
2 changed files with 0 additions and 34 deletions
  1. 0 32
      first/bouncer
  2. 0 2
      first/build.ninja

+ 0 - 32
first/bouncer

@@ -1,32 +0,0 @@
-#!/bin/sh
-set -e
-set -x
-
-logfile=/tmp/bouncer.$$
-trap "rm -f $logfile" EXIT
-
-if [ S"$1" = S"" ]; then
-	>&2 echo "bouncer: syntax error: BOUNCER_WHITELIST=... bouncer <command>"
-	exit 1
-fi
-
-strace -eopen,chdir -o $logfile -f "$@"
-
-awk -f- -F '[ "()]+' $logfile <<"EOF"
-
-BEGIN {
-	split(ENVIRON["BOUNCER_WHITELIST"], whitelist_array, " +");
-	for (i in whitelist_array)
-		whitelist[whitelist_array[i]] = 1;
-}
-
-$2 == "chdir" {
-	print "pid ", $1, " chdir: ", $3;
-}
-
-($2 == "open") && ($5 !~ /O_CREAT/) && ($7 != -1) {
-	print "pid ", $1, " open: ", $3, $7;
-}
-
-EOF
-

+ 0 - 2
first/build.ninja

@@ -1,2 +0,0 @@
-subninja .obj/rules.ninja
-