This file is indexed.

/usr/include/arc/security/ArcPDP/fn/InRangeFunction.h is in nordugrid-arc-dev 4.2.0-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
#ifndef __ARC_SEC_INRANGE_FUNCTION_H__
#define __ARC_SEC_INRANGE_FUNCTION_H__

#include <arc/security/ArcPDP/fn/Function.h>

namespace ArcSec {

#define IN_RANGE "-in-range"
#define NAME_STRING_IN_RANGE "string-in-range"
#define NAME_TIME_IN_RANGE "time-in-range"

class InRangeFunction : public Function {
public:
  InRangeFunction(std::string functionName, std::string argumentType);

public:
  virtual AttributeValue* evaluate(AttributeValue* arg0, AttributeValue* arg1, bool check_id = true);
  virtual std::list<AttributeValue*> evaluate(std::list<AttributeValue*> args, bool check_id = true);
   //help function specific for existing policy expression because of no exiplicit function defined in policy
  static std::string getFunctionName(std::string datatype);

private:
  std::string fnName;
  std::string argType;
};

} // namespace ArcSec

#endif /* __ARC_SEC_INRANGE_FUNCTION_H__ */