看板 DFBSD_commit 關於我們 聯絡資訊
commit 4062d05031cc62ee99c09b38f96eb0af355179de Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Aug 13 20:25:43 2009 -0700 DEVFS - Fix xterm pty allocation, permanently fix pty permissions & ownership * Remove the hack that was put in place to support sshd and other remote terminal programs. * Add an override mechanic (SI_OVERRIDE) that allows the cdev to take over uid, gid, and perms management from the devfs_node. * Use the override mechanic in the pty code to formally set ownership and permissions for the pty/tty pair. Summary of changes: sys/kern/tty_pty.c | 26 ++++++++++++++++++++++-- sys/kern/vfs_helper.c | 15 -------------- sys/sys/conf.h | 6 ++-- sys/vfs/devfs/devfs_core.c | 4 ++- sys/vfs/devfs/devfs_vnops.c | 45 ++++++++++++++++++++++++++++++++++++------ 5 files changed, 67 insertions(+), 29 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4062d05031cc62ee99c09b38f96eb0af355179de -- DragonFly BSD source repository