上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: 参考: https://www.runoob.com/linux/linux-comm-screen.html 阅读全文
posted @ 2022-11-11 14:16 insistYuan 阅读(53) 评论(0) 推荐(0)
摘要: # timedatectl set-timezone America/Tijuana Failed to set time zone: Access denied 看一下/etc/: # ls /etc -ald drwxr-xr-x 1 named named 4096 9月 30 04:47 / 阅读全文
posted @ 2022-09-16 15:52 insistYuan 阅读(1074) 评论(0) 推荐(0)
摘要: 在strongswan中有一个INIT宏,实现方式如下: // Object allocation/initialization macro, using designated initializer.#define INIT(this, ...) { (this) = malloc(sizeof( 阅读全文
posted @ 2022-08-29 18:04 insistYuan 阅读(160) 评论(0) 推荐(0)
摘要: 问题描述 在linux系统中加载模块时,insmod xxx.ko,报以下错误: insmod: ERROR: could not insert module xxx.ko: Invalid module format dmesg信息中提示:[ 194.712626] xxx: disagrees 阅读全文
posted @ 2022-07-14 18:13 insistYuan 阅读(3826) 评论(0) 推荐(0)
摘要: ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 阅读全文
posted @ 2022-07-06 11:44 insistYuan 阅读(30) 评论(0) 推荐(0)
摘要: const在C中修饰指针 比如: const char *a = "a"; char * const b = "b"; const char * const c = "c"; const在类型前,修饰的是内容;在变量名前,修饰的是指向。 例: a = "xxx"; √ *a = 'a'; × b = 阅读全文
posted @ 2022-06-27 18:33 insistYuan 阅读(80) 评论(0) 推荐(0)
摘要: · 当我们在设备上使用源码编译程序后,在另一台设备上应用并gdb调试时,这时会提示找不到源码文件。 · 这是因为在另一台设备中没有源码文件,即使有源码文件,如果路径和在编译时的路径一致的情况下也是不行的。 · 此时我们只需将源码拷贝到另一台设备中,然后在gdb模式中设置新的路径:(gdb) set 阅读全文
posted @ 2022-03-28 15:08 insistYuan 阅读(4686) 评论(0) 推荐(0)
摘要: 使用接收方的公钥加密对称密钥 阅读全文
posted @ 2022-03-11 10:52 insistYuan 阅读(90) 评论(0) 推荐(0)
摘要: **首先使用摘要算法获得明文的散列值,然后使用非对称算法的私钥对散列值进行加密,得到的密文就是数字签名。** 阅读全文
posted @ 2022-03-10 15:27 insistYuan 阅读(94) 评论(0) 推荐(0)
摘要: vim + cscope vim + ctags 阅读全文
posted @ 2022-03-08 18:34 insistYuan 阅读(49) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 19 下一页