This file is indexed.

/usr/include/dmraid/locking.h is in libdmraid-dev 1.0.0.rc16-8ubuntu1.

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
/*
 * Copyright (C) 2004,2005  Heinz Mauelshagen, Red Hat GmbH.
 *                          All rights reserved.
 *
 * See file LICENSE at the top of this source tree for license information.
 */

#ifndef	_LOCKING_H
#define	_LOCKING_H

/* I want to be prepared for finer grained locking... */
struct resource {
	char *name;
};

/* Locking abstraction. */
struct lib_context;
struct locking {
	const char *name;
	int (*lock)(struct lib_context *lc, struct resource *res);
	void (*unlock)(struct lib_context *lc, struct resource *res);
	void *private; /* Private context. */
};

extern int init_locking(struct lib_context *lc);
extern int lock_resource(struct lib_context *lc, struct resource *res);
extern void unlock_resource(struct lib_context *lc, struct resource *res);

#endif