Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755001Ab3IJIaf (ORCPT ); Tue, 10 Sep 2013 04:30:35 -0400 Received: from trent.utfs.org ([94.185.90.103]:53608 "EHLO trent.utfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753898Ab3IJIad (ORCPT ); Tue, 10 Sep 2013 04:30:33 -0400 Date: Tue, 10 Sep 2013 01:30:28 -0700 (PDT) From: Christian Kujau To: "Eric W. Biederman" cc: LKML , Vasiliy Kulikov Subject: Re: proc hidepid=2 and SGID programs In-Reply-To: <87r4cybio2.fsf@xmission.com> Message-ID: References: <87r4cybio2.fsf@xmission.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AV-Checked: ClamAV using ClamSMTP (127.0.0.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1003 Lines: 30 On Sun, 8 Sep 2013 at 23:42, Eric W. Biederman wrote: > I don't have a clue why anyone would want to hide processes, and make > their own lives more difficult. Oh, there are plenty of usescases, I'm sure. And I for one am thankful that this process hiding option made it into the kernel. Or, to answer in another way: why would anyone want to see other peoples processes? > The check with hidepid is can you ptrace the process. I expect there > is something with those sgid processes that keeps you from ptracing > them. Indeed, I cannot strace the process. But still, I wonder if this is intended behaviour. > Of course if you don't like the silly behavior you can always disable > it. :-) C. -- BOFH excuse #412: Radial Telemetry Infiltration -- 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/