start the system ...
starting /etc/init/devices.init.sh
starting /etc/init/system.init.sh
starting /etc/init/tmpfs.init.sh
starting /etc/init/cron.conf.sh
starting /etc/init/date.conf.sh
Fri Jun 18 16:00:00 UTC 2010
starting /etc/init/hotplugd.conf.sh
Launch the hotplug service...
------> family is 2 ,type is 1 ,protocol is 0
ipv4 inet_create : ------>
-------> sock_map_fd
starting /etc/init/mouse.conf.sh
reg_sig_handler : done sig 2
reg_sig_handler : done sig 15
reg_sig_handler : done sig 11
register SIGINT action fail
reg_sig_handler : done sig 6
SYSCALL_DEFINE3(socket, int, family, int, type, int, protocol)
{
.....
if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK))
return -EINVAL;
type &= SOCK_TYPE_MASK;
if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK))
flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK;
printk("\n ------> family is %d ,type is %d ,protocol is %d \n",family,type,protocol);
retval = sock_create(family, type, protocol, &sock);
if (retval < 0)
goto out;
retval = sock_map_fd(sock, flags & (O_CLOEXEC | O_NONBLOCK));
...
}
static int inet_create(struct net *net, struct socket *sock, int protocol,
int kern)
{
......
loading_module = 0;
int err;
printk("\n ipv4 inet_create : ------>\n");
if (unlikely(!inet_ehash_secret))
if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM)
build_ehash_secret();
sock->state = SS_UNCONNECTED;
....
}