<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* 
 * Copyright 2003,2016 IBM International Business Machines Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * 		 http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/* IBM_PROLOG_END_TAG */

/* @(#)41	1.5.4.9  src/htx/usr/lpp/htx/bin/hxssup/build_ipc.c, htx_sup, htxfedora 5/29/15 09:44:14 */

/*****************************************************************************/
/*                                                                           */
/* MODULE NAME    =    build_ipc.c                                           */
/* COMPONENT NAME =    hxssup (supervisor)                                   */
/* LPP NAME       =    HTX                                                   */
/*                                                                           */
/* DESCRIPTIVE NAME =  Build LINUX IPC structures for use by HTX system      */
/*                                                                           */
/* STATUS =            Release 1 Version 0                                   */
/*                                                                           */
/* FUNCTION =          Allocates and initializes LINUX IPC structures for HTX*/
/*                                                                           */
/* COMPILER OPTIONS =  -I/src/master/htx/common -g -Nn3000 -Nd4000 -Np1200   */
/*                     -Nt2000                                               */
/*                                                                           */
/*                                                                           */
/*****************************************************************************/


#include "hxssup.h"
#include <scr_info.h>

#ifdef	__HTX_LINUX__
#include "cfgclibdef.h"
#else
#include "cfgclibdef.h"
#endif

#include <sys/types.h>
#include <unistd.h>

/*
 * Define all other un-supported signals as SIGUNUSED
 */
#ifdef	__HTX_LINUX__
#define	SIGMAX	(SIGRTMAX)
#define	SIGEMT	(SIGSEGV)
#define	SIGSYS	(SIGUNUSED)<commit_msg>Fix SIGUNUSED as the signal is deprecated since glibc 2.26<commit_after>/* IBM_PROLOG_BEGIN_TAG */
/* 
 * Copyright 2003,2016 IBM International Business Machines Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * 		 http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/* IBM_PROLOG_END_TAG */

/* @(#)41	1.5.4.9  src/htx/usr/lpp/htx/bin/hxssup/build_ipc.c, htx_sup, htxfedora 5/29/15 09:44:14 */

/*****************************************************************************/
/*                                                                           */
/* MODULE NAME    =    build_ipc.c                                           */
/* COMPONENT NAME =    hxssup (supervisor)                                   */
/* LPP NAME       =    HTX                                                   */
/*                                                                           */
/* DESCRIPTIVE NAME =  Build LINUX IPC structures for use by HTX system      */
/*                                                                           */
/* STATUS =            Release 1 Version 0                                   */
/*                                                                           */
/* FUNCTION =          Allocates and initializes LINUX IPC structures for HTX*/
/*                                                                           */
/* COMPILER OPTIONS =  -I/src/master/htx/common -g -Nn3000 -Nd4000 -Np1200   */
/*                     -Nt2000                                               */
/*                                                                           */
/*                                                                           */
/*****************************************************************************/


#include "hxssup.h"
#include <scr_info.h>

#ifdef	__HTX_LINUX__
#include "cfgclibdef.h"
#else
#include "cfgclibdef.h"
#endif

#include <sys/types.h>
#include <unistd.h>

/*
 * Define all other un-supported signals as SIGUNUSED
 */

/* Defining SIGUNUSED if not, since deprecated with glibc >= 2.26*/
#ifndef SIGUNUSED
#define SIGUNUSED 31
#endif

#ifdef	__HTX_LINUX__
#define	SIGMAX	(SIGRTMAX)
#define	SIGEMT	(SIGSEGV)
#define	SIGSYS	(SIGUNUSED)
{'fraction_non_alphanumeric': 0.14222222222222222, 'fraction_numerical': 0.01971014492753623, 'mean_word_length': 1.2339231765213639, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 58, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2188095', 'n_tokens_mistral': 1299, 'n_tokens_neox': 1183, 'n_words': 367}