Trusted Solaris Developer's Guide

Running the Programs

The server process starts and waits for a client request.


phoenix% serverProgram phoenix
PID = 655

When the client process is started at Confidential, the printf statements in the client print the following. The sensitivity label of the server does not matter because it is a multilevel connection.


phoenix% clientProgram phoenix
Received Reply
Message = Staff Meeting at 1:00 pm, Rm 200

The server process prints the following after fulfilling the client request:


Request Received
child PID = 657
Requestor's SL = C
Attributes List (alloc_mask = 0x00000040, attr_mask = 0x00000040):
child: exiting

In the following example, the client process is instead started at Secret.


phoenix% clientProgram phoenix
Received Reply
Message = Manager Meeting at 10:00 am, Rm 303

The server process prints the following after fulfilling the client request:


Request Received
child PID = 661
Requestor's SL = S
Attributes List (alloc_mask = 0x00000040, attr_mask = 0x00000040):
child: exiting