Exploit database

GH-a7883118b07d6b016ba101c8b172f55f

alikarimi999/cve-2021-40346

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-40346

6 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files196
alikarimi999/cve-2021-40346Revision eb4156546a2c
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

haproxy/include/haproxy/mworker.h

Text · 1,131 bytes
/*
 * include/haproxy/mworker-t.h
 * Master Worker function prototypes.
 *
 * Copyright HAProxy Technologies 2019 - William Lallemand <[email protected]>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 *
 */

#ifndef _HAPROXY_MWORKER_H_
#define _HAPROXY_MWORKER_H_

#include <haproxy/mworker-t.h>
#include <haproxy/signal-t.h>

void mworker_proc_list_to_env();
int mworker_env_to_proc_list();


void mworker_block_signals();
void mworker_unblock_signals();

void mworker_broadcast_signal(struct sig_handler *sh);
void mworker_catch_sighup(struct sig_handler *sh);
void mworker_catch_sigterm(struct sig_handler *sh);
void mworker_catch_sigchld(struct sig_handler *sh);

void mworker_accept_wrapper(int fd);

void mworker_cleanlisteners();

int mworker_child_nb();

int mworker_ext_launch_all();

void mworker_kill_max_reloads(int sig);

void mworker_free_child(struct mworker_proc *);

#endif /* _HAPROXY_MWORKER_H_ */