v= 0;
#if 0
(void) env_parse("ETH_IGN_PROTO", "x", 0, &v, 0x0000L, 0xFFFFL);
-#else
- printf("not calling env_parse for ETH_IGN_PROTO\n");
#endif
eth_ign_proto= htons((u16_t) v);
if (!env_prefix(envvar, "pci"))
env_panic(envvar);
}
-#else
- printf("FXP: not calling getenv\n");
#endif
- printf("not calling env_parse\n");
v= 0;
#if 0
(void) env_parse(envvar, envfmt, 1, &v, 0, 255);
}
#else
i= 0;
- printf("not calling env_parse\n");
#endif
#if 0
return;
reseed_count++;
- printf("reseed: round %d, samples = %d\n", reseed_count, samples);
SHA256_Init(&ctx);
if (got_seeded)
SHA256_Update(&ctx, random_key, sizeof(random_key));
{
if ((reseed_count & (1UL << (i-1))) != 0)
break;
- printf("random_reseed: adding pool %d\n", i);
SHA256_Final(digest, &pool_ctx[i]);
SHA256_Update(&ctx, digest, sizeof(digest));
SHA256_Init(&pool_ctx[i]);
then
cat < $RANDOM_FILE >/dev/random
# overwrite $RANDOM_FILE. We don't want to use this data again
- dd if=/dev/random of=$RANDOM_FILE bs=1024 count=1
+ dd if=/dev/random of=$RANDOM_FILE bs=1024 count=1 2> /dev/null
fi
# Start servers and drivers set at the boot monitor.
if [ ! -f /CD ]
then daemonize cron
fi
+ echo .
if [ "$net" ]
then
. /etc/rc.net
else
# Standard network daemons.
+ echo -n "Starting networking:"
daemonize dhcpd
daemonize nonamed
daemonize talkd
rmp->mp_parent = PM_PROC_NR;
rmp->mp_flags |= IN_USE;
rmp->mp_nice = 0;
+ sigemptyset(&rmp->mp_ignore);
}
else { /* system process */
rmp->mp_pid = get_free_pid();
rmp->mp_parent = SM_PROC_NR;
rmp->mp_flags |= IN_USE | DONT_SWAP | PRIV_PROC;
+ sigfillset(&rmp->mp_ignore);
}
- sigemptyset(&rmp->mp_ignore);
sigemptyset(&rmp->mp_sigmask);
sigemptyset(&rmp->mp_catch);
sigemptyset(&rmp->mp_sig2mess);