summaryrefslogtreecommitdiff
path: root/examples/source/fdholder
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source/fdholder')
-rw-r--r--examples/source/fdholder/data/rules/uid/0/allow0
-rw-r--r--examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP1
-rw-r--r--examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX1
-rw-r--r--examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP1
-rw-r--r--examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX1
-rw-r--r--examples/source/fdholder/dependencies1
-rw-r--r--examples/source/fdholder/logger1
-rw-r--r--examples/source/fdholder/notification-fd1
-rwxr-xr-xexamples/source/fdholder/run5
-rw-r--r--examples/source/fdholder/type1
10 files changed, 13 insertions, 0 deletions
diff --git a/examples/source/fdholder/data/rules/uid/0/allow b/examples/source/fdholder/data/rules/uid/0/allow
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/source/fdholder/data/rules/uid/0/allow
diff --git a/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP b/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_GETDUMP
@@ -0,0 +1 @@
+1
diff --git a/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX b/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX
new file mode 100644
index 0000000..8d98f9d
--- /dev/null
+++ b/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_RETRIEVE_REGEX
@@ -0,0 +1 @@
+.*
diff --git a/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP b/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_SETDUMP
@@ -0,0 +1 @@
+1
diff --git a/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX b/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX
new file mode 100644
index 0000000..8d98f9d
--- /dev/null
+++ b/examples/source/fdholder/data/rules/uid/0/env/S6_FDHOLDER_STORE_REGEX
@@ -0,0 +1 @@
+.*
diff --git a/examples/source/fdholder/dependencies b/examples/source/fdholder/dependencies
new file mode 100644
index 0000000..4daddb7
--- /dev/null
+++ b/examples/source/fdholder/dependencies
@@ -0,0 +1 @@
+00
diff --git a/examples/source/fdholder/logger b/examples/source/fdholder/logger
new file mode 100644
index 0000000..11f1ac2
--- /dev/null
+++ b/examples/source/fdholder/logger
@@ -0,0 +1 @@
+fdholder-log
diff --git a/examples/source/fdholder/notification-fd b/examples/source/fdholder/notification-fd
new file mode 100644
index 0000000..00750ed
--- /dev/null
+++ b/examples/source/fdholder/notification-fd
@@ -0,0 +1 @@
+3
diff --git a/examples/source/fdholder/run b/examples/source/fdholder/run
new file mode 100755
index 0000000..c511dea
--- /dev/null
+++ b/examples/source/fdholder/run
@@ -0,0 +1,5 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+s6-envuidgid fdh
+fdmove 1 3
+s6-fdholder-daemon -v 2 -1 -T 20000 -U -i data/rules -- s
diff --git a/examples/source/fdholder/type b/examples/source/fdholder/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/source/fdholder/type
@@ -0,0 +1 @@
+longrun