| Pass | Half | Fail | Excluded | Total | |||
|---|---|---|---|---|---|---|---|
|
|
0.00% |
100.00% |
0.00% |
100% |
|||
|
|
0.00% |
100.00% |
0.00% |
100% |
|||
|
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
||
|
|
0.00% |
100.00% |
0.00% |
100% |
|||
|
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
||
|
|
0.00% |
0.00% |
0.00% |
0.00% |
100% |
||
|
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
||
|
|
0.00% |
0.00% |
100.00% |
0.00% |
100% |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | set_group_privs(void) |
| 64 | |
| 65 | if (! : true=0, false=0 !geteuid : enter=0, leave=0 geteuid : /usr/include/unistd.h line=697 column=16 geteuid()) { |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | if (unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.user_name : os/unix/unixd.h line=71 column=17 user_name[] : enter=0, leave=0 [0] == : true=0, false=0 == '#') { |
| 71 | |
| 72 | atoi : /usr/include/stdlib.h line=148 column=12 atoi(&unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.user_name : os/unix/unixd.h line=71 column=17 user_name[] : enter=0, leave=0 [1]); |
| 73 | |
| 74 | if ((ent : os/unix/unixd.c line=71 column=28 ent = : pass=0 = getpwuid : enter=0, leave=0 getpwuid : /usr/include/pwd.h line=111 column=23 getpwuid(uid : os/unix/unixd.c line=72 column=19 uid)) == : true=0, false=0 == NULL) { |
| 75 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 76 | |
| 77 | |
| 78 | uid); |
| 79 | return -1; |
| 80 | |
| 81 | |
| 82 | name = : pass=0 = ent : os/unix/unixd.c line=71 column=28 ent-> : enter=0, leave=0 ->pw_name : /usr/include/pwd.h line=52 column=9 pw_name; |
| 83 | |
| 84 | |
| 85 | name = : pass=0 = unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.user_name : os/unix/unixd.h line=71 column=17 user_name; |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | |
| 94 | if (setgid : enter=0, leave=0 setgid : /usr/include/unistd.h line=736 column=12 setgid(unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.group_id : os/unix/unixd.h line=73 column=11 group_id) == : true=0, false=0 == -1) { |
| 95 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 96 | |
| 97 | unixd_config.group_id : os/unix/unixd.h line=73 column=11 group_id); |
| 98 | return -1; |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | if (initgroups : enter=0, leave=0 initgroups : /usr/include/grp.h line=203 column=12 initgroups(name : os/unix/unixd.c line=66 column=21 name, unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.group_id : os/unix/unixd.h line=73 column=11 group_id) == : true=0, false=0 == -1) { |
| 104 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 105 | |
| 106 | name, (unsigned)unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.group_id : os/unix/unixd.h line=73 column=11 group_id); |
| 107 | return -1; |
| 108 | |
| 109 | |
| 110 | |
| 111 | return 0; |
| 112 | |
| 113 | |
| 114 | |
| 115 | unixd_setup_child(void) |
| 116 | |
| 117 | if (set_group_privs : enter=0, leave=0 set_group_privs : os/unix/unixd.c line=63 column=12 set_group_privs()) { |
| 118 | return -1; |
| 119 | |
| 120 | |
| 121 | if (NULL != : true=0, false=0 != unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.chroot_dir : os/unix/unixd.h line=75 column=17 chroot_dir) { |
| 122 | if (geteuid : enter=0, leave=0 geteuid : /usr/include/unistd.h line=697 column=16 geteuid()) { |
| 123 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 124 | |
| 125 | return -1; |
| 126 | |
| 127 | if (chdir : enter=0, leave=0 chdir : /usr/include/unistd.h line=494 column=12 chdir(unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.chroot_dir : os/unix/unixd.h line=75 column=17 chroot_dir) != : true=0, false=0 != 0) { |
| 128 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 129 | unixd_config.chroot_dir : os/unix/unixd.h line=75 column=17 chroot_dir); |
| 130 | return -1; |
| 131 | |
| 132 | if (chroot : enter=0, leave=0 chroot : /usr/include/unistd.h line=963 column=12 chroot(unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.chroot_dir : os/unix/unixd.h line=75 column=17 chroot_dir) != : true=0, false=0 != 0) { |
| 133 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 134 | unixd_config.chroot_dir : os/unix/unixd.h line=75 column=17 chroot_dir); |
| 135 | return -1; |
| 136 | |
| 137 | if (chdir : enter=0, leave=0 chdir : /usr/include/unistd.h line=494 column=12 chdir("/") != : true=0, false=0 != 0) { |
| 138 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 139 | |
| 140 | return -1; |
| 141 | |
| 142 | |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !geteuid : enter=0, leave=0 geteuid : /usr/include/unistd.h line=697 column=16 geteuid() && : true=0, false=0 && ( |
| 160 | |
| 161 | |
| 162 | |
| 163 | setuid : /usr/include/unistd.h line=719 column=12 setuid(unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.user_id : os/unix/unixd.h line=72 column=11 user_id) == : true=0, false=0 MC/DC independently affect : true=0, false=0 == -1)) { |
| 164 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 165 | |
| 166 | unixd_config.user_id : os/unix/unixd.h line=72 column=11 user_id); |
| 167 | return -1; |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | if (ap_coredumpdir_configured : include/mpm_common.h line=333 column=12 ap_coredumpdir_configured) { |
| 173 | if (prctl : enter=0, leave=0 prctl : /usr/include/sys/prctl.h line=28 column=12 prctl(PR_SET_DUMPABLE, 1)) { |
| 174 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL, |
| 175 | |
| 176 | |
| 177 | |
| 178 | |
| 179 | |
| 180 | |
| 181 | |
| 182 | return 0; |
| 183 | |
| 184 | |
| 185 | |
| 186 | unixd_set_user(cmd_parms *cmd, void *dummy, |
| 187 | |
| 188 | |
| 189 | ap_check_cmd_context : include/http_config.h line=710 column=26 ap_check_cmd_context(cmd : os/unix/unixd.c line=186 column=52 cmd, GLOBAL_ONLY); |
| 190 | if (err : os/unix/unixd.c line=189 column=17 err != : true=0, false=0 != NULL) { |
| 191 | return err : os/unix/unixd.c line=189 column=17 err; |
| 192 | |
| 193 | |
| 194 | unixd_config.user_name : os/unix/unixd.h line=71 column=17 user_name = : pass=0 = arg : os/unix/unixd.c line=187 column=53 arg; |
| 195 | unixd_config.user_id : os/unix/unixd.h line=72 column=11 user_id = : pass=0 = ap_uname2id : enter=0, leave=0 ap_uname2id : include/mpm_common.h line=204 column=19 ap_uname2id(arg : os/unix/unixd.c line=187 column=53 arg); |
| 196 | |
| 197 | if (unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.user_id : os/unix/unixd.h line=72 column=11 user_id == : true=0, false=0 == 0) { |
| 198 | return "Error:\tApache has not been designed to serve pages while\n" |
| 199 | |
| 200 | |
| 201 | |
| 202 | |
| 203 | |
| 204 | |
| 205 | |
| 206 | |
| 207 | |
| 208 | |
| 209 | |
| 210 | return NULL; |
| 211 | |
| 212 | |
| 213 | unixd_set_group(cmd_parms *cmd, void *dummy, |
| 214 | |
| 215 | |
| 216 | ap_check_cmd_context : include/http_config.h line=710 column=26 ap_check_cmd_context(cmd : os/unix/unixd.c line=213 column=53 cmd, GLOBAL_ONLY); |
| 217 | if (err : os/unix/unixd.c line=216 column=17 err != : true=0, false=0 != NULL) { |
| 218 | return err : os/unix/unixd.c line=216 column=17 err; |
| 219 | |
| 220 | |
| 221 | unixd_config.group_id : os/unix/unixd.h line=73 column=11 group_id = : pass=0 = ap_gname2id : enter=0, leave=0 ap_gname2id : include/mpm_common.h line=214 column=19 ap_gname2id(arg : os/unix/unixd.c line=214 column=54 arg); |
| 222 | |
| 223 | return NULL; |
| 224 | |
| 225 | unixd_set_chroot_dir(cmd_parms *cmd, void *dummy, |
| 226 | |
| 227 | |
| 228 | ap_check_cmd_context : include/http_config.h line=710 column=26 ap_check_cmd_context(cmd : os/unix/unixd.c line=225 column=58 cmd, GLOBAL_ONLY); |
| 229 | if (err : os/unix/unixd.c line=228 column=17 err != : true=0, false=0 != NULL) { |
| 230 | return err : os/unix/unixd.c line=228 column=17 err; |
| 231 | |
| 232 | if (! : true=0, false=0 !ap_is_directory : enter=0, leave=0 ap_is_directory : include/httpd.h line=1818 column=17 ap_is_directory(cmd : os/unix/unixd.c line=225 column=58 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, arg : os/unix/unixd.c line=226 column=59 arg)) { |
| 233 | return "ChrootDir must be a valid directory"; |
| 234 | |
| 235 | |
| 236 | unixd_config.chroot_dir : os/unix/unixd.h line=75 column=17 chroot_dir = : pass=0 = arg : os/unix/unixd.c line=226 column=59 arg; |
| 237 | return NULL; |
| 238 | |
| 239 | |
| 240 | unixd_set_suexec(cmd_parms *cmd, void *dummy, |
| 241 | |
| 242 | |
| 243 | ap_check_cmd_context : include/http_config.h line=710 column=26 ap_check_cmd_context(cmd : os/unix/unixd.c line=240 column=54 cmd, GLOBAL_ONLY); |
| 244 | if (err : os/unix/unixd.c line=243 column=17 err != : true=0, false=0 != NULL) { |
| 245 | return err : os/unix/unixd.c line=243 column=17 err; |
| 246 | |
| 247 | |
| 248 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.suexec_enabled : os/unix/unixd.h line=74 column=9 suexec_enabled && : true=0, false=0 && MC/DC independently affect : true=0, false=0 arg : os/unix/unixd.c line=241 column=47 arg) { |
| 249 | return "suEXEC isn't supported; check existence, owner, and " |
| 250 | |
| 251 | |
| 252 | |
| 253 | unixd_config.suexec_enabled : os/unix/unixd.h line=74 column=9 suexec_enabled = : pass=0 = arg : os/unix/unixd.c line=241 column=47 arg; |
| 254 | return NULL; |
| 255 | |
| 256 | |
| 257 | unixd_pre_config(apr_pool_t *ptemp) |
| 258 | |
| 259 | |
| 260 | |
| 261 | unixd_config.user_name : os/unix/unixd.h line=71 column=17 user_name = : pass=0 = DEFAULT_USER; |
| 262 | unixd_config.user_id : os/unix/unixd.h line=72 column=11 user_id = : pass=0 = ap_uname2id : enter=0, leave=0 ap_uname2id : include/mpm_common.h line=204 column=19 ap_uname2id(DEFAULT_USER); |
| 263 | unixd_config.group_id : os/unix/unixd.h line=73 column=11 group_id = : pass=0 = ap_gname2id : enter=0, leave=0 ap_gname2id : include/mpm_common.h line=214 column=19 ap_gname2id(DEFAULT_GROUP); |
| 264 | |
| 265 | unixd_config.chroot_dir : os/unix/unixd.h line=75 column=17 chroot_dir = : pass=0 = NULL; /* none */ |
| 266 | |
| 267 | |
| 268 | unixd_config.suexec_enabled : os/unix/unixd.h line=74 column=9 suexec_enabled = : pass=0 = 0; |
| 269 | if ((apr_stat : enter=0, leave=0 apr_stat : /usr/include/apr-1/apr_file_info.h line=229 column=27 apr_stat(&wrapper : os/unix/unixd.c line=259 column=17 wrapper, SUEXEC_BIN, |
| 270 | ptemp)) != : true=0, false=0 != APR_SUCCESS) { |
| 271 | return; |
| 272 | |
| 273 | |
| 274 | if ((wrapper : os/unix/unixd.c line=259 column=17 wrapper.protection : /usr/include/apr-1/apr_file_info.h line=181 column=21 protection & : pass=0 & APR_USETID) && : true=0, false=0 && wrapper : os/unix/unixd.c line=259 column=17 wrapper.user : /usr/include/apr-1/apr_file_info.h line=188 column=15 user == : true=0, false=0 MC/DC independently affect : true=0, false=0 == 0) { |
| 275 | unixd_config.suexec_enabled : os/unix/unixd.h line=74 column=9 suexec_enabled = : pass=0 = 1; |
| 276 | |
| 277 | |
| 278 | |
| 279 | |
| 280 | unixd_set_rlimit(cmd_parms *cmd, struct rlimit **plimit, |
| 281 | |
| 282 | |
| 283 | |
| 284 | |
| 285 | |
| 286 | |
| 287 | |
| 288 | |
| 289 | |
| 290 | plimit = : enter=0, leave=0 = (struct rlimit *)apr_pcalloc(cmd : os/unix/unixd.c line=280 column=46 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, sizeof(**plimit)); |
| 291 | limit = : pass=0 = * dereference : enter=0, leave=0 *plimit : os/unix/unixd.c line=280 column=67 plimit; |
| 292 | if ((getrlimit : enter=0, leave=0 getrlimit : /usr/include/sys/resource.h line=51 column=12 getrlimit(type : os/unix/unixd.c line=281 column=68 type, limit : os/unix/unixd.c line=285 column=20 limit)) != : true=0, false=0 != 0) { |
| 293 | plimit = : enter=0, leave=0 = NULL; |
| 294 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ERR, errno, cmd : os/unix/unixd.c line=280 column=46 cmd-> : enter=0, leave=0 ->server : include/http_config.h line=296 column=17 server, |
| 295 | cmd-> : enter=0, leave=0 ->cmd : include/http_config.h line=305 column=24 cmd-> : enter=0, leave=0 ->name : include/http_config.h line=204 column=17 name); |
| 296 | return; |
| 297 | |
| 298 | |
| 299 | if ((str : os/unix/unixd.c line=284 column=11 str = : pass=0 = ap_getword_conf : enter=0, leave=0 ap_getword_conf : include/httpd.h line=1358 column=20 ap_getword_conf(cmd : os/unix/unixd.c line=280 column=46 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, &arg : os/unix/unixd.c line=281 column=40 arg))) { |
| 300 | if (! : true=0, false=0 !strcasecmp : enter=0, leave=0 strcasecmp : /usr/include/string.h line=536 column=12 strcasecmp(str : os/unix/unixd.c line=284 column=11 str, "max")) { |
| 301 | cur = : pass=0 = limit : os/unix/unixd.c line=285 column=20 limit-> : enter=0, leave=0 ->rlim_max : /usr/include/bits/resource.h line=140 column=12 rlim_max; |
| 302 | |
| 303 | |
| 304 | cur = : pass=0 = atol : enter=0, leave=0 atol : /usr/include/stdlib.h line=151 column=17 atol(str : os/unix/unixd.c line=284 column=11 str); |
| 305 | |
| 306 | |
| 307 | |
| 308 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd : os/unix/unixd.c line=280 column=46 cmd-> : enter=0, leave=0 ->server : include/http_config.h line=296 column=17 server, |
| 309 | cmd-> : enter=0, leave=0 ->cmd : include/http_config.h line=305 column=24 cmd-> : enter=0, leave=0 ->name : include/http_config.h line=204 column=17 name); |
| 310 | return; |
| 311 | |
| 312 | |
| 313 | if (MC/DC independently affect : true=0, false=0 arg2 : os/unix/unixd.c line=281 column=58 arg2 && : true=0, false=0 && (str : os/unix/unixd.c line=284 column=11 str = : pass=0 MC/DC independently affect : true=0, false=0 = ap_getword_conf : enter=0, leave=0 ap_getword_conf : include/httpd.h line=1358 column=20 ap_getword_conf(cmd : os/unix/unixd.c line=280 column=46 cmd-> : enter=0, leave=0 ->pool : include/http_config.h line=291 column=17 pool, &arg2 : os/unix/unixd.c line=281 column=58 arg2))) { |
| 314 | max = : pass=0 = atol : enter=0, leave=0 atol : /usr/include/stdlib.h line=151 column=17 atol(str : os/unix/unixd.c line=284 column=11 str); |
| 315 | |
| 316 | |
| 317 | |
| 318 | if (geteuid : enter=0, leave=0 geteuid : /usr/include/unistd.h line=697 column=16 geteuid()) { |
| 319 | limit-> : enter=0, leave=0 ->rlim_cur : /usr/include/bits/resource.h line=138 column=12 rlim_cur = : enter=0, leave=0 = cur : os/unix/unixd.c line=287 column=12 cur; |
| 320 | if (max : os/unix/unixd.c line=288 column=12 max) { |
| 321 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ERR, 0, cmd : os/unix/unixd.c line=280 column=46 cmd-> : enter=0, leave=0 ->server : include/http_config.h line=296 column=17 server, |
| 322 | cmd-> : enter=0, leave=0 ->cmd : include/http_config.h line=305 column=24 cmd-> : enter=0, leave=0 ->name : include/http_config.h line=204 column=17 name); |
| 323 | |
| 324 | |
| 325 | |
| 326 | if (cur : os/unix/unixd.c line=287 column=12 cur) { |
| 327 | limit-> : enter=0, leave=0 ->rlim_cur : /usr/include/bits/resource.h line=138 column=12 rlim_cur = : enter=0, leave=0 = cur : os/unix/unixd.c line=287 column=12 cur; |
| 328 | |
| 329 | if (max : os/unix/unixd.c line=288 column=12 max) { |
| 330 | limit-> : enter=0, leave=0 ->rlim_max : /usr/include/bits/resource.h line=140 column=12 rlim_max = : enter=0, leave=0 = max : os/unix/unixd.c line=288 column=12 max; |
| 331 | |
| 332 | |
| 333 | |
| 334 | |
| 335 | |
| 336 | |
| 337 | |
| 338 | |
| 339 | |
| 340 | |
| 341 | |
| 342 | |
| 343 | |
| 344 | |
| 345 | r), NULL) |
| 346 | |
| 347 | ap_unix_create_privileged_process( |
| 348 | |
| 349 | |
| 350 | |
| 351 | |
| 352 | |
| 353 | |
| 354 | |
| 355 | |
| 356 | |
| 357 | |
| 358 | |
| 359 | |
| 360 | if (! : true=0, false=0 !unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.suexec_enabled : os/unix/unixd.h line=74 column=9 suexec_enabled) { |
| 361 | return apr_proc_create : enter=0, leave=0 apr_proc_create : /usr/include/apr-1/apr_thread_proc.h line=608 column=27 apr_proc_create(newproc : os/unix/unixd.c line=348 column=43 newproc, progname : os/unix/unixd.c line=348 column=64 progname, args : os/unix/unixd.c line=349 column=51 args, env : os/unix/unixd.c line=350 column=51 env, attr : os/unix/unixd.c line=351 column=47 attr, p : os/unix/unixd.c line=352 column=43 p); |
| 362 | |
| 363 | |
| 364 | argv0 = : pass=0 = ap_strrchr_c(progname : os/unix/unixd.c line=348 column=64 progname, '/'); |
| 365 | |
| 366 | if (argv0 : os/unix/unixd.c line=358 column=17 argv0 != : true=0, false=0 != NULL) { |
| 367 | argv0++ : pass=0 ++; |
| 368 | |
| 369 | |
| 370 | argv0 = : pass=0 = progname : os/unix/unixd.c line=348 column=64 progname; |
| 371 | |
| 372 | |
| 373 | |
| 374 | if (ugid : os/unix/unixd.c line=351 column=73 ugid-> : enter=0, leave=0 ->userdir : os/unix/unixd.h line=54 column=9 userdir) { |
| 375 | execuser = : pass=0 = apr_psprintf : enter=0, leave=0 apr_psprintf : /usr/include/apr-1/apr_strings.h line=170 column=28 apr_psprintf(p : os/unix/unixd.c line=352 column=43 p, "~%ld", (long) ugid : os/unix/unixd.c line=351 column=73 ugid-> : enter=0, leave=0 ->uid : os/unix/unixd.h line=52 column=11 uid); |
| 376 | |
| 377 | |
| 378 | execuser = : pass=0 = apr_psprintf : enter=0, leave=0 apr_psprintf : /usr/include/apr-1/apr_strings.h line=170 column=28 apr_psprintf(p : os/unix/unixd.c line=352 column=43 p, "%ld", (long) ugid : os/unix/unixd.c line=351 column=73 ugid-> : enter=0, leave=0 ->uid : os/unix/unixd.h line=52 column=11 uid); |
| 379 | |
| 380 | execgroup = : pass=0 = apr_psprintf : enter=0, leave=0 apr_psprintf : /usr/include/apr-1/apr_strings.h line=170 column=28 apr_psprintf(p : os/unix/unixd.c line=352 column=43 p, "%ld", (long) ugid : os/unix/unixd.c line=351 column=73 ugid-> : enter=0, leave=0 ->gid : os/unix/unixd.h line=53 column=11 gid); |
| 381 | |
| 382 | if (! : true=0, false=0 MC/DC independently affect : true=0, false=0 !execuser : os/unix/unixd.c line=357 column=11 execuser || : true=0, false=0 || ! : true=0, false=0 MC/DC independently affect : true=0, false=0 !execgroup : os/unix/unixd.c line=357 column=22 execgroup) { |
| 383 | return APR_ENOMEM; |
| 384 | |
| 385 | |
| 386 | i = : pass=0 = 0; |
| 387 | if (args : os/unix/unixd.c line=349 column=51 args) { |
| 388 | while (args : os/unix/unixd.c line=349 column=51 args[] : enter=0, leave=0 [i : os/unix/unixd.c line=354 column=9 i]) { |
| 389 | i++ : pass=0 ++; |
| 390 | |
| 391 | |
| 392 | |
| 393 | newargs = : pass=0 = apr_palloc : enter=0, leave=0 apr_palloc : /usr/include/apr-1/apr_pools.h line=419 column=21 apr_palloc(p : os/unix/unixd.c line=352 column=43 p, sizeof(char *) * : pass=0 * (i : os/unix/unixd.c line=354 column=9 i + : pass=0 + 4)); |
| 394 | newprogname = : pass=0 = SUEXEC_BIN; |
| 395 | newargs[0] = : enter=0, leave=0 = SUEXEC_BIN; |
| 396 | newargs[1] = : enter=0, leave=0 = execuser : os/unix/unixd.c line=357 column=11 execuser; |
| 397 | newargs[2] = : enter=0, leave=0 = execgroup : os/unix/unixd.c line=357 column=22 execgroup; |
| 398 | newargs[3] = : enter=0, leave=0 = apr_pstrdup : enter=0, leave=0 apr_pstrdup : /usr/include/apr-1/apr_strings.h line=95 column=21 apr_pstrdup(p : os/unix/unixd.c line=352 column=43 p, argv0 : os/unix/unixd.c line=358 column=17 argv0); |
| 399 | |
| 400 | |
| 401 | |
| 402 | |
| 403 | |
| 404 | |
| 405 | if(apr_procattr_cmdtype_set : enter=0, leave=0 apr_procattr_cmdtype_set : /usr/include/apr-1/apr_thread_proc.h line=491 column=27 apr_procattr_cmdtype_set(attr : os/unix/unixd.c line=351 column=47 attr, APR_PROGRAM : /usr/include/apr-1/apr_thread_proc.h line=47 column=5 APR_PROGRAM) != : true=0, false=0 != APR_SUCCESS) { |
| 406 | return APR_EGENERAL; |
| 407 | |
| 408 | |
| 409 | i = : pass=0 = 1; |
| 410 | |
| 411 | newargs[i : os/unix/unixd.c line=354 column=9 i + : pass=0 + 3] = : enter=0, leave=0 = args : os/unix/unixd.c line=349 column=51 args[] : enter=0, leave=0 [i : os/unix/unixd.c line=354 column=9 i]; |
| 412 | while (args : os/unix/unixd.c line=349 column=51 args[] : enter=0, leave=0 [i : os/unix/unixd.c line=354 column=9 i++ : pass=0 ++]); |
| 413 | |
| 414 | return apr_proc_create : enter=0, leave=0 apr_proc_create : /usr/include/apr-1/apr_thread_proc.h line=608 column=27 apr_proc_create(newproc : os/unix/unixd.c line=348 column=43 newproc, newprogname : os/unix/unixd.c line=356 column=11 newprogname, newargs : os/unix/unixd.c line=355 column=18 newargs, env : os/unix/unixd.c line=350 column=51 env, attr : os/unix/unixd.c line=351 column=47 attr, p : os/unix/unixd.c line=352 column=43 p); |
| 415 | |
| 416 | |
| 417 | ap_os_create_privileged_process( |
| 418 | |
| 419 | |
| 420 | |
| 421 | |
| 422 | |
| 423 | |
| 424 | ap_run_get_suexec_identity : os/unix/ r); |
| 425 | |
| 426 | if (ugid : os/unix/unixd.c line=424 column=25 ugid == : true=0, false=0 == NULL) { |
| 427 | return apr_proc_create : enter=0, leave=0 apr_proc_create : /usr/include/apr-1/apr_thread_proc.h line=608 column=27 apr_proc_create(newproc : os/unix/unixd.c line=419 column=17 newproc, progname : os/unix/unixd.c line=419 column=38 progname, args : os/unix/unixd.c line=420 column=25 args, env : os/unix/unixd.c line=421 column=25 env, attr : os/unix/unixd.c line=422 column=21 attr, p : os/unix/unixd.c line=422 column=39 p); |
| 428 | |
| 429 | |
| 430 | return ap_unix_create_privileged_process : enter=0, leave=0 ap_unix_create_privileged_process : os/unix/unixd.c line=347 column=21 ap_unix_create_privileged_process(newproc : os/unix/unixd.c line=419 column=17 newproc, progname : os/unix/unixd.c line=419 column=38 progname, args : os/unix/unixd.c line=420 column=25 args, env : os/unix/unixd.c line=421 column=25 env, |
| 431 | attr, ugid : os/unix/unixd.c line=424 column=25 ugid, p : os/unix/unixd.c line=422 column=39 p); |
| 432 | |
| 433 | |
| 434 | |
| 435 | proc_mutex_mech(apr_proc_mutex_t *pmutex) |
| 436 | |
| 437 | apr_proc_mutex_name : /usr/include/apr-1/apr_proc_mutex.h line=147 column=27 apr_proc_mutex_name(pmutex : os/unix/unixd.c line=435 column=57 pmutex); |
| 438 | |
| 439 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(mechname : os/unix/unixd.c line=437 column=17 mechname, "sysvsem")) { |
| 440 | return APR_LOCK_SYSVSEM : /usr/include/apr-1/apr_proc_mutex.h line=47 column=5 APR_LOCK_SYSVSEM; |
| 441 | |
| 442 | if (! : true=0, false=0 !strcmp : enter=0, leave=0 strcmp : /usr/include/string.h line=143 column=12 strcmp(mechname : os/unix/unixd.c line=437 column=17 mechname, "flock")) { |
| 443 | return APR_LOCK_FLOCK : /usr/include/apr-1/apr_proc_mutex.h line=46 column=5 APR_LOCK_FLOCK; |
| 444 | |
| 445 | return APR_LOCK_DEFAULT : /usr/include/apr-1/apr_proc_mutex.h line=50 column=5 APR_LOCK_DEFAULT; |
| 446 | |
| 447 | |
| 448 | unixd_set_proc_mutex_perms(apr_proc_mutex_t *pmutex) |
| 449 | |
| 450 | if (! : true=0, false=0 !geteuid : enter=0, leave=0 geteuid : /usr/include/unistd.h line=697 column=16 geteuid()) { |
| 451 | proc_mutex_mech : os/unix/unixd.c line=435 column=23 proc_mutex_mech(pmutex : os/unix/unixd.c line=448 column=71 pmutex); |
| 452 | |
| 453 | switch(mech : os/unix/unixd.c line=451 column=24 mech) { |
| 454 | |
| 455 | case APR_LOCK_SYSVSEM: |
| 456 | |
| 457 | |
| 458 | |
| 459 | |
| 460 | |
| 461 | |
| 462 | |
| 463 | |
| 464 | |
| 465 | |
| 466 | |
| 467 | |
| 468 | apr_os_proc_mutex_get : /usr/include/apr-1/apr_portable.h line=248 column=27 apr_os_proc_mutex_get(&ospmutex : os/unix/unixd.c line=457 column=33 ospmutex, pmutex : os/unix/unixd.c line=448 column=71 pmutex); |
| 469 | buf.sem_perm : /usr/include/bits/sem.h line=41 column=19 sem_perm.uid : /usr/include/bits/ipc.h line=46 column=13 uid = : pass=0 = unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.user_id : os/unix/unixd.h line=72 column=11 user_id; |
| 470 | buf.sem_perm : /usr/include/bits/sem.h line=41 column=19 sem_perm.gid : /usr/include/bits/ipc.h line=47 column=13 gid = : pass=0 = unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.group_id : os/unix/unixd.h line=73 column=11 group_id; |
| 471 | buf.sem_perm : /usr/include/bits/sem.h line=41 column=19 sem_perm.mode : /usr/include/bits/ipc.h line=50 column=24 mode = : pass=0 = 0600; |
| 472 | ick.buf : os/unix/unixd.c line=461 column=34 buf = : pass=0 = &buf : os/unix/unixd.c line=466 column=29 buf; |
| 473 | if (semctl : enter=0, leave=0 semctl : /usr/include/sys/sem.h line=53 column=12 semctl(ospmutex : os/unix/unixd.c line=457 column=33 ospmutex.crossproc : /usr/include/apr-1/apr_portable.h line=130 column=9 crossproc, 0, IPC_SET, ick : os/unix/unixd.c line=465 column=25 ick) < : true=0, false=0 < 0) { |
| 474 | return errno; |
| 475 | |
| 476 | |
| 477 | break; |
| 478 | |
| 479 | |
| 480 | case APR_LOCK_FLOCK: |
| 481 | |
| 482 | apr_proc_mutex_lockfile : /usr/include/apr-1/apr_proc_mutex.h line=140 column=27 apr_proc_mutex_lockfile(pmutex : os/unix/unixd.c line=448 column=71 pmutex); |
| 483 | |
| 484 | if (lockfile : os/unix/unixd.c line=482 column=25 lockfile) { |
| 485 | if (chown : enter=0, leave=0 chown : /usr/include/unistd.h line=470 column=12 chown(lockfile : os/unix/unixd.c line=482 column=25 lockfile, unixd_config : os/unix/unixd.c line=54 column=18 unixd_config.user_id : os/unix/unixd.h line=72 column=11 user_id, |
| 486 | < 0) { |
| 487 | return errno; |
| 488 | |
| 489 | |
| 490 | |
| 491 | break; |
| 492 | |
| 493 | default: |
| 494 | |
| 495 | break; |
| 496 | |
| 497 | |
| 498 | return APR_SUCCESS; |
| 499 | |
| 500 | |
| 501 | unixd_set_global_mutex_perms(apr_global_mutex_t *gmutex) |
| 502 | |
| 503 | |
| 504 | |
| 505 | apr_os_global_mutex_get : /usr/include/apr-1/apr_portable.h line=212 column=27 apr_os_global_mutex_get(&osgmutex : os/unix/unixd.c line=504 column=27 osgmutex, gmutex : os/unix/unixd.c line=501 column=75 gmutex); |
| 506 | return unixd_set_proc_mutex_perms : enter=0, leave=0 unixd_set_proc_mutex_perms : os/unix/unixd.c line=448 column=26 unixd_set_proc_mutex_perms(osgmutex : os/unix/unixd.c line=504 column=27 osgmutex.proc_mutex : /usr/include/apr-1/apr_portable.h line=205 column=27 proc_mutex); |
| 507 | |
| 508 | |
| 509 | |
| 510 | |
| 511 | |
| 512 | |
| 513 | unixd_accept(void **accepted, ap_listen_rec *lr, |
| 514 | |
| 515 | |
| 516 | |
| 517 | |
| 518 | |
| 519 | |
| 520 | |
| 521 | |
| 522 | accepted = : enter=0, leave=0 = NULL; |
| 523 | status = : pass=0 = apr_socket_accept : enter=0, leave=0 apr_socket_accept : /usr/include/apr-1/apr_network_io.h line=337 column=27 apr_socket_accept(&csd : os/unix/unixd.c line=516 column=19 csd, lr : os/unix/unixd.c line=513 column=71 lr-> : enter=0, leave=0 ->sd : include/ap_listen.h line=54 column=19 sd, ptrans : os/unix/unixd.c line=514 column=53 ptrans); |
| 524 | if (status : os/unix/unixd.c line=517 column=18 status == : true=0, false=0 == APR_SUCCESS) { |
| 525 | accepted = : enter=0, leave=0 = csd : os/unix/unixd.c line=516 column=19 csd; |
| 526 | |
| 527 | |
| 528 | |
| 529 | |
| 530 | |
| 531 | |
| 532 | |
| 533 | |
| 534 | |
| 535 | |
| 536 | |
| 537 | |
| 538 | return APR_SUCCESS; |
| 539 | |
| 540 | |
| 541 | if (APR_STATUS_IS_EINTR(status : os/unix/unixd.c line=517 column=18 status)) { |
| 542 | return status : os/unix/unixd.c line=517 column=18 status; |
| 543 | |
| 544 | |
| 545 | |
| 546 | |
| 547 | |
| 548 | |
| 549 | |
| 550 | |
| 551 | |
| 552 | |
| 553 | |
| 554 | switch (status : os/unix/unixd.c line=517 column=18 status) { |
| 555 | |
| 556 | |
| 557 | |
| 558 | |
| 559 | |
| 560 | |
| 561 | |
| 562 | |
| 563 | |
| 564 | |
| 565 | |
| 566 | |
| 567 | |
| 568 | |
| 569 | |
| 570 | |
| 571 | |
| 572 | |
| 573 | |
| 574 | |
| 575 | |
| 576 | |
| 577 | |
| 578 | |
| 579 | |
| 580 | |
| 581 | case EPROTO: |
| 582 | |
| 583 | |
| 584 | case ECONNABORTED: |
| 585 | |
| 586 | |
| 587 | |
| 588 | |
| 589 | |
| 590 | |
| 591 | |
| 592 | |
| 593 | |
| 594 | |
| 595 | case ECONNRESET: |
| 596 | |
| 597 | |
| 598 | case ETIMEDOUT: |
| 599 | |
| 600 | |
| 601 | case EHOSTUNREACH: |
| 602 | |
| 603 | |
| 604 | case ENETUNREACH: |
| 605 | |
| 606 | |
| 607 | |
| 608 | |
| 609 | |
| 610 | |
| 611 | |
| 612 | case EAGAIN: |
| 613 | |
| 614 | |
| 615 | |
| 616 | |
| 617 | |
| 618 | |
| 619 | break; |
| 620 | |
| 621 | case ENETDOWN: |
| 622 | |
| 623 | |
| 624 | |
| 625 | |
| 626 | |
| 627 | |
| 628 | |
| 629 | |
| 630 | |
| 631 | |
| 632 | |
| 633 | |
| 634 | |
| 635 | |
| 636 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_EMERG, status : os/unix/unixd.c line=517 column=18 status, ap_server_conf : server/mpm/prefork/mpm.h line=60 column=20 ap_server_conf, |
| 637 | |
| 638 | return APR_EGENERAL; |
| 639 | |
| 640 | |
| 641 | |
| 642 | |
| 643 | |
| 644 | |
| 645 | |
| 646 | |
| 647 | |
| 648 | |
| 649 | |
| 650 | |
| 651 | |
| 652 | default: |
| 653 | ap_log_error : include/http_log.h line=171 column=18 ap_log_error(APLOG_MARK, APLOG_ERR, status : os/unix/unixd.c line=517 column=18 status, ap_server_conf : server/mpm/prefork/mpm.h line=60 column=20 ap_server_conf, |
| 654 | |
| 655 | return APR_EGENERAL; |
| 656 | |
| 657 | |
| 658 | return status : os/unix/unixd.c line=517 column=18 status; |
| 659 | |
| 660 | |
| 661 | |
| 662 | |
| 663 | |
| 664 | |
| 665 | |
| 666 | |
| 667 | |
| 668 | |
| 669 | |
| 670 | |
| 671 | |
| 672 | |
| 673 | |
| 674 | |
| 675 | |
| 676 | |
| 677 | |
| 678 | |
| 679 | |
| 680 | |
| 681 | |
| 682 | |
| 683 | |
| 684 | |
| 685 | |
| 686 | |
| 687 | |
| 688 | |
| 689 | |
| 690 | |
| 691 | |
| 692 | |
| 693 | |
| 694 | |
| 695 | |
| 696 | |
| 697 | |
| 698 | |
| 699 | |
| 700 | |
| 701 | |
| 702 | |
| 703 | |
| 704 | |
| 705 | |
| 706 | |
| 707 | |
| 708 | |
| 709 | |
| 710 | |
| 711 | |
| 712 | |
| 713 | |
| 714 | |
| 715 | |
| 716 | |
| 717 | |
| 718 | |
| 719 | |
| 720 | |
| 721 | |
| 722 | |
| 723 | |
| 724 | |
| 725 | |
| 726 | |
| 727 | |
| 728 | |
| 729 | |
| 730 | |
| 731 | |
| 732 | |
| 733 | |
| 734 | |
| 735 | |
| 736 | |
| 737 | |
| 738 | |
| 739 | |
| 740 | |
| 741 | |
| 742 | |
| 743 | |
| 744 | |
| 745 | |
| 746 | |
| 747 | |
| 748 | |
| 749 | |
| 750 | |
| 751 | |
| 752 | |
| 753 | |
| 754 | |
| 755 | |
| 756 | |
| 757 | |
| 758 | |
| 759 | |
| 760 | |
| 761 | |
| 762 | |
| 763 | |
| 764 | |
| 765 | |
| 766 | |
| 767 | |
| 768 | |
| 769 | |
| 770 | |
| 771 | |
| 772 | |
| 773 | |
| 774 | |
| 775 | |
| 776 |