This file is indexed.

/usr/share/perl5/Archive/Cpio/Common.pm is in libarchive-cpio-perl 0.10-1.

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
package Archive::Cpio::Common;

use Archive::Cpio::FileHandle_with_pushback;

use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(padding write_or_die max begins_with);

sub magics() {
    {
        "070707" => 'ODC',
        "070701" => 'NewAscii',
        "\xC7\x71" => 'OldBinary', # swabbed 070707
        "\x71\xC7" => 'OldBinary', # 070707
    };
}

sub padding {
    my ($nb, $offset) = @_;

    my $align = $offset % $nb;
    $align ? $nb - $align : 0;
}

sub write_or_die {
    my ($F, $val) = @_;
    print $F $val or die "writing failed: $!\n";
}

sub max  { my $n = shift; $_ > $n and $n = $_ foreach @_; $n }
sub begins_with {
    my ($s, $prefix) = @_;
    index($s, $prefix) == 0;
}

1;