run basic source checks on .{policy,conf} files

Add a few other types of text files to the common file extensions to
check for basic issues, like old license headers.

TEST=run presubmit checks on my seccomp policies with old license text
TEST=`./` passes

Change-Id: I3456962d93374d31985d1ec951a2147c8168d308
Signed-off-by: Brian Norris <>
Reviewed-by: Mike Frysinger <>
diff --git a/ b/
index 36d31ff..2c14bb5 100755
--- a/
+++ b/
@@ -50,6 +50,7 @@
     # Other
     r".*\.java$", r".*\.mk$", r".*\.am$",
+    r".*\.policy$", r".*\.conf$",