/*
* In case console is off,
* panicstr contains argument to last
* call to panic.
*/
char *panicstr;
/*
* Panic is called on unresolvable
* fatal errors.
* It syncs, prints "panic: mesg" and
* then loops.
*/
panic(s)
char *s;
{
panicstr = s;
update();
printf("panic: %s\n", s);
for(;;)
idle();
static int __ref kernel_init(void *unused)
{
...
/*
* We try each of these until one succeeds.
*
* The Bourne shell can be used instead of init if we are
* trying to recover a really broken machine.
*/
if (execute_command) {
if (!run_init_process(execute_command))
return 0;
pr_err("Failed to execute %s. Attempting defaults...\n",
execute_command);
}
if (!run_init_process("/sbin/init") ||
!run_init_process("/etc/init") ||
!run_init_process("/bin/init") ||
!run_init_process("/bin/sh"))
return 0;
panic("No init found. Try passing init= option to kernel. "
"See Linux Documentation/init.txt for guidance.");
}
Place | Event | CTF points | Rating points | |
---|---|---|---|---|
728 | PlaidCTF 2018 | 1.0000 | 0.142 | |
15 | Timisoara CTF 2018 Quals | 2086.0000 | 13.436 | |
469 | WPICTF 2018 | 11.0000 | 0.104 |
Place | Event | CTF points | Rating points | |
---|---|---|---|---|
434 | The 318br, DESEC and SucuriHC Capture The Flag (3DSCTF) | 94.0000 | 0.099 |
Team social media button generator