This file is indexed.

/usr/include/zorp/cap.h is in libzorpll-dev 3.9.1.3-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
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
/***************************************************************************
 *
 * This file is covered by a dual licence. You can choose whether you
 * want to use it according to the terms of the GNU GPL version 2, or
 * under the terms of Zorp Professional Firewall System EULA located
 * on the Zorp installation CD.
 *
 * $Id: cap.h,v 1.6 2003/09/10 11:46:58 bazsi Exp $
 *
 ***************************************************************************/

#ifndef ZORP_CAP_H_INCLUDED
#define ZORP_CAP_H_INCLUDED


#include <zorp/zorplib.h>

#ifdef __cplusplus
extern "C" {
#endif

#if ZORPLIB_ENABLE_CAPS

#if HAVE_SYS_CAPABILITY_H
#include <sys/capability.h>
#endif

extern const gchar *zorp_caps;

gboolean cap_modify(int capability, int onoff);
cap_t cap_save(void);
gboolean cap_restore(cap_t r);

#define cap_enable(cap) cap_modify(cap, TRUE)
#define cap_disable(cap) cap_modify(cap, FALSE)

#else

typedef int cap_t;

#define CAP_NET_ADMIN 0
#define CAP_NET_BIND_SERVICE 0

#define cap_save() 0
#define cap_restore(r)
#define cap_enable(cap)
#define cap_disable(cap)

#endif

#ifdef __cplusplus
}
#endif

#endif