secure_point

Gamma: Version 4.0
Prev |  | Next

# `secure_point`

`secure_point` -- alters the security level on a point.

## Syntax

    secure_point (symbol, security)

## Arguments

`symbol`

  The point to alter, as a symbol.

`security`

  The new security level for this point.

## Returns

t on success, or nil if an error occurred.

## Description

This function alters the security level on a point in the Cascade DataHub. If the current process security level is lower than the named point (`symbol`), then the function returns nil, otherwise it returns t. The initial security level for a process is 0.

## Example

        Gamma> init_ipc("spt","spq");
        t
        Gamma> secure_point(#d,5);
        nil
        Gamma> set_security(9);
        0
        Gamma> secure_point(#d,5);
        t
        Gamma> secure_point(#d,12);
        nil
        Gamma> set_security(15);
        9
        Gamma> secure_point(#d,12);
        t
        Gamma>

## See Also

`point_security`, `set_security`

Prev | Home | Next
`remove_exception_function` | Up | `set_domain`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.