This file is indexed.

/usr/share/snmp/mib2c-data/generic-data-context.m2i is in libsnmp-base 5.7.2~dfsg-8.1ubuntu3.

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

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
40
41
42
43
44
45
46
47
48
49
50
51
#############################################################  -*- c -*-
## generic include for XXX. Do not use directly.
##
## $Id$
########################################################################
@if $m2c_mark_boundary == 1@
/** START code generated by $RCSfile$ $Revision$ */
@end@
########################################################################
##
/**********************************************************************/
/*
 * TODO:110:r: |-> Review ${context} data context structure.
 * This structure is used to represent the data for $context.
 */
##
@if "$m2c_data_context" eq "generated"@
/*
 * This structure contains storage for all the columns defined in the
 * $context.
 */
typedef struct ${context}_data_s {
    
@    foreach $node nonindex@
@        include m2c_setup_node.m2i@
        /*
         * $m2c_node_summary
         */
@        if $m2c_node_needlength == 0@
   $m2c_decl   $node;
@        else@
   $m2c_decl   $node[$m2c_node_maxlen];
size_t      ${node}_len; /* # of $m2c_decl elements, not bytes */
@        end@
    
@    end@ # foreach nonindex
} ${context}_data;
@elsif "$m2c_data_context" eq "unknown"@
    /*
     * update typedef to correct pointer type.
     * (or add @eval $@m2c_data_context = "TYPE"@ and regenerate code) */
typedef void ${context}_data;
@else@
typedef $m2c_data_context ${context}_data;
@end@

##
########################################################################
@if $m2c_mark_boundary == 1@
/** END code generated by $RCSfile$ $Revision$ */
@end@