From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754528AbZEQNNo (ORCPT ); Sun, 17 May 2009 09:13:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753154AbZEQNNf (ORCPT ); Sun, 17 May 2009 09:13:35 -0400 Received: from web23602.mail.ird.yahoo.com ([87.248.115.45]:23074 "HELO web23602.mail.ird.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752801AbZEQNNe convert rfc822-to-8bit (ORCPT ); Sun, 17 May 2009 09:13:34 -0400 X-Greylist: delayed 400 seconds by postgrey-1.27 at vger.kernel.org; Sun, 17 May 2009 09:13:33 EDT DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1aPIsMoAe74US9p7xWbecWocLdtFyojPvHE9P1DCW1Q4jrqiVV/COqjQHfL2SbkB820MiFetuRUp8Zpbe+7zvPztAkpReWuuna3Q0swRDkI+3SXPAgZcHM8rwq/t64Q0YzJ7YF6W7mZItuHIZ/rG1mvaqdufb7B5lK+1EILyWnA=; Message-ID: <861928.62033.qm@web23602.mail.ird.yahoo.com> X-YMail-OSG: _v4S9.8VM1lXh54ErqcGdZt2FE8BpT82B6uqQZ80vJKo0L.PIRiU3fnm6oyxz7_h0ulwQAjdQw0Zwaesc__LrMi5sZ78P5vart1bY12T9SQg5NRGRbWsKsZJPJ0XDBch7exEflXLZvt35aeO4sE3Lzf8hpfrhoz8Fz0PFAKflC1.tErJ8dSZV7EdWeMywgwySn0MnHhEXn.iNCD5WulRgztBO.gjWFuoWTd8aPMLfEeAAyUAtA2pPZDLIj8sf9W9jGbPZZ50M0qju9x_2jYews2QhEfkRYcwtRWMGsXvhSbzkSOE_A-- X-Mailer: YahooMailClassic/5.2.20 YahooMailWebService/0.7.289.10 Date: Sun, 17 May 2009 13:06:53 +0000 (GMT) From: Andrea Subject: super root shell/mode/api To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! I'm a C/C++ Open Source Software Developer / SysAdmin. Excuse my English, it's not my first language. First thank You for Linux, I'm using it since 1998! Some days ago I've lost some important data on a Linux machine, because of an out of memory and swap situation. When I was coding on c-64 and it crashes I pressed my Cartridge button and could save what I wanted, execute code and so on. Some may remember this old school times :) Now 20 years has passed and a web page can block my whole machine?!?!?!? 1989 c-64 higher data safety then 2009 Linux?!?!? I've read the OOM discussion and I know that it's not easy to find a perfect solution, but don't implementing any solution is the worst solution at all. I know there is an OOM handling, but the only thing that happened was the hard disk light flashing for more or less 30 minutes and I was forced to press the reset button and my data was lost :( I think it would be simply awesome to have a Linux Kernel mode similar to the c-64 cartridge concept. Maybe call it in honor to the c-64 'cartridge freeze mode' or so :) You hit a button combination and you enter in a Linux Kernel ncurses menu and/or shell and/or GUI, where you can for example: save processes, memory e.g. from 0x00000 - 0xFFFFF protected ssh/telnet access examine memory dumps hex editor assembler/disassembler statistics password protected area anti root-kit/virus tool (the 'cartridge freeze mode' can be loaded from protected memory or even protected media for this case) anti virus modules swap out processes that take too much memory all thinks you can do with SysRq Keys terminate processes search for graphics screen-shots backup hibernation core dumps top like screen virtual machines grep text in ascii, unicode continue everything: freeze and defreeze the shell could be accessible always without freezing everything, like a super root shell/mode/api you can load user executables/modules for this mode too That would rock! Please consider doing something similar! Thanks for reading! Regards Andrea Gedda