Module Name: src
Committed By: christos
Date: Tue Jan 15 22:42:14 UTC 2013
Modified Files:
src/lib/libutil: ttymsg.3
Log Message:
add some things to add next time we modify the function
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libutil/ttymsg.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libutil/ttymsg.3
diff -u src/lib/libutil/ttymsg.3:1.11 src/lib/libutil/ttymsg.3:1.12
--- src/lib/libutil/ttymsg.3:1.11 Wed Apr 30 09:10:52 2008
+++ src/lib/libutil/ttymsg.3 Tue Jan 15 17:42:14 2013
@@ -1,4 +1,4 @@
-.\" $NetBSD: ttymsg.3,v 1.11 2008/04/30 13:10:52 martin Exp $
+.\" $NetBSD: ttymsg.3,v 1.12 2013/01/15 22:42:14 christos Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd June 29, 1997
+.Dd January 15, 2013
.Dt TTYMSG 3
.Os
.Sh NAME
@@ -56,5 +56,13 @@ returns a pointer to an error string on
error; the string is not newline-terminated.
Various "normal" errors are
ignored (exclusive-use, lack of permission, etc.).
+.Sh BUGS
+.Nm
+could grow some flags and a username/uid who is the expected owner
+of the tty.
+If the flags say so then the owner should be checked against the tty
+owner, and the message should not be sent if there is a mismatch.
+Also another flag could say check against group writable, and don't
+send a message.
.Sh SEE ALSO
.Xr writev 2