Exploit databaseDownload repository ZIP
GH-f103b497572b6405c32a7cd6514c0d99
zhqagp/php-7.2
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files55
zhqagp/php-7.2Revision 2139335c0281
- ↑..Parent directory
- events/
- fpm.c
- fpm.h
- fpm_arrays.h
- fpm_atomic.h
- fpm_children.c
- fpm_children.h
- fpm_cleanup.c
- fpm_cleanup.h
- fpm_clock.c
- fpm_clock.h
- fpm_conf.c
- fpm_conf.h
- fpm_config.h
- fpm_env.c
- fpm_env.h
- fpm_events.c
- fpm_events.h
- fpm_log.c
- fpm_log.h
- fpm_main.c
- fpm_php.c
- fpm_php.h
- fpm_php_trace.c
- fpm_php_trace.h
- fpm_process_ctl.c
- fpm_process_ctl.h
- fpm_request.c
- fpm_request.h
- fpm_scoreboard.c
- fpm_scoreboard.h
- fpm_shm.c
- fpm_shm.h
- fpm_signals.c
- fpm_signals.h
- fpm_sockets.c
- fpm_sockets.h
- fpm_status.c
- fpm_status.h
- fpm_stdio.c
- fpm_stdio.h
- fpm_str.h
- fpm_systemd.c
- fpm_systemd.h
- fpm_trace.c
- fpm_trace.h
- fpm_trace_mach.c
- fpm_trace_pread.c
- fpm_trace_ptrace.c
- fpm_unix.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
sapi/fpm/fpm/fpm_sockets.h
Text · 1,075 bytes /* $Id: fpm_sockets.h,v 1.12 2008/08/26 15:09:15 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
#ifndef FPM_MISC_H
#define FPM_MISC_H 1
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include <fcntl.h>
#include "fpm_worker_pool.h"
/*
On FreeBSD and OpenBSD, backlog negative values are truncated to SOMAXCONN
*/
#if (__FreeBSD__) || (__OpenBSD__)
#define FPM_BACKLOG_DEFAULT -1
#else
#define FPM_BACKLOG_DEFAULT 511
#endif
#define FPM_ENV_SOCKET_SET_MAX 256
#define FPM_ENV_SOCKET_SET_SIZE 128
enum fpm_address_domain fpm_sockets_domain_from_address(char *addr);
int fpm_sockets_init_main();
int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq);
int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen);
static inline int fd_set_blocked(int fd, int blocked) /* {{{ */
{
int flags = fcntl(fd, F_GETFL);
if (flags < 0) {
return -1;
}
if (blocked) {
flags &= ~O_NONBLOCK;
} else {
flags |= O_NONBLOCK;
}
return fcntl(fd, F_SETFL, flags);
}
/* }}} */
#endif