diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-11-24 13:38:52 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-11-24 14:04:31 +0200 |
commit | e6772c4d68849cfdb4547a59bc51cb6dd0acd2c6 (patch) | |
tree | 72c0baa79455c9008df3f137a11117772b321a52 /.gitmodules | |
parent | 68796f86fe6abae13debf253c0e16b4bac9c1bca (diff) | |
download | pies-e6772c4d68849cfdb4547a59bc51cb6dd0acd2c6.tar.gz pies-e6772c4d68849cfdb4547a59bc51cb6dd0acd2c6.tar.bz2 |
Implement parsing of inetd.conf files.
* src/Makefile.am (pies_SOURCES): Add inetd.c.
* src/inetd.c: New file.
* src/pies.c (inetd_mode): New global.
(str_to_socket_type): New function.
(_cb_socket_type): Use str_to_socket_type.
(_cm_include_meta1): Rename to _cb_include_meta1.
(_cb_include_inetd): New function.
(pies_keywords): New keyword "include-inetd".
(options): New option --inetd.
(main): Handle inetd mode.
* src/pies.h (str_to_socket_type): New proto.
(disable_socket, enable_socket): Fix return type.
* src/progman.c (redirect_to_file): Avoid coredump on
privs.user == NULL.
(open_redirector,env_setup)
(progman_start,run_command): Remove unneeded variable.
(progman_start): Fix diagnostic message.
* src/socket.c (disable_socket, enable_socket): Fix return type.
Do nothing if fd < 0.
* src/userprivs.c (switch_to_privs): Allow to pass uid==0.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions