Changeset 1735

Show
Ignore:
Timestamp:
05/04/07 10:13:02 (2 years ago)
Author:
zcutlip
Message:

removed:
old audit logs from incorrect policy

added:
audit log from framework policy
audit log from framework policy, running writer first, rather than reader
audit log from framework policy, with no access and no resource

updated README to reflect behavior of program as well as proper usage.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/testcases/cprogram/mqueues/README

    r724 r1735  
    1  
    2 writer.c creates a queue and then writes some text 
    3 provided by user.  Then program terminates leaving 
    4 queue in the memory. 
    5 reader.c starts and calls to create a new queue with 
    6 same ID.  Pointer to writer.c queue is returned, same 
    7 ID.  reader.c reads from that queue and ends. 
     1reader.c starts and calls to create a new queue with. 
     2  Pointer to writer.c queue is returned, same 
     3ID.  reader.c reads from that queue and ends, removing the queue. 
    84 
    95 
     6writer.c creates/opens a queue with same ID as with reader 
     7and then writes some text provided by user.  Then program  
     8terminates leaving queue in the memory. 
     9 
     10Both programs strcmp for "end" and and terminate. 
    1011 
    1112RECEIVER --> reader.c 
     
    1415USAGE 
    1516----- 
    16 [apatel@localhost mqueues]$ 
    17 [apatel@localhost mqueues]$ 
    18 [apatel@localhost mqueues]$ msg2 
    19 Enter some text: hello 
    20 Enter some text: how are things 
    21 Enter some text: crap 
    22 Enter some text: stop it now 
     17$./reader 
     18$./writer 
     19Enter some text: test 
    2320Enter some text: end 
    24 [apatel@localhost mqueues]$ msg1 
    25 You wrote: hello 
    26 You wrote: how are things 
    27 You wrote: crap 
    28 You wrote: stop it now 
    29 You wrote: end 
    30 [apatel@localhost mqueues]$ 
    3121 
    3222