This file is indexed.

/usr/include/kopenafs.h is in libopenafs-dev 1.6.20-2+deb9u2.

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
52
53
54
55
56
57
58
59
/*
 * Copyright 2000, International Business Machines Corporation and others.
 * All Rights Reserved.
 *
 * This software has been released under the terms of the IBM Public
 * License.  For details, see the LICENSE file in the top-level source
 * directory or online at http://www.openafs.org/dl/license10.html
 */

/*
 * This file defines the interface to the libkopenafs library, which provides
 * a reduced set of functions for compatibility with the Heimdal/KTH libkafs
 * library.  This interface and the corresponding library are the best way to
 * get a completely standalone setpag() function from OpenAFS (in the form of
 * the k_setpag() interface defined here).
 *
 * The calls here only work on systems with native AFS clients and *will not*
 * work through the NFS translator.
 */

#ifndef KOPENAFS_H
#define KOPENAFS_H 1

/* Get the VIOC* constants and struct ViceIoctl. */
#include <afs/vioc.h>

/*
 * Initialization function.  Returns true if AFS is available on the system
 * and false otherwise.  Should be called before any of the other functions,
 * and if it returns false, the other functions should not be called.
 */
int k_hasafs(void);

/*
 * Create a new PAG and put the current process in it.  Returns 0 on success,
 * non-zero on system call failure.  Equivalent to lsetpag().
 */
int k_setpag(void);

/*
 * Returns true if the current process is in a PAG and false if it is not or
 * if an error was encountered in determining whether it is in a PAG.
 */
int k_haspag(void);

/*
 * Remove the tokens in the current PAG.  Returns 0 on success, non-zero on
 * system call failure.
 */
int k_unlog(void);

/*
 * Perform an arbitrary pioctl system call with the specified arguments.
 * Returns 0 on success, non-zero on system call failure.  Equivalent to
 * lpioctl().
 */
int k_pioctl(char *path, int cmd, struct ViceIoctl *cmarg, int follow);

#endif /* KOPENAFS_H */