摘要: 语法 解析 The glob() function searches for all the pathnames matching pattern according to the rules used by the shell (see glob(7)). glob()用于搜索路径下所有匹配的文件 阅读全文
posted @ 2017-06-11 22:18 yuxi_o 阅读(1099) 评论(0) 推荐(0) 编辑
摘要: 语法 解析 正则表达式库函数主要分两部分,正则表达式编译和匹配。编译用于正则表达式提供格式(程序识别),匹配用于提供匹配位置便于提取。 regcomp() is used to compile a regular expression into a form that is suitable for 阅读全文
posted @ 2017-06-11 22:14 yuxi_o 阅读(740) 评论(0) 推荐(0) 编辑
摘要: OpenSSL 是一个安全套接字层密码库,囊括主要的密码算法、常用的密钥和证书封装管理功能及SSL协议,并提供丰富的应用程序供测试或其它目的使用。 OpenSSL is an open source project that provides a robust, commercial-grade, 阅读全文
posted @ 2017-06-11 22:04 yuxi_o 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 转自:调用Process.waitfor导致的进程挂起 最近遇到pipe_wait问题,父进程调用子进程时,子进程阻塞,cat /proc/$child/wchan输出pipe_wait,进程阻塞在pipe_wait不执行,转载文章对此问题分析很透彻。 问题背景 如果要在Java中调用shell脚本 阅读全文
posted @ 2017-06-11 21:48 yuxi_o 阅读(3716) 评论(0) 推荐(1) 编辑
摘要: trouSerS是IBM的一帮牛人搞的TSS软件栈,提供了与TPM交互的API,从而可以让我们方便地编写应用程序。 地址:https://sourceforge.net/projects/trousers/files/ 其提供了一套完整协议栈(芯片驱动除外),trousers -> tpm-tool 阅读全文
posted @ 2017-06-11 09:23 yuxi_o 阅读(1673) 评论(0) 推荐(0) 编辑