kern_proc_cwd

  1. Mirko Cetkovic

    sysctl and KERN_PROC_CWD

    Hello, I need to obtain Current Working Directory for terminal. Specifically tmux needs that in order to get pane_current_path command. Current code in tmux uses sysctl with parameters : KERN_PROC and KERN_PROC_CWD. However, if you invoke this as non root user sysctl returns EPERM error for...
Back
Top