This file is indexed.

/usr/src/openswan-2.6.38/packaging/utils/errcheck is in openswan-modules-dkms 1:2.6.38-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 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
#! /bin/sh
# internal utility for testing kernel make output for errors
# Copyright (C) 1998, 1999  Henry Spencer.
# 
# 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.  See <http://www.fsf.org/copyleft/gpl.txt>.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.

# the errors.[och] stuff is for math emulation
# the HiSax nonsense is due to a Red Hat 5.2 botch
# RH7.2 "make dep" builds stuff in drivers/macintosh (!!) using <asm/init.h>
# Red Hat's 2.2.19 whines about function read_rx_long_length_errors in e100.c
# 2.4.18: 53c700.h:40:2: #error "Config.in must define either CONFIG_53C700_IO_MAPPED or CONFIG_53C700_MEM_MAPPED to use this scsi core."
oops="`sed -e 's/-Werror/-Weror/g' \
 	   -e 's/xfs_error/xfs_eror/g' \
	   -e '/errors*\.[och]/s/errors*\./eror./g' \
	   -e '/scsi_error/s//scsi_eror/' \
           -e '/KBUILD_BASENAME=errors/s/errors/eror/g' \
	   -e '/#error .HiSax: No cards configured/s/error/eror/' \
	   -e '/#error .<asm.init.h> should never be used/s/error/eror/' \
	   -e '/53c700.h:[0-9:]* #error "Config.in must define either CONFIG_53C700_IO_MAPPED or CONFIG_53C700_MEM_MAPPED to use this scsi core."/s/error/eror/' \
	   -e '/^e100.c: In function/s/length_errors/length_erors/' $* |
	egrep -i 'error|\*\*\*' | egrep -v ': warning:'`"
if test " $oops" != " "
then
	echo
	echo "***ERRORS DETECTED in $* (examine file for details):"
	echo "$oops"
	echo
	exit 1
else
	exit 0
fi