[tor-commits] [tor/master] practracker: Add missing .may_include files

nickm at torproject.org nickm at torproject.org
Wed Dec 4 17:15:37 UTC 2019


commit 9ad569c71d081992ac644695064ffb39ce88c61a
Author: teor <teor at torproject.org>
Date:   Tue Dec 3 13:29:19 2019 +1000

    practracker: Add missing .may_include files
    
    All of these files contain "*.h", except for:
    * src/app/config/.may_include
    * src/test/.may_include
    which also contain "*.inc".
    
    This change prevents includes of "*.c" files, and other
    unusually named files.
    
    Part of 32609.
---
 src/app/config/.may_include        | 2 ++
 src/app/main/.may_include          | 1 +
 src/feature/api/.may_include       | 1 +
 src/feature/client/.may_include    | 1 +
 src/feature/control/.may_include   | 1 +
 src/feature/dirauth/.may_include   | 1 +
 src/feature/dircache/.may_include  | 1 +
 src/feature/dirclient/.may_include | 1 +
 src/feature/dircommon/.may_include | 1 +
 src/feature/dirparse/.may_include  | 1 +
 src/feature/hibernate/.may_include | 1 +
 src/feature/hs/.may_include        | 1 +
 src/feature/hs_common/.may_include | 1 +
 src/feature/keymgt/.may_include    | 1 +
 src/feature/nodelist/.may_include  | 1 +
 src/feature/relay/.may_include     | 1 +
 src/feature/rend/.may_include      | 1 +
 src/feature/stats/.may_include     | 1 +
 src/test/.may_include              | 2 ++
 src/test/fuzz/.may_include         | 1 +
 src/tools/.may_include             | 1 +
 src/trunnel/.may_include           | 1 +
 src/trunnel/hs/.may_include        | 1 +
 23 files changed, 25 insertions(+)

diff --git a/src/app/config/.may_include b/src/app/config/.may_include
new file mode 100644
index 000000000..11c5ffbb1
--- /dev/null
+++ b/src/app/config/.may_include
@@ -0,0 +1,2 @@
+*.h
+*.inc
diff --git a/src/app/main/.may_include b/src/app/main/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/app/main/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/api/.may_include b/src/feature/api/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/api/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/client/.may_include b/src/feature/client/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/client/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/control/.may_include b/src/feature/control/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/control/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/dirauth/.may_include b/src/feature/dirauth/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/dirauth/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/dircache/.may_include b/src/feature/dircache/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/dircache/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/dirclient/.may_include b/src/feature/dirclient/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/dirclient/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/dircommon/.may_include b/src/feature/dircommon/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/dircommon/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/dirparse/.may_include b/src/feature/dirparse/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/dirparse/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/hibernate/.may_include b/src/feature/hibernate/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/hibernate/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/hs/.may_include b/src/feature/hs/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/hs/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/hs_common/.may_include b/src/feature/hs_common/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/hs_common/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/keymgt/.may_include b/src/feature/keymgt/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/keymgt/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/nodelist/.may_include b/src/feature/nodelist/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/nodelist/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/relay/.may_include b/src/feature/relay/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/relay/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/rend/.may_include b/src/feature/rend/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/rend/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/feature/stats/.may_include b/src/feature/stats/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/feature/stats/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/test/.may_include b/src/test/.may_include
new file mode 100644
index 000000000..11c5ffbb1
--- /dev/null
+++ b/src/test/.may_include
@@ -0,0 +1,2 @@
+*.h
+*.inc
diff --git a/src/test/fuzz/.may_include b/src/test/fuzz/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/test/fuzz/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/tools/.may_include b/src/tools/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/tools/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/trunnel/.may_include b/src/trunnel/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/trunnel/.may_include
@@ -0,0 +1 @@
+*.h
diff --git a/src/trunnel/hs/.may_include b/src/trunnel/hs/.may_include
new file mode 100644
index 000000000..424c745c1
--- /dev/null
+++ b/src/trunnel/hs/.may_include
@@ -0,0 +1 @@
+*.h





More information about the tor-commits mailing list