Chinaunix首页 | 论坛 | 博客
  • 博客访问: 521536
  • 博文数量: 51
  • 博客积分: 345
  • 博客等级: 民兵
  • 技术积分: 534
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-21 12:02
个人简介

文章分类

全部博文(51)

文章存档

2023年(2)

2022年(1)

2021年(7)

2020年(10)

2019年(2)

2016年(20)

2015年(5)

2014年(1)

2011年(3)

我的朋友

发布时间:2016-08-22 15:41:40

源文件uloop.c uloop_init    创建epoll句柄,监听最大数目为32;并设置句柄FD_CLOEXEC属性;对描述符设置了FD_CLOEXEC,使用execl执行的程序里,此描述符被关闭,不能再使用它,但是在使用fork调用的子进程中,此描述符并不关闭,仍可使用。 uloop_process_add .........【阅读全文】

阅读(6086) | 评论(0) | 转发(0)

发布时间:2016-08-22 11:15:49

 1.         ulog_open调整日志级别;2.         getopt,参数解析, “h”对应的函数已经在init中执行过;3.         uloop_init4.     &nbs.........【阅读全文】

阅读(4609) | 评论(0) | 转发(0)

发布时间:2016-08-18 16:47:06

hostapd可以依赖多种加密库,若选用openssl,可能会遇到不支持CONFIG_EAP_FAST的问题,配置描述如下:     # EAP-FAST for the integrated EAP server# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed# for EAP-FAST support. Older OpenSSL release.........【阅读全文】

阅读(3073) | 评论(0) | 转发(0)

发布时间:2016-08-18 16:01:17

脚本内容如下:root@OpenWrt:/#   cat /etc/preinit #!/bin/sh# Copyright (C) 2006 OpenWrt.org# Copyright (C) 2010 Vertical Communications [ -z "$PREINIT" ] && exec /sbin/init.........【阅读全文】

阅读(3948) | 评论(0) | 转发(0)

发布时间:2016-08-18 11:35:23

boot启动完成后,进入内核:start_kernel-->rest_init-->kernel_init在此函数中会调用preinit脚本:              if (!try_to_run_init_process("/etc/preinit") ||      .........【阅读全文】

阅读(5011) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册