| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
configure script from the new Makefile.in file.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
do so.
Added a copy of the GNU GPL.
Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
|
| |
|
|
|
|
|
|
|
| |
- Use "Python" C editing style when used with X/Emacs
- Make X/Emacs friendly by putting function opening braces in column
zero and putting function name on separate line from return type
- Also added a C local variables section
|
| |
|
|
|
|
|
|
|
|
| |
- Use "Python" C editing style when used with X/Emacs
- Make X/Emacs friendly by putting function opening braces in column
zero and putting function name on separate line from return type
- Use C style comments instead of C++ style comments. Not all C
compilers grok line comments.
|
| | |
|
| |
|
|
| |
doesn't return an int.
|
| |
|
|
|
|
|
| |
segmentation fault when bad id was detected.
Declare main as an int routine so gcc doesn't complain, even though it
doesn't return an int.
|
| | |
|
| | |
|
| |
|
|
| |
daemon/other on my (sol 2.6) system.
|
| |
|
|
| |
subscribe functionality) subscriber-roster.
|
| | |
|
| |
|
|
| |
logging - just print to stdout for now. (Is this a security breach??)
|
| |
|
|
|
| |
the program can be trivially made to fail by creating /tmp/fart such
that daemon cannot overwrite it.
|
| |
|
|
| |
changed the mailman account GID.
|
| | |
|
| | |
|
| |
|
|
| |
doing the wrong thing? It works, but i'm not clear about this.
|
| |
|