67746e0d18eeceb247fc940148c9b4d358929643 1180681 |
|
09-Oct-2011 |
sf |
Add -D DUMP_RUN_CFG option to dump some configuration items
from the parsed (or default) config. This is useful for init scripts that
need to setup temporary directories and permissions, for example if those
temporary directories are located on a ram disk. |
11e076839c8d5a82d55e710194d0daac51390dbd 1174929 |
|
23-Sep-2011 |
sf |
More cleanup: Expand tabs and some more indentation fixes
No functional change |
742318b93e89c311f66b55f426c4d9cf2c14628b 1174748 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
b682e60dd82772dba52ba77138e494f15c00a551 1033519 |
|
10-Nov-2010 |
trawick |
suEXEC: Add Suexec directive to disable suEXEC without renaming the
binary (Suexec Off), or force startup failure if suEXEC is required
but not supported (Suexec On). Change SuexecUserGroup to fail
startup instead of just printing a warning if suEXEC is disabled.
Additionally, ap_unixd_config.suexec_disabled_reason has a message,
suitable for logging/messaging, explaining why the feature isn't
available. |
f4fe6b4b23bff444e2e55d1b5782040cfc1146b4 954783 |
|
15-Jun-2010 |
rjung |
The directives "User", "Group" and "ChrootDir" have
been moved into mod_unixd.
The old macro UNIX_DAEMON_COMMANDS is no longer in use. |
4905c608cf8f4ad5f162dcdc23cd414b7ef343ec 739487 |
|
31-Jan-2009 |
fielding |
use a local module header file to store the function prototype
for ap_unixd_setup_child() that is used outside this module. |
8571765fb35d69b3a9a390fb6b860858a185921e 739150 |
|
30-Jan-2009 |
fielding |
revert r711228: the ap_unixd_setup_child prototype needs to go somewhere. |
a91a59d0b0ceed7cd5621fe8757eda5ff6a043a8 722399 |
|
02-Dec-2008 |
pquerna |
API Cleanup in preperation for 2.4.x, make sure all exported functions or variables contain an ap_ prefix. |
21c6ba50edf4ac77c5951bd6ea89f4aaa1dd01e8 711228 |
|
04-Nov-2008 |
rpluem |
* unixd_setup_child is no longer implemented by unixd.c. |
d2e300c8f6893b710696db76d2ad32056e729780 711146 |
|
04-Nov-2008 |
niq |
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. |
cb9999606fbbda475b7b40e164699731521e9eb1 611483 |
|
12-Jan-2008 |
niq |
Support chroot on unix-family platforms
PR 43596 (Dimitar Pashev) |
63ca5c5c5bf2c6466049a3b54348862cb9c6d3b0 486436 |
|
13-Dec-2006 |
wrowe |
APR_HAVE/AP_HAVE are ALWAYS defined, not always 1. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
47590ec57c68f94ec258f5e1a440e438b85cb583 354389 |
|
06-Dec-2005 |
jorton |
* os/unix/unixd.h: Use extern "C" linkage.
PR: 37357 |
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8 263931 |
|
29-Aug-2005 |
ianh |
Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
6de8046f8f7e07cd83895a528df25d977e502c76 102619 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
c27bef8526e2534afce580c2ce2994bae41cda77 102579 |
|
08-Feb-2004 |
nd |
fix copyright dates according to the first check in |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
a3954060338ccebc73071e89ac936d4ec15ab352 100189 |
|
07-Jun-2003 |
trawick |
Unix: Handle permissions settings for flock-based mutexes in
unixd_set_global|proc_mutex_perms(). Allow the functions to be
called for any type of mutex.
This resolves a fatal problem with mod_rewrite on systems where
APR uses flock-based mutex.
It simplifies mod_ssl as well, which had special logic to perform
the chown(). It fixed an init error with mod_ssl on systems where
flock is used when the user had no SSLMutex directive.
The Unix MPMs continue to call unixd_set_global|proc_mutex_perms()
only for SysV sems. There is no permission problem with flock-based
accept mutexes since the child init logic for the MPMs is done
prior to switching identity.
PR: 20312 |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
89d608ced427f94bc2683f0fd45dfd8d9f3da3dd 94968 |
|
06-May-2002 |
aaron |
Add unixd_set_global_mutex_perms so we can set permissions on things like
SysV Semaphores in the core and modules. |
28caffb98f18c0b9562ac20870f7ab91f3d9a01f 94791 |
|
25-Apr-2002 |
jerenkrantz |
Fix suexec invocations from userdir - the ~ was not being prepended to the
uid per our convention. Therefore, bad things would happen (like we
wouldn't cd to the right directory).
Add a flag to the ap_unix_identity_t structure to indicate if we are in
a userdir - if so, prefix the ~.
(Modified by Justin, but Colm's patch pointed me in the right direction.)
PR: 7810
Submitted by: Colm <colmmacc@redbrick.dcu.ie>
Reviewed by: Justin Erenkrantz |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
8f779379d712c85375a8b8310e1557e170b3f96e 93558 |
|
24-Feb-2002 |
brianp |
Removed unixd_set_lock_perms(apr_lock_t *), which is no longer
used by any of the MPMs. (This is another step toward eliminating
the httpd's dependencies on the old lock API.) |
27757f6699a924d4b493a1b6cceb27df27a43287 92598 |
|
25-Dec-2001 |
dreid |
Add ap_os_killpg as well as unixd_killpg and beosd_killpg.
Move the worker MPM to use ap_os_killpg in place of unixd_killpg as
this makes it more portable.
Ryan notes that really we should be using the POD mechanism to
control death of the child processes, so this is temporary until
we have that change in place. Note added to STATUS to that effect. |
6e954603b02f2b7d4ad80af17d9b3cc6f0bacf69 91916 |
|
13-Nov-2001 |
rbb |
Allow modules that add sockets to the ap_listeners list to
define the function that should be used to accept on that
socket. Each MPM can define their own function to use for
the accept function with the MPM_ACCEPT_FUNC macro. This
also abstracts out all of the Unix accept error handling
logic, which has become out of synch across Unix MPMs.
The code flow is much easier now for different transports:
1) During pre-config, post-config or while parsing the config
file, add a socket to the ap_listeners list, making sure to
define an accept function at the same time.
2) MPMs find the correct listener, and call the accept function
that was defined in step 1.
3) That accept function returns a void pointer, which is passed
to the create_connection hook.
4) create_connection adds the correct low-level filters. |
1c0b7c3bdace07946457fa7ba04b7f97b6599792 91896 |
|
13-Nov-2001 |
rbb |
Remove commas from the end of the macros that define
directives that are used by MPMs. Previous to this patch,
you would use these macros without commans, which was unlike
any other directives. Now, after the macro, you must have
a comma. This makes the macros look more like the rest of the
directives.
I know this is cosmetic, and I was going to leave it alone, but when
I found out that it bothered Cliff too, I decided to fix it after all.
Submitted by: Ryan Bloom and Cliff Woolley |
1dcc7dd1c824707b73fe16fc63b799e7a1dd282f 91579 |
|
20-Oct-2001 |
aaron |
Use the APR's new OS-specific proc mutex accessors -- they are used
here to set permissions on SysV Semaphores. MPMs will be modified to
call this new function as they are ported to the new APR lock API. |
a3698581d3c9a93da8c79d695e6472c8f54e3cac 91022 |
|
13-Sep-2001 |
orlikowski |
Added AP_DECLARE_DATA to unixd_config, so that it makes it into the exp file.
Submitted by: Mark Nesbitt <mnesbitt@us.ibm.com> |
24087818ec89713df80cf5c914428d492012b256 90808 |
|
30-Aug-2001 |
rbb |
Use the correct macros in unix.h |
4b00fc947b9ca60414179f427c2e05b82fe4c188 90800 |
|
30-Aug-2001 |
wrowe |
No <sys/ipc.h> under cygwin. |
b76ecb72a4769fc093e816adf062eeb9804a6ccd 90215 |
|
16-Aug-2001 |
rbb |
Fix a new error on Linux. |
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9 90213 |
|
16-Aug-2001 |
trawick |
The Unix MPMs other than perchild now allow child server
processes to use the accept mutex when starting as root and
using SysV sems for the accept mutex. Previously, this
combination would lead to fatal errors in the child server
processes. perchild can't use SysV sems because of security
issues.
translation: steal apache 1.3 code to call semop(IPC_SET) on
the semaphore to set permissions and uid/gid |
fcdbe02c16575d9c8b6e14a52269c48f79e08baa 89790 |
|
30-Jul-2001 |
orlikowski |
httpd.exp and lots of other export files are generated based on the
AP[RU]_DECLARE macros. This commit gets mod_cgid working again as a DSO on
AIX.
However, this brings up the need to look for any functions that are
available as part of the API, and AP[RU]_DECLAREing them, so things don't
blow up in DSOs. |
24c37fed37c126e979b4b750e9d2bd05ccb479a5 89232 |
|
27-May-2001 |
ben |
Utility to list available hooks. |
fe12b0e2153f5f39fd8c6931feaffdc8ca0b7478 88753 |
|
07-Apr-2001 |
trawick |
tweak unixd.h so that exports.c is built properly |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
587c6c9b6f22f1de04168d9d3e11332d2ab39e39 88079 |
|
11-Feb-2001 |
gstein |
toss the signal description stuff from unixd.[ch], beosd.h, and spmt_os2.
use the new functionality in APR. |
b980ad7fdc218b4855cde9f75a747527f50c554d 87731 |
|
19-Jan-2001 |
wrowe |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed. |
d7ff9ea6ea7da2ee7928c8a51ec170cb52345fdd 87092 |
|
27-Nov-2000 |
trawick |
<sys/resource.h> requires <sys/time.h> first on some systems
(e.g., FreeBSD 3.4) |
20be52a1d742b6dad4b799009d70a51522a8f8f1 86772 |
|
31-Oct-2000 |
rbb |
Make mod_cgi and mod_include work when compiled as DSO's again. This is
accomplished by moving suexec out of it's own file and into unixd.[ch].
The problem was that suexec.c wasn't being linked into the server unless
a module was actually using ap_os_create_process. This is still not clean,
but it works now. |
39813b8983b16dce75194e7b70184fd68743db90 86712 |
|
23-Oct-2000 |
manoj |
Add back suexec support. |
174574a7fa1803ce99ffc54c19473a5057935bb9 86710 |
|
23-Oct-2000 |
manoj |
Add a temporary pool argument to unixd_pre_config, so that it can call
APR functions (grumble). This is needed for apr_stat, which will be in
the suexec path coming up. |
3d96ee83babeec32482c9082c9426340cee8c44d 86609 |
|
16-Oct-2000 |
wrowe |
Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion. |
a017b39c5ddc65bd8217cb69f3dc06378da941ee 85635 |
|
20-Jun-2000 |
rbb |
Remove unixd_detach function, because it is provided by APR as ap_detach.
This also modifies the ap_detach function to look like unixd_detach.
Finally all calls to unixd_detach are changed to ap_detach. |
f094873c7ea2f9bc10594d848aa66362cae23dd7 85606 |
|
18-Jun-2000 |
trawick |
Make unixd_config.user_name const char * instead of char * to avoid
a warning when the set-user-name command handler saves the address of
the arg from the config file. |
66d349e02d1a5a599a01c977d2c5b0009181f7de 85599 |
|
17-Jun-2000 |
ben |
More consification, correct command initialisation. |
48d7c43629323c8d5ee9f7bd0d194de0a376b391 85558 |
|
13-Jun-2000 |
rbb |
Protect system header files with the appropriate macros. |
b1476ba063e6d9577cd86db3db5dd98ff6bc78b9 85449 |
|
06-Jun-2000 |
rbb |
Add the resource limiting code back to Apache 2.0. This only works on
Unix because I can't find any other platforms with rlimit. If there are
other platforms that need this code, then some of the code needs to move.
This has just barely been tested, so it could probably use some good
testing. |
ca06b00362c03f6bf343724e55a520b3a13407fb 85047 |
|
26-Apr-2000 |
trawick |
Increase the default NumSIG value from 32 to 33 on behalf of
OS/390. unix_siglist_init() will now blow up via ap_assert()
if NumSIG is too low. (This is no fun to debug!) |
059f354a6b7b116e4469ff7fe99c1142affa0ad6 84880 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
64185f9824e42f21ca7b9ae6c004484215c031a7 84725 |
|
10-Mar-2000 |
rbb |
Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license |
b0f20a4a26bcfa85724b1c2e5ec6a077f12ef44c 84493 |
|
19-Jan-2000 |
rbb |
Finish the commits for the change in the header files. Basically, this hides
all of the Apache macros that modules don't need access to. This should
have been committed with the modules, but I wasn't paying attention to the
directory I was in when I ran the commit.
Submitted by: Manoj Kasichainula and Ryan Bloom |
7b85491921b9bfae551088fad57aa683fb108311 84186 |
|
30-Nov-1999 |
manoj |
The first part of the big autoconf patch. This replaces a bunch of
NEED_* macros with HAVE_* macros to be more consistent with autoconf. |
22cba9bd9312311c1bcccb28d93e3890106ac57f 83669 |
|
13-Aug-1999 |
manoj |
Move the ap_sys_siglist code from the Unix MPMs to unixd.[ch] |
c13648fa39b999ca4b6eb3a72b524c3909dee9e2 83354 |
|
21-Jun-1999 |
dgaudet |
detach, set_group_privs, and such... these will be common amongst the
unix MPMs, so split them off into os/unix/unixd.[ch]. |