diff options
| author | bwarsaw | 1998-05-26 18:42:44 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-05-26 18:42:44 +0000 |
| commit | 4b77f88dc96acf9e971908c1badf3305ee618ca1 (patch) | |
| tree | c425088f9db12fb3f826136f167be5cdc77a9bb4 /modules/mm_admin.py | |
| parent | a38041fa64fb30b661a9a55a6c9a3c313ba453a4 (diff) | |
| download | mailman-4b77f88dc96acf9e971908c1badf3305ee618ca1.tar.gz mailman-4b77f88dc96acf9e971908c1badf3305ee618ca1.tar.zst mailman-4b77f88dc96acf9e971908c1badf3305ee618ca1.zip | |
Several important changes.
1. For mail-wrapper.c and cgi-wrapper.c, most common routines have
been moved to common.c. While there were some differences in the
way these two wrappers worked (most notably in the error handling
and reporting when UID's and GID's didn't match), they were easily
merged. Fatal errors now always syslog and exit(1).
2. The exec*() call for running the new process has been changed and
made consistent. For improved security, the absolute path to the
Python interpreter (as discovered by configure) is compiled into
these programs, and the environment variable PYTHONPATH is set to
include only the absolute path the the installed Mailman package
($prefix/Mailman). Scripts are invoked by exec'ing the Python
interpreter with the first argument being the absolute path to the
script to run, along with any additional arguments on argc/argv.
See the function run_script() in common.c for details.
3. alias-wrapper.c has not yet been fully merged. I gathered from Ken
that it doesn't work completely well anyway.
4. check_caller() in common.c still checks the gid, but as we
discussed before, this may be redundant. I wanted one check-in
with a history of this feature first though.
5. Added an Emacs turd at the end of all files so that the C code will
be edited using Python's standard C style. Reformatted existing
code.
6. Removed pseudo-log history from comments at top of files.
Diffstat (limited to 'modules/mm_admin.py')
0 files changed, 0 insertions, 0 deletions
