diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2015-07-02 01:38:36 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2015-07-02 01:38:36 +0000 |
commit | 8fe11c7654c1620c34b16e8c4fe379ba645a4059 (patch) | |
tree | 48e3627331adefa52f6236a69d4d9de4c3c9dde3 | |
parent | e2e33c5fe099e255cacef2e8869aa965213f2533 (diff) |
mikeb@ suggested making it clear that srp_enter and srp_leave pairs
have to be called in the same context.
-rw-r--r-- | share/man/man9/srp_enter.9 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/share/man/man9/srp_enter.9 b/share/man/man9/srp_enter.9 index 604629a91f1..002d7a80fd1 100644 --- a/share/man/man9/srp_enter.9 +++ b/share/man/man9/srp_enter.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: srp_enter.9,v 1.1 2015/07/02 01:33:59 dlg Exp $ +.\" $OpenBSD: srp_enter.9,v 1.2 2015/07/02 01:38:35 dlg Exp $ .\" .\" Copyright (c) 2015 David Gwynne <dlg@openbsd.org> .\" @@ -151,6 +151,11 @@ can be called during autoconf, or from process context. and .Fn srp_leave can be called during autoconf, from process context, or from interrupt context. +Calling +.Fn srp_leave +from a different context to the preceding +.Fn srp_enter +call will lead to undefined behaviour. .Sh RETURN VALUES .Fn srp_enter and |