git: kern_proc - add kern.proc.cwd sysctl

Alex Hornung alexh at crater.dragonflybsd.org
Wed Dec 15 08:05:54 PST 2010


commit a45611c5bc78acc1239a8bd029bb261760a447af
Author: Alex Hornung <ahornung at gmail.com>
Date:   Wed Dec 15 11:38:25 2010 +0000

    kern_proc - add kern.proc.cwd sysctl
    
    * Add a kern.proc.cwd sysctl to be able to get the cwd of processes.
      Many terminal emulators need something this to set a window title.
      Right now, some simply don't work (konsole) and others (Terminal) use
      linprocfs.

Summary of changes:
 sys/kern/kern_proc.c |   45 +++++++++++++++++++++++++++++++++++++++++++++
 sys/sys/sysctl.h     |    1 +
 2 files changed, 46 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a45611c5bc78acc1239a8bd029bb261760a447af


-- 
DragonFly BSD source repository





More information about the Commits mailing list