Checkout Tools
  • last updated 5 hours ago
Constraints: committers
Constraints: files
Constraints: dates
MPMs unix: Place signals handlers and helpers out of DSOs to avoid

a possible crash if a signal is caught during (graceful) restart.

PR 60487.

  1. … 8 more files in changeset.
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.

  1. … 10 more files in changeset.
More cleanup: Expand tabs and some more indentation fixes

No functional change

  1. … 50 more files in changeset.
Cleanup effort in prep for GA push:

Trim trailing whitespace... no func change

  1. … 63 more files in changeset.
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


  1. … 6 more files in changeset.
The directives "User", "Group" and "ChrootDir" have

been moved into mod_unixd.

The old macro UNIX_DAEMON_COMMANDS is no longer in use.

use a local module header file to store the function prototype

for ap_unixd_setup_child() that is used outside this module.

  1. … 2 more files in changeset.
revert r711228: the ap_unixd_setup_child prototype needs to go somewhere.

API Cleanup in preperation for 2.4.x, make sure all exported functions or variables contain an ap_ prefix.

  1. … 28 more files in changeset.
* unixd_setup_child is no longer implemented by unixd.c.

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.

  1. … 5 more files in changeset.
Support chroot on unix-family platforms

PR 43596 (Dimitar Pashev)

  1. … 2 more files in changeset.
APR_HAVE/AP_HAVE are ALWAYS defined, not always 1.

update license header text
  1. … 316 more files in changeset.
Update the copyright year in all .c, .h and .xml files

  1. … 497 more files in changeset.
* os/unix/unixd.h: Use extern "C" linkage.

PR: 37357

Doxygen fixup / cleanup

submited by: Neale Ranns neale ranns.org

reviewed by: Ian Holsman

  1. … 105 more files in changeset.
Update copyright year to 2005 and standardize on current copyright owner line.

  1. … 522 more files in changeset.
general property cleanup

  1. … 712 more files in changeset.
fix name of The Apache Software Foundation

  1. … 174 more files in changeset.
fix copyright dates according to the first check in

  1. … 5 more files in changeset.
apply Apache License, Version 2.0

  1. … 262 more files in changeset.
update license to 2004.

  1. … 281 more files in changeset.
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

  1. … 6 more files in changeset.
finished that boring job:

update license to 2003.

Happy New Year! ;-))

  1. … 271 more files in changeset.
Add unixd_set_global_mutex_perms so we can set permissions on things like

SysV Semaphores in the core and modules.

  1. … 1 more file in changeset.
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

  1. … 4 more files in changeset.
Update our copyright for this year.

  1. … 260 more files in changeset.
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.)

  1. … 1 more file in changeset.
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.

  1. … 3 more files in changeset.