Skip to content

Commit

Permalink
Address more reviewers' comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed Mar 26, 2020
1 parent 44a15be commit 35ec36e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rcl/include/rcl/graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ rcl_get_node_names(
* Thread-Safe | No
* Uses Atomics | No
* Lock-Free | Maybe [1]
* <i>[1] implementation may need to protect the data structure with a lock</i>
* <i>[1] RMW implementation in use may need to protect the data structure with a lock</i>
*
* \param[in] node the handle to the node being used to query the ROS graph
* \param[in] allocator used to control allocation and deallocation of names
Expand Down
5 changes: 3 additions & 2 deletions rcl/include/rcl/security.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ rcl_get_enforcement_policy(rmw_security_enforcement_policy_t * policy);
* However, this expansion can be overridden by setting the secure directory override environment
* (`ROS_SECURITY_DIRECTORY_OVERRIDE`) variable, allowing users to explicitly specify the exact secure
* root directory to be utilized.
* Such an override is useful for where the security context is non-deterministic before runtime,
* or when testing and using additional tools that may not otherwise be easily provisioned.
* Such an override is useful for applications where the security context is non-deterministic
* before runtime, or when testing and using additional tools that may not otherwise be easily
* provisioned.
*
* \param[in] name validated name (a single token)
* \param[in] allocator the allocator to use for allocation
Expand Down
6 changes: 3 additions & 3 deletions rcl/include/rcl/validate_security_context_name.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ rcl_validate_security_context_name(

/// Deterimine if a given security context name is valid.
/**
* This is an overload with an extra parameter for the length of security_context.
* \param[in] security_context The number of characters in security_context.
* \sa This is an overload of \ref rcl_validate_security_context_name with an extra parameter
* for the length of security_context.
*
* \sa rcl_validate_security_context(const char *, int *, size_t *)
* \param[in] security_context The number of characters in security_context.
*/
RCL_PUBLIC
RCL_WARN_UNUSED
Expand Down

0 comments on commit 35ec36e

Please sign in to comment.