DragonFly commits List (threaded) for 2009-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DEVFS - Fix xterm pty allocation, permanently fix pty permissions & ownership
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]