[PATCH v2 8/9] procfs: improve permission checks on /proc/*/stack

2013-10-01 Thread Djalal Harouni
Permission checks need to happen during each system call. Therefore we need to convert the /proc/*/stack entry from a ONE node to a REG node. Doing this will make /proc/*/stack have its own file operations to implement appropriate checks and avoid breaking shared ONE file operations. The patch

[PATCH v2 8/9] procfs: improve permission checks on /proc/*/stack

2013-10-01 Thread Djalal Harouni
Permission checks need to happen during each system call. Therefore we need to convert the /proc/*/stack entry from a ONE node to a REG node. Doing this will make /proc/*/stack have its own file operations to implement appropriate checks and avoid breaking shared ONE file operations. The patch