27
|
1 |
// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
/**
|
|
17 |
@file
|
|
18 |
@internalComponent
|
|
19 |
*/
|
|
20 |
|
|
21 |
#ifndef FDCHCTLORIGINALPOLICY_H
|
|
22 |
#define FDCHCTLORIGINALPOLICY_H
|
|
23 |
|
|
24 |
#include <e32def.h>
|
|
25 |
#include <fdchctloriginalipc.h>
|
|
26 |
|
|
27 |
/** FDC HCTL Original Server Security Policy Definition */
|
|
28 |
const TUint KFdcHctlOriginalRangeCount = 2;
|
|
29 |
|
|
30 |
const TInt KFdcHctlOriginalRanges[KFdcHctlOriginalRangeCount] =
|
|
31 |
{
|
|
32 |
EFunctionRequestConnection, // ESock SID
|
|
33 |
ENumFdcHctlOriginalSrvFuncs, // not supported
|
|
34 |
};
|
|
35 |
|
|
36 |
/** Index numbers into KFdcHctlOriginalElements[] */
|
|
37 |
const TInt KPolicyEsockSid = 0;
|
|
38 |
|
|
39 |
/** Mapping IPCs to policy element */
|
|
40 |
const TUint8 KFdcHctlOriginalElementsIndex[KFdcHctlOriginalRangeCount] =
|
|
41 |
{
|
|
42 |
KPolicyEsockSid, // All (valid) APIs
|
|
43 |
CPolicyServer::ENotSupported // Undefined functions
|
|
44 |
};
|
|
45 |
|
|
46 |
/** Individual policy elements */
|
|
47 |
const CPolicyServer::TPolicyElement KFdcHctlOriginalElements[] =
|
|
48 |
{
|
|
49 |
{ _INIT_SECURITY_POLICY_S0(0x101f7989) },
|
|
50 |
};
|
|
51 |
|
|
52 |
/** Main policy */
|
|
53 |
const CPolicyServer::TPolicy KFdcHctlOriginalPolicy =
|
|
54 |
{
|
|
55 |
KPolicyEsockSid, // connection requirements
|
|
56 |
KFdcHctlOriginalRangeCount,
|
|
57 |
KFdcHctlOriginalRanges,
|
|
58 |
KFdcHctlOriginalElementsIndex,
|
|
59 |
KFdcHctlOriginalElements,
|
|
60 |
};
|
|
61 |
|
|
62 |
#endif // FDCHCTLORIGINALPOLICY_H
|