summaryrefslogtreecommitdiff
path: root/maskaudit.py.in
Commit message (Collapse)AuthorAgeFilesLines
* Detect and scavenge unused daemon-side status-mask bit.Eric S. Raymond2010-04-101-9/+13
|
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-29/+39
| | | | | | | | | | | | | | | | | Large patch, no actual executable code changes except in three debug dumpers. Breaks up the *_SET status macros so the client side continues to use them, but the daemon uses a similarly-named set with an _IS suffix. This frees up two mask bits in both sets - the client side no longer needs to have REPORT_SET and CLEAR_SET bits, and the daemon side no longer needs to have VERSION_SET and POLICY_SET. The only actual code change is that the maskdump.c module, generated by maskaudit.py, splits in half - one child now dumps client-side flags, the other daemon-side flags. One other function call in a debug dumper in libgps_core.c changes. All regression tests pass.
* Force Python Emacs mode in places where appropriate.Eric S. Raymond2010-04-021-1/+4
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-0/+3
|
* Explicitly open gps.h in @srcdir@ instead of $CWD.Greg Troxel2009-12-021-1/+1
| | | | Passes 'make check' and improves 'make distcheck'.
* These should not be marked executable, because they aren't actually executable. Greg Troxel2009-12-021-0/+0
| | | | | Autoconf has been told to chmod +x the .py versions (and they are invoked with $(PYTHON) instead of being executed in case that fails).
* Generate jsongen.py and maskaudit.py from templates... Greg Troxel2009-11-211-0/+104
...so that @PYTHON@ can be substituted with the discovered path to python. Avoids the nonportable assumption that "/usr/bin/env python" will find python, because on pkgsrc systems python2.5 etc. are installed with no bare python to avoid programs binding to a version (and hence compiled extensions) that might change. This should cause no functional change on systems with 'python', and fix the build on pkgsrc-using systems.