Re: [PATCH 2.6.12.3] Deny chmod in /proc/<pid>/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux