Refactor ep_adm.c; make it easier to force administrative parameters from code.
Version 2.1.18 --- fix problem with subscription renewals; be more
aggressive about printing non-default parameter settings to make it
easier to see a customer configuration.
Fix minor glitch in ep_adm_getintmaxparam: was actually using strtoll.
Add some debugging info for ep_adm_get*param family.
Add ep_adm_setparam to programatically set a parameter value. Useful
for overriding parameters from the command line.
Update license date on all files. No functional changes.
Relocate etc/ep_adm_params into etc/gdp/params so that the etc/gdp
subtree can be mounted easily into a docker container.
Fixes to allow EP_CONF_ADM_ENV_OVERRIDE to work on Linux systems. Still
needs a better security evaluation, and maybe it should default off.
First cut at external => internal name mapping using MySQL. It is
currently not an error if the mapping doesn't exist --- it just falls
back to the old SHA256 behavior --- and there is no automated addition
of the mapping to the database when you create a log. To make this work...
Clear errno when reading admin parameters to avoid meaningless error
Changes necessary to compile under C++ because it doesn't understand
that (void *) is compatible with other pointer types. This adds a lot
of explicit casts that are not needed in C.
Add ep_adm_getintmaxparam to get a maxint_t parameter. (Actually only
handles long long in the current implementation.)
Fix minor memory leak that occurred if the same administrative parameter
was given more than once.
Update licenses to 2017.
Allow integer administrative parameters to use leading "0" or "0x"
to specify base 8 or 16
Update license. No code changes.
Code cleanup: pull out dead code (#ifdefed out) and old SVN version
Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.
Delete some incorrect comments.
Fix libep startup problems (hash needs administrative params needs
Fix typo: /etc/ep_app_params => /etc/ep_adm_params
Don't allow non-system ep_adm_params to be searched if running setuid.
Use EP_PARAM_PATH instead of PARAM_PATH for consistency.
Arrange to fetch our name (from configuration) or create a name on
Search /etc/ep_adm_params as well as /usr/local/etc/ep_adm_params
for the ep_adm_get*param routines.
Linux portability fixes.
Make setting parameters easier: use a search path, and read default
files named for the application.
Fix but that caused administrative parameter fetches to ignore run-time overrides.
Redo spacing changes (but in a very limited way). At this point tabs
(hard, soft, and shiftwidth) are four characters.
Turn some compile time #defines into run-time parameters.
Update to allow multiple writers.