Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libutil add some things to add next time we modify the f...



details:   https://anonhg.NetBSD.org/src/rev/a536b150aea1
branches:  trunk
changeset: 784042:a536b150aea1
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 15 22:42:14 2013 +0000

description:
add some things to add next time we modify the function

diffstat:

 lib/libutil/ttymsg.3 |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 2e16ed7a89b5 -r a536b150aea1 lib/libutil/ttymsg.3
--- a/lib/libutil/ttymsg.3      Tue Jan 15 22:37:04 2013 +0000
+++ b/lib/libutil/ttymsg.3      Tue Jan 15 22:42:14 2013 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index