Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Add a method to set the vattr of the granted pty, so...



details:   https://anonhg.NetBSD.org/src/rev/1c19a404ba23
branches:  trunk
changeset: 571460:1c19a404ba23
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 24 22:18:35 2004 +0000

description:
Add a method to set the vattr of the granted pty, so that ptyfs can set it
to what it wants.

diffstat:

 sys/sys/pty.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 583c0c59912a -r 1c19a404ba23 sys/sys/pty.h
--- a/sys/sys/pty.h     Wed Nov 24 22:17:51 2004 +0000
+++ b/sys/sys/pty.h     Wed Nov 24 22:18:35 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pty.h,v 1.2 2004/11/11 13:45:39 christos Exp $ */
+/*     $NetBSD: pty.h,v 1.3 2004/11/24 22:18:35 christos Exp $ */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -54,6 +54,7 @@
        int (*allocvp)(struct ptm_pty *, struct proc *, struct vnode **, dev_t,
            char); 
        int (*makename)(struct ptm_pty *, char *, size_t, dev_t, char);
+       void (*getvattr)(struct ptm_pty *, struct proc *, struct vattr *);
        void *arg;
 };
 



Home | Main Index | Thread Index | Old Index