From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CVuRG-0006cn-NN for user-mode-linux-devel@lists.sourceforge.net; Sun, 21 Nov 2004 08:19:46 -0800 Received: from cyphermail.sandelman.ottawa.on.ca ([205.150.200.161] helo=noxmail.sandelman.ottawa.on.ca) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1CVuQM-0002Dq-MM for user-mode-linux-devel@lists.sourceforge.net; Sun, 21 Nov 2004 08:19:46 -0800 Subject: Re: [uml-devel] mm->dumpable issue (was: Re: /proc/mm patches) In-Reply-To: Message from Blaisorblade of "Wed, 03 Nov 2004 17:18:54 +0100." <200411031718.54774.blaisorblade_spam@yahoo.it> References: <200410221929.07592.blaisorblade_spam@yahoo.it> <6343.1099436425@marajade.sandelman.ottawa.on.ca> <200411031718.54774.blaisorblade_spam@yahoo.it> Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Message-ID: <6425.1100980683@marajade.sandelman.ottawa.on.ca> From: Michael Richardson Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat, 20 Nov 2004 14:58:03 -0500 To: Blaisorblade Cc: user-mode-linux-devel@lists.sourceforge.net, ken@xelerance.com -----BEGIN PGP SIGNED MESSAGE----- Paolo, I applied the fix-dumpable-handling patch to 2.4.27, specifically the patch to proc_mm.c. The ptrace.c patch didn't apply to 2.4.27, probably due to 2.4/2.6 differences, but I realized that this just fixed ptrace to be safe. %ps ax | grep linux 778 pts/1 S+ 0:02 /0i/sandboxes/pool/aggr/east/linux 780 pts/1 T+ 0:00 [linux] 785 pts/1 S+ 0:00 /0i/sandboxes/pool/aggr/east/linux 786 pts/1 S+ 0:00 /0i/sandboxes/pool/aggr/east/linux 787 pts/1 S+ 0:00 /0i/sandboxes/pool/aggr/east/linux gimli-[/0i/sandboxes/aggr] mcr 1011 %ls -l /proc/{778,780,785,786,787}/environ - -r-------- 1 mcr mcr 0 Nov 20 14:57 /proc/778/environ - -r-------- 1 mcr mcr 0 Nov 20 14:57 /proc/780/environ - -r-------- 1 mcr mcr 0 Nov 20 14:57 /proc/785/environ - -r-------- 1 mcr mcr 0 Nov 20 14:57 /proc/786/environ - -r-------- 1 mcr mcr 0 Nov 20 14:57 /proc/787/environ So, I think that this worked to fix the ownership. Whether or not it is safe, I can't say. But, at least, you know that it has a positive effect. ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[ ] mcr@xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[ ] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Finger me for keys iQCVAwUBQZ+hxYqHRg3pndX9AQE8dgP+MIs/BN8EB2z8G5pp7uDFUQE+4lk9jksa CraMfxGjvr9qnSJnu3R28qQj2b9CXVP5TV24ia1MBFSUMxID2nQYf74YvlYzNUgP LRctK2TXdfb36TR3zRYy3TuNn1Z45XkmzardrxRC/L82xjhlX9mxrm+YmOXm/7sH 4ojRK2rdbbo= =CGVF -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel