上一页 1 2 3 4 5 6 ··· 18 下一页
摘要: 在strongswan中有一个INIT宏,实现方式如下: // Object allocation/initialization macro, using designated initializer.#define INIT(this, ...) { (this) = malloc(sizeof( 阅读全文
posted @ 2022-08-29 18:04 insistYuan 阅读(94) 评论(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 阅读(2937) 评论(0) 推荐(0) 编辑
摘要: ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 阅读全文
posted @ 2022-07-06 11:44 insistYuan 阅读(19) 评论(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 阅读(59) 评论(0) 推荐(0) 编辑
摘要: · 当我们在设备上使用源码编译程序后,在另一台设备上应用并gdb调试时,这时会提示找不到源码文件。 · 这是因为在另一台设备中没有源码文件,即使有源码文件,如果路径和在编译时的路径一致的情况下也是不行的。 · 此时我们只需将源码拷贝到另一台设备中,然后在gdb模式中设置新的路径:(gdb) set 阅读全文
posted @ 2022-03-28 15:08 insistYuan 阅读(3855) 评论(0) 推荐(0) 编辑
摘要: 使用接收方的公钥加密对称密钥 阅读全文
posted @ 2022-03-11 10:52 insistYuan 阅读(48) 评论(0) 推荐(0) 编辑
摘要: **首先使用摘要算法获得明文的散列值,然后使用非对称算法的私钥对散列值进行加密,得到的密文就是数字签名。** 阅读全文
posted @ 2022-03-10 15:27 insistYuan 阅读(80) 评论(0) 推荐(0) 编辑
摘要: vim + cscope vim + ctags 阅读全文
posted @ 2022-03-08 18:34 insistYuan 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 首先进入阿里官网:https://developer.aliyun.com/mirror/centos?spm=a2c6h.13651102.0.0.3e221b11AmH9v0 官网中给出了详细的配置流程,这里为了方便复制了一份: 1 配置方法 2 通知:CentOS 8操作系统版本结束了生命周期 阅读全文
posted @ 2022-03-07 17:30 insistYuan 阅读(4871) 评论(0) 推荐(0) 编辑
摘要: 使用U盘安装centos 8时,选择Install CentOS Linux 8,然后出现以下调试信息: 然后经过漫长的等待,出现以下调试信息: 提示:dracut是一个事件驱动initramfs架构。 有的地方说,使用 xfs_repair 修复,但是在我安装的时候,在/dev/mapper/目录 阅读全文
posted @ 2022-03-07 16:57 insistYuan 阅读(1341) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 18 下一页