Skip to content

Commit

Permalink
doc/flux_msg_handler_addvec(3): add security section
Browse files Browse the repository at this point in the history
Add note about the 'rolemask' member of struct flux_msg_handler_spec,
referring back to the SECTION section in flux_msg_handler_create(3).
  • Loading branch information
garlick committed Nov 9, 2017
1 parent af0369d commit 73a65bd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/man3/flux_msg_handler_addvec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ handler, all previously created message handlers in the array are destroyed
before an error is returned.
SECURITY
--------

The _rolemask_ member of _struct flux_msg_handler_spec_ is passed
to `flux_msg_handler_allow_rolemask()`. If only FLUX_ROLE_OWNER should
be allowed to send messages to the handler, set _rolemask_ to zero.

See the SECURITY section of `flux_msg_handler_create(3)` for a description
of message handler security.


RETURN VALUE
------------
Expand Down

0 comments on commit 73a65bd

Please sign in to comment.