lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 12 Feb 2016 09:52:13 -0800
From:	Rudici Cazeao <rudici.cazeao@...epoint.com>
To:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>
Subject: Reinitiazling an arm machine without restarting the kernel or
 rebooting the machine


All,
I have the following arch machine defined as follows:
MACHINE_START(TRANSCEDE, "Transcede 2200/3300")
      /* Maintainer: Intel Corporation */
      .boot_params  = PHYS_OFFSET + 0x00000100,
      .map_io       = transcede_map_io,
      .init_irq     = transcede_init_irq,
      .timer        = &transcede_timer,
      .init_machine = transcede_init,
      .reserve      = transcede_reserve,
MACHINE_END

I would like to be reable to reinitialize the machine in the state that it was in when it had firt booted up whithout actually rebooting or restarting the kernel.

How can I go about this?


I was thinking about restarting from the following statement from init/main.c

setup_arch(&command_line);


Is this the right way to go?


Thanks,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ