git: tty_pty - Use different dev_ops for unix98 ptys

Alex Hornung alexh at crater.dragonflybsd.org
Fri Sep 25 15:41:56 PDT 2009


commit 530c87491e4b4ad9279775916624508346e10831
Author: Alex Hornung <ahornung at gmail.com>
Date:   Fri Sep 25 22:45:55 2009 +0100

    tty_pty - Use different dev_ops for unix98 ptys
    
    * Use a different struct dev_ops for unix98 ptys, so a different major
      number is automatically allocated for them. This avoids maj/min collision
      between old-style bsd ptys and unix98 ptys.

Summary of changes:
 sys/kern/tty_pty.c |   28 ++++++++++++++++++++++++++--
 1 files changed, 26 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/530c87491e4b4ad9279775916624508346e10831


-- 
DragonFly BSD source repository





More information about the Commits mailing list