Safe Haskell | Unsafe |
---|---|
Language | Haskell98 |
It provides functions which map read and write effects into security checks.
- create :: Less l l' => IO (d a) -> MAC l (Res l' (d a))
- writeup :: Less l l' => (d a -> IO ()) -> Res l' (d a) -> MAC l ()
- readdown :: Less l' l => (d a -> IO a) -> Res l' (d a) -> MAC l a
- fix :: l -> MAC l ()
- read_and_fix :: Less l l => (d a -> IO a) -> Res l (d a) -> MAC l a
- write_and_fix :: Less l' l' => (d a -> IO ()) -> Res l' (d a) -> MAC l' ()
- rw_read :: (Less l l', Less l' l) => (d a -> IO a) -> Res l' (d a) -> MAC l a
- rw_write :: (Less l l', Less l' l) => (d a -> IO ()) -> Res l' (d a) -> MAC l ()
Documentation
create :: Less l l' => IO (d a) -> MAC l (Res l' (d a)) Source #
It lifts functions which create resources into secure functions which create labeled resources
writeup :: Less l l' => (d a -> IO ()) -> Res l' (d a) -> MAC l () Source #
It lifts an IO
-action which writes into a data type d a
into a secure function which writes into a labeled resource
readdown :: Less l' l => (d a -> IO a) -> Res l' (d a) -> MAC l a Source #
It lifts an IO
-action which reads from a data type d a
into a secure function which reads from a labeled resource