Messages in this thread | | | Date | Wed, 3 Aug 2005 08:18:42 +0200 (MEST) | From | Jan Engelhardt <> | Subject | Re: [PATCH 2.6.12.3] Deny chmod in /proc/<pid>/ |
| |
>This patch tries to fix the strange behaviour in /proc/<pid>/, >where it is currently possible for the owner of a process to >temporarily chmod the entries.
I am on 2.6.13-rc3-git5 and I do not see such behavior:
08:16 spectre:/proc/21345 # chown 1337 smaps 08:16 spectre:/proc/21345 # l -n smaps -r--r--r-- 1 25121 0 0 Aug 3 08:16 smaps 08:16 spectre:/proc/21345 #
>The patch does also trigger an EPERM when someone tries >to chown/chgrp an entry (which is currently silently ignored).
That's true. Though, chmod /proc/21345 correctly yielded EPERM.
>Please send comments, corrections and suggestions.
Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |