最早的时候是在程序初始化过程中开启了一个timer(timer_create),这个timer第一次触发的时间较短时就会引起程序core掉,core的位置也是不定的。使用valgrind可以发现有错误的内存写入:
==31676== Invalid write of size 8
==31676== at 0x37A540F852: _dl_allocate_tls_init (in /l...
分类:
其他好文 时间:
2014-10-08 00:01:44
阅读次数:
363
http://poj.org/problem?id=1273DescriptionEvery time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means tha...
分类:
其他好文 时间:
2014-10-07 19:09:23
阅读次数:
277
Problem Description
Jack and Jill play a game called "Leap Frog" in which they alternate turns jumping over each other. Both Jack and Jill can jump a maximum horizontal distance of 10 units in any ...
分类:
其他好文 时间:
2014-10-07 13:34:33
阅读次数:
152
本周,CloudFlare宣布,开始提供Keyless服务,即你把网站放到它们的CDN上,不用提供自己的私钥,也能使用SSL加密链接。 我看了CloudFlare的说明(这里和这里),突然意识到这是绝好的例子,可以用来说明SSL/TLS协议的运行机制。它配有插图,很容易看懂。 下面,我就用这些...
分类:
其他好文 时间:
2014-10-07 01:56:22
阅读次数:
253
TLS:TransportLayerSecurity,传输层安全协议MTLS:MutualTransportLayerSecurit,相互传输层安全协议OSI七层模型中网络层通过数据包的路由来进行数据包的转发,而作为网络层的上一层传输层则需要保证数据传输的完整性,同时也可以保证数据的安全性等。TLS:安全传输层协议(T..
分类:
其他好文 时间:
2014-10-05 03:51:08
阅读次数:
384
cd /file/dir && python -m SimpleHTTPServer 8080#用浏览器访问8080端口 over!
分类:
编程语言 时间:
2014-10-04 17:44:36
阅读次数:
184
Problem Description
Jack and Jill play a game called "Leap Frog" in which they alternate turns jumping over each other. Both Jack and Jill can jump a maximum horizontal distance of 10 units in any ...
分类:
其他好文 时间:
2014-10-03 00:03:23
阅读次数:
361
一、实验环境如下:rhel1:192.168.10.1ldap-serverrhel2:192.168.10.2ldap-client二、实验结果:1.rhel1上的两个用户client1与client2可以在rhel2上登录系统;2.client1与client2在rhel2上登录后都有自己的加目录;三、实验具体实施步骤:(1.)rhel1(ldap服务端)配置过程..
分类:
其他好文 时间:
2014-10-01 23:41:32
阅读次数:
511
public class MainActivity extends Activity implements OnClickListener {private Button bt_main_start;private Button bt_main_over;private EditText et_ma...
分类:
移动开发 时间:
2014-10-01 21:26:31
阅读次数:
197
大二刚开学,开始学习Java,结合假期里学到的一些知识,写了一个简单的程序。有点像之前很火的”别踩白块儿“,但是简单的多,暂时就把它叫做“静止的别踩白块儿”。【玩法】鼠标点击出现色块的地方,点对加10分,点错减100分,负分游戏结束。现在的不足和问题: 点击错误时,不能马上显示Game Over,必...
分类:
编程语言 时间:
2014-10-01 15:51:51
阅读次数:
261