[apparmor] [PATCH 2/4] libapparmor: Fix line wrapping of the aa_query_label(2) man

Tyler Hicks tyhicks at canonical.com
Fri Jan 8 16:51:36 UTC 2016


Doing manual line wraps resulted in an unreadable SYNOPSIS section.
Allow man to handle line wrapping the function prototypes itself.

Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
---
 libraries/libapparmor/doc/aa_query_label.pod | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/libraries/libapparmor/doc/aa_query_label.pod b/libraries/libapparmor/doc/aa_query_label.pod
index 86a21b1..7e58da1 100644
--- a/libraries/libapparmor/doc/aa_query_label.pod
+++ b/libraries/libapparmor/doc/aa_query_label.pod
@@ -32,23 +32,15 @@ aa_query_link_path, aa_query_link_path_len - query access permissions of a link
 
 B<#include E<lt>sys/apparmor.hE<gt>>
 
-B<int aa_query_label((uint32_t mask, char *query, size_t size,
-		int *allowed, int *audited);>
+B<int aa_query_label((uint32_t mask, char *query, size_t size, int *allowed, int *audited);>
 
-B<int aa_query_file_path((uint32_t mask, const char *label, size_t label_len,
-		const char *path, int *allowed, int *audited);>
+B<int aa_query_file_path((uint32_t mask, const char *label, size_t label_len, const char *path, int *allowed, int *audited);>
 
-B<int aa_query_file_path_len((uint32_t mask, const char *label,
-		size_t label_len, const char *path, size_t path_len,
-		int *allowed, int *audited);>
+B<int aa_query_file_path_len((uint32_t mask, const char *label, size_t label_len, const char *path, size_t path_len, int *allowed, int *audited);>
 
-B<int aa_query_link_path_len(const char *label, size_t label_len,
-			     const char *target, size_t target_len,
-			     const char *link, size_t link_len,
-			     int *allowed, int *audited);>
+B<int aa_query_link_path_len(const char *label, size_t label_len, const char *target, size_t target_len, const char *link, size_t link_len, int *allowed, int *audited);>
 
-B<int aa_query_link_path(const char *label, const char *target,
-			 const char *link, int *allowed, int *audited);>
+B<int aa_query_link_path(const char *label, const char *target, const char *link, int *allowed, int *audited);>
 
 
 Link with B<-lapparmor> when compiling.
-- 
2.5.0




More information about the AppArmor mailing list