kern_proc - add kern.proc.cwd sysctl
authorAlex Hornung <ahornung@gmail.com>
Wed, 15 Dec 2010 11:38:25 +0000 (11:38 +0000)
committerAlex Hornung <ahornung@gmail.com>
Wed, 15 Dec 2010 14:50:47 +0000 (14:50 +0000)
commita45611c5bc78acc1239a8bd029bb261760a447af
tree9aede16d3df255b90d6de70138faa72f448884fd
parent1829249684897ef688f77783e93fcfa18adb7e37
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.
sys/kern/kern_proc.c
sys/sys/sysctl.h