]>
granicus.if.org Git - apache/log
Takashi Sato [Fri, 14 Nov 2008 12:56:56 +0000 (12:56 +0000)]
use <transnote>
Submitted by: takashi
Reviewed by: kawai
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713986
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Fri, 14 Nov 2008 09:48:39 +0000 (09:48 +0000)]
Introduce mod_privileges: a platform-specific module offering enhanced
security and a (limited) solution to the "perchild" problem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713961
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 13 Nov 2008 01:24:15 +0000 (01:24 +0000)]
Update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713606
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 13 Nov 2008 01:23:00 +0000 (01:23 +0000)]
Grammar fixes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713605
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 13 Nov 2008 01:05:21 +0000 (01:05 +0000)]
Update 'all' transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713596
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 13 Nov 2008 00:53:09 +0000 (00:53 +0000)]
Initial build of mod_unixd.html* plus props
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713590
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 13 Nov 2008 00:51:26 +0000 (00:51 +0000)]
Update transformations (from introduction of mod_unixd)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713589
13f79535 -47bb-0310-9956-
ffa450edef68
Vincent Bray [Thu, 13 Nov 2008 00:18:02 +0000 (00:18 +0000)]
Minor grammatical issues
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713575
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 12 Nov 2008 20:44:53 +0000 (20:44 +0000)]
* The nitpicker of the space police. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713504
13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 12 Nov 2008 20:10:29 +0000 (20:10 +0000)]
temporary dbg message and unnecessary continue, per rpluem review
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713487
13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 12 Nov 2008 19:25:03 +0000 (19:25 +0000)]
change short-lived behavior of "DirectoryIndex None" based on feedback from wrowe:
Doesn't search for anything:
DirectoryIndex disabled
Does search for literal "disabled":
DirectoryIndex disabled foo.
DirectoryIndex foo disabled
DirectoryIndex disabled disabled
Does search:
DirectoryIndex disabled.html
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713462
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 12 Nov 2008 01:31:39 +0000 (01:31 +0000)]
Introduce mod_unixd into the documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713242
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 11 Nov 2008 20:12:25 +0000 (20:12 +0000)]
These are in 2.2.11-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713152
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Tue, 11 Nov 2008 16:19:40 +0000 (16:19 +0000)]
Some typos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713075
13f79535 -47bb-0310-9956-
ffa450edef68
Philip M. Gollucci [Mon, 10 Nov 2008 21:38:46 +0000 (21:38 +0000)]
o cast some votes
o FreeBSD 5.x is no longer supported in even security patches.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712843
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 10 Nov 2008 21:16:41 +0000 (21:16 +0000)]
* Adjust changes entry to what is really done to fix it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712837
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Mon, 10 Nov 2008 05:48:21 +0000 (05:48 +0000)]
Add Simple MPM to example mpm config.
Submited by: Ryan Phillips <ryan trolocsis.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712611
13f79535 -47bb-0310-9956-
ffa450edef68
Thomas J. Donovan [Sun, 9 Nov 2008 17:03:29 +0000 (17:03 +0000)]
Always build odbc on Windows - backported from trunk to 2.2.x
trunk: r704771 & r704883
2.2.x: r712514
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712515
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 8 Nov 2008 11:09:38 +0000 (11:09 +0000)]
* Rip out the old flushing approach for solving lifetime issues between the
backend connection bucket allocator and front end connection bucket allocator.
Instead copy the buckets from the backend over to ones that have been created
using the front end bucket allocator. For metabucket this is done by recreating
them, for data buckets this is done by reading them and putting the read data
in a transient bucket.
PR: 45792
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712375
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Sat, 8 Nov 2008 03:18:13 +0000 (03:18 +0000)]
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
Lucien Gentis [Fri, 7 Nov 2008 16:24:27 +0000 (16:24 +0000)]
Update following original file modification.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712184
13f79535 -47bb-0310-9956-
ffa450edef68
Takashi Sato [Fri, 7 Nov 2008 02:22:45 +0000 (02:22 +0000)]
Note mod_authn_alias doesn't exist in 2.3/2.4.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712041
13f79535 -47bb-0310-9956-
ffa450edef68
Takashi Sato [Thu, 6 Nov 2008 23:10:56 +0000 (23:10 +0000)]
update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@712006
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Thu, 6 Nov 2008 22:23:21 +0000 (22:23 +0000)]
* Correctly set SSL_LIBS during openssl detection if pkgconfig is not available.
PR: 46018
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711993
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Thu, 6 Nov 2008 14:58:17 +0000 (14:58 +0000)]
Typo correction line 409
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711868
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Wed, 5 Nov 2008 16:11:15 +0000 (16:11 +0000)]
A reverse DNS lookup followed by a direct DNS lookup mean "double DNS lookup" instead of "double reverse DNS lookup"
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711598
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Wed, 5 Nov 2008 15:48:23 +0000 (15:48 +0000)]
Update in reference to original files modification.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711592
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 5 Nov 2008 14:41:02 +0000 (14:41 +0000)]
* mod_mem_cache is dead. So remove all hints on it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711576
13f79535 -47bb-0310-9956-
ffa450edef68
Takashi Sato [Wed, 5 Nov 2008 11:59:18 +0000 (11:59 +0000)]
Eemove the remained English text and fix the XML validation error.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711555
13f79535 -47bb-0310-9956-
ffa450edef68
Nilgun Belma Buguner [Wed, 5 Nov 2008 09:13:34 +0000 (09:13 +0000)]
update for sync with English doc.
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711537
13f79535 -47bb-0310-9956-
ffa450edef68
Takashi Sato [Wed, 5 Nov 2008 06:49:29 +0000 (06:49 +0000)]
Remove mod_mem_cache from documents
(Sync with r711470)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711521
13f79535 -47bb-0310-9956-
ffa450edef68
Hiroaki Kawai [Wed, 5 Nov 2008 03:10:16 +0000 (03:10 +0000)]
Sync.
English Revision: 504183
Submitted by kawai,takashi
Reviewed by takashi,kawai
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711499
13f79535 -47bb-0310-9956-
ffa450edef68
Hiroaki Kawai [Wed, 5 Nov 2008 03:02:47 +0000 (03:02 +0000)]
Sync.
English Revision: 689261
Submitted by takashi
Reviewed by kawai
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711496
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 4 Nov 2008 23:26:14 +0000 (23:26 +0000)]
The mem_cache is dead, long live disk_cache.
Reviewed by: wrowe, sander, fielding, abida, pquerna, jesus, lars
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711470
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 4 Nov 2008 21:42:17 +0000 (21:42 +0000)]
Holey moley. Marcus Burke noted this in Rich's Nuts/Bolts talk.
How embarassing!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711421
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 4 Nov 2008 14:59:23 +0000 (14:59 +0000)]
* We now need mod_unixd for worker, prefork and event as well.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711268
13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Tue, 4 Nov 2008 14:34:47 +0000 (14:34 +0000)]
Updating
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711262
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 4 Nov 2008 11:55:25 +0000 (11:55 +0000)]
* Instead of unixd_setup_child run the drop_privileges hook to switch the
userid / groupid.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711234
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 4 Nov 2008 11:36:31 +0000 (11:36 +0000)]
* unixd_setup_child is no longer implemented by unixd.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711228
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 4 Nov 2008 11:35:21 +0000 (11:35 +0000)]
* 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
Takashi Sato [Tue, 4 Nov 2008 07:06:22 +0000 (07:06 +0000)]
Update a Japanese translation.
Submitted by: kawai
Reviewed by: takashi
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711194
13f79535 -47bb-0310-9956-
ffa450edef68
Takashi Sato [Tue, 4 Nov 2008 06:56:23 +0000 (06:56 +0000)]
Update a Japanese translation.
Submitted by: kawai
Reviewed by: takashi
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711191
13f79535 -47bb-0310-9956-
ffa450edef68
Takashi Sato [Tue, 4 Nov 2008 03:46:54 +0000 (03:46 +0000)]
Update Japanese translations.
Submitted by: kawai
Reviewed by: takashi
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@711166
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Tue, 4 Nov 2008 00:44:56 +0000 (00:44 +0000)]
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
Jim Jagielski [Mon, 3 Nov 2008 23:19:54 +0000 (23:19 +0000)]
Ummm why bother setting vars if we are bailing?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710218
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Mon, 3 Nov 2008 20:43:43 +0000 (20:43 +0000)]
Trivial fix - insert missing space.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710153
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 3 Nov 2008 19:38:01 +0000 (19:38 +0000)]
Make sure that the sys_privileges_handlers is set for the NetWare platform
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710141
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 3 Nov 2008 19:36:47 +0000 (19:36 +0000)]
Remove the ap_session_get, ap_session_set export references for the NetWare build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710140
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Mon, 3 Nov 2008 17:41:00 +0000 (17:41 +0000)]
Make sure we clear out previous things we were listening for.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710111
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 3 Nov 2008 17:24:56 +0000 (17:24 +0000)]
Move security check to post_config, ćos pre-config hooks don´t
run in expected order.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710108
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 3 Nov 2008 11:37:03 +0000 (11:37 +0000)]
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
Paul Querna [Mon, 3 Nov 2008 03:08:35 +0000 (03:08 +0000)]
Bump trunk to require apr-util >=1.3.x, since we already require apr >=1.3.x.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710001
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Mon, 3 Nov 2008 00:46:54 +0000 (00:46 +0000)]
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
Ruediger Pluem [Sun, 2 Nov 2008 19:43:51 +0000 (19:43 +0000)]
* r708902 fixes PR39774 and thus is worth a CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709914
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sun, 2 Nov 2008 13:38:11 +0000 (13:38 +0000)]
* Better use calloc instead of alloc to initialize unset fields in struct.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709881
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sun, 2 Nov 2008 11:11:52 +0000 (11:11 +0000)]
* Update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709864
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sun, 2 Nov 2008 11:10:12 +0000 (11:10 +0000)]
* Digest providers works as well.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709862
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sun, 2 Nov 2008 11:08:34 +0000 (11:08 +0000)]
* Fix typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709861
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sun, 2 Nov 2008 04:33:23 +0000 (04:33 +0000)]
update transformations, and remove variations of mod_authn_default.xml
and mod_authz_default.xml removed in r709841
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709842
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sun, 2 Nov 2008 04:28:02 +0000 (04:28 +0000)]
Documentation revisions for r709838 and r709839.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709841
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sun, 2 Nov 2008 04:21:48 +0000 (04:21 +0000)]
Remove mod_authn_default and mod_authz_default.
Note: I've attempted to work through the Windows and Netware build files,
but if those with such systems could repair any damage, that would be
appreciated.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709839
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sun, 2 Nov 2008 04:01:32 +0000 (04:01 +0000)]
Fix handling of authz configurations, make default authz logic replicate
2.2.x authz logic and support existing configurations (including .htaccess
files), and replace <Satisfy*>, Reject, and AuthzMergeRules directives
with Match, <Match*>, and AuthzMerge directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709838
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 19:03:56 +0000 (19:03 +0000)]
minor formatting changes prior to larger changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709754
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 18:58:49 +0000 (18:58 +0000)]
remove unused variables, rename some variables, move and change
variable initializations, etc., prior to larger changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709751
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 18:28:17 +0000 (18:28 +0000)]
prevent crash when authz provider not registered prior to use in alias
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709746
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 18:22:55 +0000 (18:22 +0000)]
move some variable initializations prior to larger changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709742
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 17:58:19 +0000 (17:58 +0000)]
localize some variables in authz provider alias functions
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709736
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 17:24:57 +0000 (17:24 +0000)]
move function prior to larger changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709728
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 17:08:18 +0000 (17:08 +0000)]
major not minor bump for r709708
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709724
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 15:01:35 +0000 (15:01 +0000)]
remove unused AUTHZ_GROUP_NOTE define
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709708
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 14:53:09 +0000 (14:53 +0000)]
fix typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709706
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 14:50:30 +0000 (14:50 +0000)]
remove trailing whitespace, adjust formatting and comments prior
to larger changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709705
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Sat, 1 Nov 2008 14:47:07 +0000 (14:47 +0000)]
whitespace cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709704
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 1 Nov 2008 11:29:00 +0000 (11:29 +0000)]
* Update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709677
13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Sat, 1 Nov 2008 10:23:09 +0000 (10:23 +0000)]
* Use distinct char pointers for sending and receiving buffers to avoid
destroying the pointer to the sending buffer in the ajp message if
data is received from the backend before all data is sent to the
backend.
PR: 45911
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709666
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Sat, 1 Nov 2008 07:13:29 +0000 (07:13 +0000)]
Convert events to have an associated pool.
* server/mpm/simple/simple_types.h
(simple_timer_t): Add Pool and a pointer to the associated simple core.
(simple_core_t): Remove dead timer ring, no recycling of timer events for now.
* server/mpm/simple/simple_event.h: Update register_timer signature with pool.
* server/mpm/simple/simple_event.c
(simple_register_timer): Allocate the event structure out of the pool,
and when this pool is destroyed, unregister the timer.
(simple_timer_run): New util function for running a timer and cleaning up
the pool callbacks.
* server/mpm/simple/simple_core.c
(simple_core_init): Remvoe dead timer ring
* server/mpm/simple/simple_run.c
(simple_main_setup_timers): Pass in pool to register call.
(simple_timer_invoke): Use new simple_timer_run function.
(simple_child_loop): Remove dead timer ring.
* server/mpm/simple/simple_io.c
(simple_io_process): Pass in pool when registering timers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709657
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Sat, 1 Nov 2008 06:14:12 +0000 (06:14 +0000)]
Reset the timers when in the child -- this prevents a fork bomb, as each child would spawn N more children of its own, as the scheduled timer would go off in the child and the parent.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709655
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Sat, 1 Nov 2008 06:03:39 +0000 (06:03 +0000)]
Remove extra log line with how many threads are being spawned.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709654
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Sat, 1 Nov 2008 06:02:01 +0000 (06:02 +0000)]
Move creation of the pollcb object to after we fork(), since kqueues don't persist across fork(). (huh, didn't know that before)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709653
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Fri, 31 Oct 2008 20:49:42 +0000 (20:49 +0000)]
Note crash fix in mod_authn_core.c from r709553.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709563
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Fri, 31 Oct 2008 20:18:07 +0000 (20:18 +0000)]
Add AuthType of None to support disabling authentication.
Prevent crash when provider alias created to provider which is not
yet registered.
Migrate remaining functionality of mod_authn_default to mod_authn_core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709553
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Darroch [Fri, 31 Oct 2008 20:10:07 +0000 (20:10 +0000)]
Allow <Limit> and <LimitExcept> directives to nest, and
constrain their use to conform with that of other access control
and authorization directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709551
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 31 Oct 2008 13:37:32 +0000 (13:37 +0000)]
Also adjust unixd.c with changes from r709406
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709407
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 31 Oct 2008 13:35:46 +0000 (13:35 +0000)]
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
Lucien Gentis [Fri, 31 Oct 2008 13:15:24 +0000 (13:15 +0000)]
Minor typo correction
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709403
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 20:29:28 +0000 (20:29 +0000)]
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
Jim Jagielski [Thu, 30 Oct 2008 19:29:18 +0000 (19:29 +0000)]
Make a valid prototype
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709229
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 10:46:58 +0000 (10:46 +0000)]
Basic support for spawning children porcesses via fork() and killing them with kill().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709136
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 10:36:44 +0000 (10:36 +0000)]
Add Makefile.in, so unixd will actually compile correctly :-).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709134
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 01:52:35 +0000 (01:52 +0000)]
Remove completed todo items.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709079
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 01:50:09 +0000 (01:50 +0000)]
reindent according to our coding style: <http://httpd.apache.org/dev/styleguide.html>
for i in `ls *.h *.c`; do indent -i4 -npsl -di0 -br -nce -d0 -cli0 -npcs -nfc1 -nut ${i}; done
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709078
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 00:57:45 +0000 (00:57 +0000)]
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
Paul Querna [Thu, 30 Oct 2008 00:54:02 +0000 (00:54 +0000)]
Create a new drop_privileges hook for the Simple MPM.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709062
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 00:39:19 +0000 (00:39 +0000)]
Remove SimpleUser configuration command, this will all be handled inside mod_unixd.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709060
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 00:36:39 +0000 (00:36 +0000)]
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
Paul Querna [Thu, 30 Oct 2008 00:21:50 +0000 (00:21 +0000)]
Add mod_unixd to build, update svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709055
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 00:09:25 +0000 (00:09 +0000)]
remove empty directory.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709051
13f79535 -47bb-0310-9956-
ffa450edef68
Paul Querna [Thu, 30 Oct 2008 00:08:58 +0000 (00:08 +0000)]
Move mod_unixd to arch/unix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@709050
13f79535 -47bb-0310-9956-
ffa450edef68
Nick Kew [Wed, 29 Oct 2008 16:41:10 +0000 (16:41 +0000)]
Introduce modules/system, and mod_unixd.c
mod_unixd.c is only os/unix/unixd.c, turned into a module.
(or more accurately, an ugly hack). Work in progress, and the
old unixd will have to go once the module build stuff is in place.
This re-introduces some of the unixd stuff (set user, group and chroot)
to mpm_simple, and should work equally well with existing MPMs.
It also paves the way for alternative privilege management schemes,
which can be implemented in alternative modules: this´ll be
necessary to run mpm_simple on non-unix-family platforms, and
of interest for alternative Unix implementations. By relegating
everything to a child_init hook, we can mix-and-match, though
weĺl need to add a regime that prevents just going right ahead
with nothing and running as root.
Round tuits permitting, we should be able to simplify unixd.h too,
and look towards eliminating it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708935
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Wed, 29 Oct 2008 13:32:58 +0000 (13:32 +0000)]
Avoid time traveling :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@708902
13f79535 -47bb-0310-9956-
ffa450edef68