git: DEVFS - Fix xterm pty allocation, permanently fix pty permi

看板DFBSD_commit作者時間16年前 (2009/08/14 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AXDgvAL (DFBSD_commit)