This file is indexed.

/usr/lib/yaws/include/yaws_lock.hrl is in erlang-yaws 1.98-2.

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
-ifndef(_YAWS_LOCK).
-define(_YAWS_LOCK, true).

-define(LOCK_LIFETIME, 900). % lock lifetime in seconds: 15 minutes
-define(CLEANUP_INTERVAL, 60). % cleanup interval in seconds: 1 minute

-record(lock,{
            path=undefined,     % resource path
            id=undefined,       % uid
            owner=anonymous,    % lock owner if submitted
            depth=infinity,     % 0|infinity
            scope=exclusive,    % exclusive|shared
            type=write,         % write
            timeout=0,          % ?LOCK_LIFETIME or shorter
            timestamp=0         % erlang:now()
        }).

-endif.