/*
* 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.");
}

Sign in to join the team.

Participated in CTF events

Overall rating place: 1096 with 13.683 pts in 2018

PlaceEventCTF pointsRating points
728PlaidCTF 20181.00000.143
15Timisoara CTF 2018 Quals2086.000013.436
469WPICTF 201811.00000.105

Overall rating place: 13419 with 0.099 pts in 2017

PlaceEventCTF pointsRating points
434 The 318br, DESEC and SucuriHC Capture The Flag (3DSCTF)94.00000.099

Team members