|
MagickCore 6.9.12
|
Go to the source code of this file.
Typedefs | |
| typedef struct _PolicyInfo | PolicyInfo |
Enumerations | |
| enum | PolicyDomain { UndefinedPolicyDomain , CoderPolicyDomain , DelegatePolicyDomain , FilterPolicyDomain , PathPolicyDomain , ResourcePolicyDomain , SystemPolicyDomain , CachePolicyDomain , ModulePolicyDomain } |
| enum | PolicyRights { UndefinedPolicyRights = 0x00 , NoPolicyRights = 0x00 , ReadPolicyRights = 0x01 , WritePolicyRights = 0x02 , ExecutePolicyRights = 0x04 , AllPolicyRights = 0xff } |
Functions | |
| MagickExport char * | GetPolicyValue (const char *name) |
| MagickExport char ** | GetPolicyList (const char *, size_t *, ExceptionInfo *) |
| MagickExport const PolicyInfo ** | GetPolicyInfoList (const char *, size_t *, ExceptionInfo *) |
| MagickExport MagickBooleanType | IsRightsAuthorized (const PolicyDomain, const PolicyRights, const char *) |
| MagickExport MagickBooleanType | ListPolicyInfo (FILE *, ExceptionInfo *) |
| MagickExport MagickBooleanType | PolicyComponentGenesis (void) |
| MagickExport MagickBooleanType | SetMagickSecurityPolicy (const char *, ExceptionInfo *) |
| MagickExport void | PolicyComponentTerminus (void) |
| typedef struct _PolicyInfo PolicyInfo |
| enum PolicyDomain |
| enum PolicyRights |
| MagickExport const PolicyInfo ** GetPolicyInfoList | ( | const char * | pattern, |
| size_t * | number_policies, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 362 of file policy.c.
References AcquireQuantumMemory(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetPolicyInfo(), GlobExpression(), IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _PolicyInfo::name, policy_cache, policy_semaphore, ResetLinkedListIterator(), _PolicyInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
Referenced by ListPolicyInfo().
| MagickExport char ** GetPolicyList | ( | const char * | pattern, |
| size_t * | number_policies, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 458 of file policy.c.
References AcquirePolicyString(), AcquireQuantumMemory(), GetMagickModule, GetNextValueInLinkedList(), GetNumberOfElementsInLinkedList(), GetPolicyInfo(), GlobExpression(), IsEventLogging(), LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, _PolicyInfo::name, policy_cache, policy_semaphore, ResetLinkedListIterator(), _PolicyInfo::stealth, TraceEvent, and UnlockSemaphoreInfo().
| MagickExport char * GetPolicyValue | ( | const char * | name | ) |
| MagickExport MagickBooleanType IsRightsAuthorized | ( | const | PolicyDomain, |
| const | PolicyRights, | ||
| const char * | |||
| ) |
| MagickExport MagickBooleanType ListPolicyInfo | ( | FILE * | , |
| ExceptionInfo * | |||
| ) |
| MagickExport MagickBooleanType PolicyComponentGenesis | ( | void | ) |
| MagickExport void PolicyComponentTerminus | ( | void | ) |
Definition at line 1058 of file policy.c.
References ActivateSemaphoreInfo(), DestroyLinkedList(), DestroyPolicyElement(), DestroySemaphoreInfo(), LockSemaphoreInfo(), policy_cache, policy_semaphore, and UnlockSemaphoreInfo().
Referenced by MagickCoreTerminus().
| MagickExport MagickBooleanType SetMagickSecurityPolicy | ( | const char * | policy, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 1095 of file policy.c.
References _PolicyInfo::domain, GetNextValueInLinkedList(), IsPolicyCacheInstantiated(), LoadPolicyCache(), LockSemaphoreInfo(), MagickFalse, policy_cache, policy_semaphore, ResetLinkedListIterator(), ResourceComponentGenesis(), UndefinedPolicyDomain, and UnlockSemaphoreInfo().