1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-05 05:30:39 +03:00
Commit Graph

13 Commits

Author SHA1 Message Date
Paul Querna
a73acf02f6 API Cleanup in preperation for 2.4.x, make sure all exported functions or variables contain an ap_ prefix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@722399 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 08:13:36 +00:00
Paul Querna
993bbf6f45 Remove c99 style comment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@721763 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 05:49:23 +00:00
Jim Jagielski
68512c237c Note that the current mishmash is ugly... hope to
find time to restart working on the cleanup I started
at ACUS, but got sidetracked with confusion on where the
divisions actually were...


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@720017 13f79535-47bb-0310-9956-ffa450edef68
2008-11-23 17:55:32 +00:00
Nick Kew
0d1be6231d mod_unixd: use APR_HOOK_MIDDLE for drop_privileges.
We're the canonical module for that hook!


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712347 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 03:18:13 +00:00
Ruediger Pluem
701bb560f9 * Move code to a more conveniant place
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711227 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 11:35:21 +00:00
Nick Kew
368d9bb335 Further unixd hacks to remove duplication between old-unixd and mod_unixd,
and get it working with old MPMS[1] + mod_unixd.  It's still an uneasy
split, as some modules (mod_cgid, suexec)[2] also use unixd.
More thinking+hacking due.

[1] Should be prefork/worker/event, but only worker is tested.
[2] cgid is OK, suexec is untested.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711146 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 00:44:56 +00:00
Nick Kew
a1252f96e3 Wrap the global count of privileges handlers operating. Silence grumblers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710037 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 11:37:03 +00:00
Nick Kew
72119d92f5 Switch all unix MPMs to use drop_privileges hook (mod_unixd) for startup
and add a flag to prevent running without any module taking responsibility
for managing system privileges!


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709993 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 00:46:54 +00:00
Jim Jagielski
83c28b52fe Maintain the assumption that uids are long (as is done
with other code sections), as well as be aware of
signs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709406 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 13:35:46 +00:00
Paul Querna
f3ae98d6b2 Make unixd_set_user a local static function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709238 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 20:29:28 +00:00
Paul Querna
08dddebd7c Change the child_init hook to a drop_privileges hook for mod_unixd.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709067 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 00:57:45 +00:00
Paul Querna
0519c3836f Strip down mod_unixd to only do chroot and changing the UID.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709058 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 00:36:39 +00:00
Paul Querna
8715fd2622 Move mod_unixd to arch/unix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709050 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 00:08:58 +00:00