All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: context_new(3): fix the return value description
@ 2012-12-04  2:33 Pádraig Brady
  2012-12-04 19:05 ` Eric Paris
  0 siblings, 1 reply; 3+ messages in thread
From: Pádraig Brady @ 2012-12-04  2:33 UTC (permalink / raw)
  To: SELinux; +Cc: Pádraig Brady

---
 libselinux/man/man3/context_new.3 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libselinux/man/man3/context_new.3 b/libselinux/man/man3/context_new.3
index 820f927..ca7140e 100644
--- a/libselinux/man/man3/context_new.3
+++ b/libselinux/man/man3/context_new.3
@@ -54,8 +54,8 @@ context_type_set, context_range_set, context_role_set, context_user_set
  Set a context component
 
 .SH "RETURN VALUE"
-On success, zero is returned. On failure, -1 is returned and errno is
-set appropriately.
+On failure, the context_*_set functions return non-zero, while other
+functions return zero or NULL.  errno is set appropriately.
 
 .SH "SEE ALSO"
 .BR selinux "(8)"
-- 
1.7.6.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-04 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-04  2:33 [PATCH] doc: context_new(3): fix the return value description Pádraig Brady
2012-12-04 19:05 ` Eric Paris
2012-12-04 20:04   ` Pádraig Brady

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.