aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-06-12 11:08:22 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-06-12 11:15:51 +0300
commitf5c72b5e74ea7aaf1375f763f977e3249c6b7fc4 (patch)
tree22efbd43e8215666e7d7391193e4030d4354342e /src/pies.c
parent07e7ee3d732b60e0b7f5b242bbfb0cdec8e99e7f (diff)
downloadpies-f5c72b5e74ea7aaf1375f763f977e3249c6b7fc4.tar.gz
pies-f5c72b5e74ea7aaf1375f763f977e3249c6b7fc4.tar.bz2
Check accept components and inet built-in services.
* src/comp.c (component_verify,component_finish): Fix check for the presense of the "command" statement. * src/pies.c (component_keywords): Reorder some entries for the consistency of config-help output. * tests/.gitignore: Add new files. * tests/Makefile.am: Add new tests and noinst programs. * tests/accept.at: New test. * tests/builtin.at: New test. * tests/chargen.c: New file. * tests/readtime.c: New file. * tests/recvfd.c: Rewrite for testing both accept and pass-fd components. * tests/passfd.at: Pass -s option to recvfd * tests/testsuite.at: Add new tests. * tests/lines.c: Minor changes. * tests/nt.c: Minor changes. * tests/to.c: Minor changes.
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pies.c b/src/pies.c
index 73d33a0..ff36269 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -1300,6 +1300,13 @@ struct grecs_keyword component_keywords[] = {
grecs_type_string, GRECS_DFLT,
NULL, offsetof (struct component, runlevels),
_cb_runlevels },
+ {"pass-fd-socket",
+ N_("name"),
+ N_("Pass fd through this socket."),
+ grecs_type_string, GRECS_DFLT,
+ NULL, offsetof (struct component, pass_fd_socket),
+ NULL,
+ },
{"pass-fd-timeout",
NULL,
N_("Time to wait for pass-fd socket to become available."),
@@ -1352,13 +1359,6 @@ struct grecs_keyword component_keywords[] = {
grecs_type_int, GRECS_DFLT,
NULL, offsetof (struct component, socket_type),
_cb_socket_type },
- {"pass-fd-socket",
- N_("name"),
- N_("Pass fd through this socket."),
- grecs_type_string, GRECS_DFLT,
- NULL, offsetof (struct component, pass_fd_socket),
- NULL,
- },
{"acl",
NULL,
N_("Define connection ACL."),

Return to:

Send suggestions and report system problems to the System administrator.