


t6get_endpt_mask(3N)                         t6get_endpt_mask(3N)


NNAAMMEE
       t6get_endpt_mask,  t6set_endpt_mask,  t6get_endpt_default,
       t6set_endpt_default - get and set endpoint  mask,  or  get
       and set endpoint default attributes.

SSYYNNOOPPSSIISS
       cccc [ _f_l_a_g_s ...  ] _f_i_l_e ...  --lltt66
       ##iinncclluuddee <<ttssiixx//tt66aattttrrss..hh>>

       iinntt tt66ggeett__eennddpptt__mmaasskk((iinntt ffdd,, tt66mmaasskk__tt **mmaasskk))

       iinntt tt66sseett__eennddpptt__mmaasskk((iinntt ffdd,, tt66mmaasskk__tt mmaasskk))

       iinntt tt66ggeett__eennddpptt__ddeeffaauulltt((iinntt ffdd,, tt66mmaasskk__tt **mmaasskk,, tt66aattttrr__tt aattttrr__ppttrr))

       iinntt tt66sseett__eennddpptt__ddeeffaauulltt((iinntt ffdd,, tt66mmaasskk__tt mmaasskk,, ccoonnsstt tt66aattttrr__tt aattttrr__ppttrr))

DDEESSCCRRIIPPTTIIOONN
       The  security  extensions  on  the  communication endpoint
       include a set of default security attributes that  may  be
       applied to outgoing data and an attribute mask that desig-
       nates which  attributes  are  taken  from  the  endpoint's
       default  attributes and which are taken from the process's
       effective attributes.

       By default, data written to  an  endpoint  has  associated
       with  it the security attributes of the process that wrote
       the data.  However, a privileged process  may  change  the
       value  of the default attribute mask on an endpoint it had
       created, and the endpoint's default attributes.

       tt66ggeett__eennddpptt__mmaasskk allows a process to  obtain  the  current
       setting  of  the  default  attribute mask for the endpoint
       specified by ffdd.  The attribute mask is  returned  in  the
       parameter mmaasskk.

       tt66sseett__eennddpptt__mmaasskk allows a process to set the bit values of
       the default attribute mask for the endpoint  specified  by
       ffdd to the value specified by mmaasskk.  A bit value of 00 indi-
       cates the attribute is taken from the process's  effective
       attributes;  and  a  bit  value  of  11  indicates  the the
       attribute is taken from the endpoint's default attributes.

       tt66ggeett__eennddpptt__ddeeffaauulltt  allows  a  process to get the current
       setting of the default attributes of the  endpoint  speci-
       fied  by  ffdd.  mmaasskk indicates which attributes are present
       in  the  parameter  aattttrr__ppttrr.   To  access  aattttrr__ppttrr,  see
       tt66ggeett__aattttrr(3N).

       tt66sseett__eennddpptt__ddeeffaauulltt  allows  a  process to set the default
       attributes  of  the  endpoint  specified  by  ffdd  to   the
       attributes  specified  by  the  parameter  aattttrr__ppttrr.  mmaasskk
       indicates which attributes are present  in  the  parameter
       aattttrr__ppttrr.  To set up aattttrr__ppttrr, see tt66sseett__aattttrr(3N).



TSIX(RE) 1.1               12 Nov 1995                          1





t6get_endpt_mask(3N)                         t6get_endpt_mask(3N)


PPRRIIVVIILLEEGGEESS
       Only  a  process  with the appropriate override privileges
       can  change  the  endpoint's  attribute  mask  or  default
       attributes.   To change an endpoint's default attribute or
       its mask bit, a process must have the  override  privilege
       corresponding  to  the  attribute.  The override privilege
       required to specify a default attribute is  implementation
       specific.

RREETTUURRNN VVAALLUUEE
       On  successful completion these calls return 00.  If either
       call encounters an error, --11 is returned.

SSEEEE AALLSSOO
       lliibbtt66(3N), tt66sseennddttoo(3N), tt66sseett__aattttrr(3N)

NNOOTTEESS








































TSIX(RE) 1.1               12 Nov 1995                          2


