03 2021 档案

字符设备驱动 以及Makefile
摘要:#include <linux/module.h> // module_init module_exit #include <linux/init.h> // __init __exit #include <linux/cdev.h> #include <linux/fs.h> #define MY 阅读全文

posted @ 2021-03-31 23:50 lydstory 阅读(120) 评论(0) 推荐(0) 编辑

字符设备驱动
摘要:字符设备驱动 驱动不成功??? https://blog.csdn.net/weixin_42314225/article/details/81112217 阅读全文

posted @ 2021-03-31 23:41 lydstory 阅读(27) 评论(0) 推荐(0) 编辑

printkinfo(DBG_ERROR,"sw_package init failed\n");
摘要:printkinfo(DBG_ERROR,"sw_package init failed\n"); dmesg | tail 看到输出信息 阅读全文

posted @ 2021-03-31 21:50 lydstory 阅读(38) 评论(0) 推荐(0) 编辑

insmod: ERROR: could not insert module hello_kernel.ko: Invalid parameters
摘要:insmod: ERROR: could not insert module hello_kernel.ko: Invalid parameters 随时测试 insmod .ko 是否成功 阅读全文

posted @ 2021-03-31 21:09 lydstory 阅读(742) 评论(0) 推荐(0) 编辑

dmesg -c
摘要:dmesg | tail dmesg -c 信息清理 显示后清理 阅读全文

posted @ 2021-03-31 20:48 lydstory 阅读(213) 评论(0) 推荐(0) 编辑

内核符号表
摘要:内核符号表 阅读全文

posted @ 2021-03-31 19:54 lydstory 阅读(37) 评论(0) 推荐(0) 编辑

insmod: ERROR: could not insert module hello_kernel.ko: Unknown symbol in module
摘要:insmod: ERROR: could not insert module hello_kernel.ko: Unknown symbol in module 用命令查看内核中是否已有这个内核符号,例如要查看是否有var_set_integer这个内核符号,输入命令:#cat /proc/kall 阅读全文

posted @ 2021-03-31 19:30 lydstory 阅读(991) 评论(0) 推荐(0) 编辑

implicit declaration of function 警告解决方法
摘要:这个问题其实是很低级的问题,但是经常还是容易发生,翻译下就是函数的隐式说明 原因: 是因为函数没有在头文件(.h)定义,这就导致编译的时候没法正确生成.o文件 阅读全文

posted @ 2021-03-29 16:47 lydstory 阅读(2381) 评论(0) 推荐(0) 编辑

EXTRA_CFLAGS = -Wall -g -DTEST_KERNEL $(INCLUDE)
摘要:EXTRA_CFLAGS = -Wall -g -DTEST_KERNEL $(INCLUDE) 假如定义一个宏CONFIG_DEBUG在.c里面定义为:#define CONFIG_DEBUG在makefile里定义为: CONFIG_DEBUG=y假如说我们想在makefile里为.c文件进入一 阅读全文

posted @ 2021-03-29 15:14 lydstory 阅读(482) 评论(0) 推荐(0) 编辑

error: dereferencing pointer to incomplete type ‘struct task_struct’
摘要:/usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/uaccess.h:33:26: error: dereferencing pointer to incomplete type ‘struct task_struct’ #defi 阅读全文

posted @ 2021-03-29 10:30 lydstory 阅读(763) 评论(0) 推荐(0) 编辑

__kernel_loff_
摘要:typedef __kernel_loff_t loff_t;那么这个__kernel_loff_t 又是在哪儿定义的呢? __kernel_loff_t 阅读全文

posted @ 2021-03-29 09:56 lydstory 阅读(95) 评论(0) 推荐(0) 编辑

linux insmod lsmod rmmod modinfo
摘要:驱动操作命令: insmod / modprobe 加载驱动 rmmod 卸载驱动 lsmod 查看系统中所有已经被加载了的所有的模块以及模块间的依赖关系 modinfo 获得模块的信息 查看已经加载的驱动模块的信息: lsmod 能够显示驱动的大小以及被谁使用 cat /proc/modules 阅读全文

posted @ 2021-03-29 08:47 lydstory 阅读(137) 评论(0) 推荐(0) 编辑

linux 内核makefile
摘要:CURRENT = $(shell uname -r ) KERNEL_TARGET=hello_kernel MODULE_NAME :=$(KERNEL_TARGET) MODULE_SUF=.ko PWD:=$(shell pwd) OUTPUT=$(PWD)/ KDIR=/lib/modul 阅读全文

posted @ 2021-03-26 00:14 lydstory 阅读(40) 评论(0) 推荐(0) 编辑

#include <linux/list.h>
摘要:#include <linux/list.h> list_head 内核链表 阅读全文

posted @ 2021-03-26 00:00 lydstory 阅读(116) 评论(0) 推荐(0) 编辑

汤泰鼎
摘要:天融信 股东 vc编程 从代码中看人物 阅读全文

posted @ 2021-03-25 17:52 lydstory 阅读(35) 评论(0) 推荐(0) 编辑

VPP
摘要:VPP的一些用例包括交换机、路由器、网关、防火墙和负载平衡器等等。 阅读全文

posted @ 2021-03-25 17:26 lydstory 阅读(1006) 评论(0) 推荐(0) 编辑

无锡亚天广电
摘要:无锡亚天广电 周界安全 阅读全文

posted @ 2021-03-25 15:25 lydstory 阅读(14) 评论(0) 推荐(0) 编辑

linux 最简单内核模块
摘要:#include <linux/init.h> #include <linux/module.h> static int hello_init(void) { printk("Hello,world Insmod\n"); } static void hello_exit(void) { print 阅读全文

posted @ 2021-03-24 23:46 lydstory 阅读(39) 评论(0) 推荐(0) 编辑

Peripheral
摘要:Peripheral 外围设备 阅读全文

posted @ 2021-03-18 10:47 lydstory 阅读(88) 评论(0) 推荐(0) 编辑

C++:LZARI压缩解压缩算法
摘要:C++:LZARI压缩解压缩算法 阅读全文

posted @ 2021-03-16 16:57 lydstory 阅读(202) 评论(0) 推荐(0) 编辑

让我的思想清零
摘要:让我的思想清零,如何做到?多为外界的压迫变化。 很多事无法轻易的做到,主动不一定能改变。都是环境的变化导致心态的变化。 思想清零才可以完全的从零做起,在一家新的企业重新开始 “好马不吃回头早“,人生,永远不能往回走,看过去。而是往前走,努力自己的所向往的。 阅读全文

posted @ 2021-03-16 16:31 lydstory 阅读(58) 评论(0) 推荐(0) 编辑

char16_t输出
摘要:char16_t输出 阅读全文

posted @ 2021-03-16 11:47 lydstory 阅读(178) 评论(0) 推荐(0) 编辑

科学中的人性问题
摘要:科学中的人性问题 阅读全文

posted @ 2021-03-16 10:11 lydstory 阅读(27) 评论(0) 推荐(0) 编辑

序列化与反序列化
摘要:在TCP的连接上,它传输数据的基本形式就是二进制流,也就是一段一段的1和0。在一般编程语言或者网络框架提供的API中,传输数据的基本形式是字节,也就是Byte。一个字节就是8个二进制位,8个Bit,所以在这里,二进制流和字节流本质上是一样的。对于我们编写的程序来说,它需要通过网络传输的数据是结构化的 阅读全文

posted @ 2021-03-16 10:03 lydstory 阅读(189) 评论(0) 推荐(0) 编辑

.sdsf格式文件
摘要:自定义格式文件的方法 阅读全文

posted @ 2021-03-15 14:35 lydstory 阅读(55) 评论(0) 推荐(0) 编辑

软件的整体思想
摘要:整体:一个软件,产生价值 销售的软件 代码细节,其实到最后会是次要的了 高手的话 我深以为认同,但这个整体觉得是建立在代码抽象基础上的一种整体实现的能力,绝对不是产品经理、或者软件设计师设计的什么无一行代码的规划,而是软件的整体框架、结构、满足不断迭代需求、产生高度价值的而不是一般水平程序员写的业务 阅读全文

posted @ 2021-03-15 10:51 lydstory 阅读(78) 评论(0) 推荐(0) 编辑

openssl 实现tcpsocekt的sessionkey
摘要:openssl 实现tcpsocekt的sessionkey openssl 实现tcpsocekt的sessionkey openssl 实现tcpsocekt的sessionkey 阅读全文

posted @ 2021-03-15 09:27 lydstory 阅读(75) 评论(0) 推荐(0) 编辑

linux下静态连接库报elf重定位
摘要: 阅读全文

posted @ 2021-03-12 19:09 lydstory 阅读(76) 评论(0) 推荐(0) 编辑

openssl sm2
摘要:openssl sm2 openssl 支持 国密 sm2 阅读全文

posted @ 2021-03-12 18:48 lydstory 阅读(531) 评论(0) 推荐(0) 编辑

char16_t&u16string
摘要:在VS2015上,实验结果表明: (1)char16_t 一个char16_t只能保存2字节,所以只能用0000~ffff范围内的字符对其进行初始化或赋值,使用比0000 ffff大的编码,直接报错 二进制打印出char16_t的值,严格等于utf16编码,在这个范围内,也就是严格等于unicode 阅读全文

posted @ 2021-03-12 11:28 lydstory 阅读(855) 评论(0) 推荐(0) 编辑

QString toStdU16String
摘要:QString toStdU16String 5.8 5.9 是否没有? 阅读全文

posted @ 2021-03-12 11:20 lydstory 阅读(255) 评论(0) 推荐(0) 编辑

RSA 公钥密钥对
摘要:RSA 公钥密钥对 阅读全文

posted @ 2021-03-11 18:21 lydstory 阅读(45) 评论(0) 推荐(0) 编辑

真正的程序员
摘要: 阅读全文

posted @ 2021-03-11 18:01 lydstory 阅读(23) 评论(0) 推荐(0) 编辑

perl openssl编译
摘要:https://blog.csdn.net/u010333084/article/details/104985398 编译有问题 :b_dump.obj : error LNK2001: 无法解析的外部符号 OPENSSL_UplinkTable https://blog.csdn.net/lian 阅读全文

posted @ 2021-03-11 15:17 lydstory 阅读(480) 评论(0) 推荐(0) 编辑

IN OUT 修饰函数参数
摘要:#define OUT #define IN #define INOUT #define OPTIONALtypedef char* LPSTR;typedef char16_t* LPWSTR;typedef char16_t WCHAR;typedef const char* LPCSTR;ty 阅读全文

posted @ 2021-03-10 19:15 lydstory 阅读(72) 评论(0) 推荐(0) 编辑

openssl aes 加密buffer数据
摘要:openssl aes 加密buffer数据 阅读全文

posted @ 2021-03-10 19:08 lydstory 阅读(67) 评论(0) 推荐(0) 编辑

openssl 1.0 到1.1
摘要:查看 openssl 版本 阅读全文

posted @ 2021-03-10 11:02 lydstory 阅读(147) 评论(0) 推荐(0) 编辑

openssl evp库
摘要:EVP_ENCODE_CTX 阅读全文

posted @ 2021-03-09 22:57 lydstory 阅读(87) 评论(0) 推荐(0) 编辑

strncat
摘要:#include<stdio.h> #include<string.h> int main(void) { int n; char dest[20] = "Hello"; char src[10] = "World"; strncat(dest, src, 5);//n=5为src前n个字符 pri 阅读全文

posted @ 2021-03-09 22:45 lydstory 阅读(70) 评论(0) 推荐(0) 编辑

strncpy
摘要:#include<stdio.h> #include<string.h> int main(){ char name[]={"Chinanet"},destin[20]={}; strncpy(destin,name,3); printf("%s\n",destin); } Chi strncpy基 阅读全文

posted @ 2021-03-09 22:03 lydstory 阅读(255) 评论(0) 推荐(0) 编辑

typedef 基本类型
摘要:typedef unsigned int UINT32; typedef unsigned int DWORD; typedef unsigned short WORD ; typedef unsigned char BYTE; typedef unsigned char UCHAR; typede 阅读全文

posted @ 2021-03-09 21:53 lydstory 阅读(51) 评论(0) 推荐(0) 编辑

fcntl flock文件记录锁
摘要:fcntl flock #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> int FileUnLock(int fd_lock) { struct flo 阅读全文

posted @ 2021-03-09 21:23 lydstory 阅读(67) 评论(0) 推荐(0) 编辑

信息安全资质
摘要: 阅读全文

posted @ 2021-03-09 20:04 lydstory 阅读(26) 评论(0) 推荐(0) 编辑

中国信息安全测评中心
摘要:http://www.itsec.gov.cn/search/search?channelid=222615&searchword= 阅读全文

posted @ 2021-03-09 19:59 lydstory 阅读(38) 评论(0) 推荐(0) 编辑

山石网科
摘要:https://www.hillstonenet.com.cn 阅读全文

posted @ 2021-03-09 19:33 lydstory 阅读(37) 评论(0) 推荐(0) 编辑

linus 内核 dmi实现
摘要:linus 内核 dmi实现 阅读全文

posted @ 2021-03-09 16:26 lydstory 阅读(29) 评论(0) 推荐(0) 编辑

lseek()
摘要:http://www.360doc.com/content/13/0220/13/5073814_266736532.shtml 阅读全文

posted @ 2021-03-09 16:20 lydstory 阅读(25) 评论(0) 推荐(0) 编辑

libuv-evpp
摘要:https://github.com/X-Crack/libuv-evpp 阅读全文

posted @ 2021-03-08 19:51 lydstory 阅读(56) 评论(0) 推荐(0) 编辑

centos jdk
摘要:#vim /etc/profile export JAVA_HOME=/usr/java/jdk1.8.0_144export JRE_HOME=${JAVA_HOME}/jreexport CLASSPATH=.;${JAVA_HOME}/lib:${JRE_HOME}/libexport PAT 阅读全文

posted @ 2021-03-08 17:17 lydstory 阅读(46) 评论(0) 推荐(0) 编辑

虚拟机机网卡不对 找不到ip
摘要:安装包工具 修复 --》 ifup ens33 阅读全文

posted @ 2021-03-08 14:24 lydstory 阅读(55) 评论(0) 推荐(0) 编辑

人的第二思维
摘要:java,设计,工程,金融,写作,政治,历史,教育,别的革命什么的 价值,渴望更大的价值...... 阅读全文

posted @ 2021-03-06 18:18 lydstory 阅读(22) 评论(0) 推荐(0) 编辑

尧云
摘要:方寸的这批SATA-M.2的桥+尧云的m.2 SSD盘 更换为M.SATA桥和M.SATA盘 阅读全文

posted @ 2021-03-05 14:57 lydstory 阅读(162) 评论(0) 推荐(0) 编辑

sqlite3 develop outdate
摘要:win + R reg delete "HKEY_CURRENT_USER\SharpPlus\SqliteDev" /v "StartDate" /f 阅读全文

posted @ 2021-03-05 14:28 lydstory 阅读(50) 评论(0) 推荐(0) 编辑

minifilter
摘要:minifilter 阅读全文

posted @ 2021-03-05 13:36 lydstory 阅读(38) 评论(0) 推荐(0) 编辑

源代码注释里看到牛人:蒋青喆
摘要:源代码注释里看到牛人:蒋青喆 一种思想 程序代码里要不要写上自己的真实名字,以后好混点那? 厉害的人 写驱动的人 都是上市公司的股东 普通人--》普通的程序员 能写出什么优秀的代码啊。 windows驱动 阅读全文

posted @ 2021-03-05 13:32 lydstory 阅读(50) 评论(0) 推荐(0) 编辑

武汉风奥-金甲防线文档
摘要:https://www.fasoft.cn 阅读全文

posted @ 2021-03-05 13:14 lydstory 阅读(45) 评论(0) 推荐(0) 编辑

文档外带
摘要:文档外带 阅读全文

posted @ 2021-03-05 13:09 lydstory 阅读(27) 评论(0) 推荐(0) 编辑

dps文档保护系统
摘要:dps文档保护系统 dps文档保护系统 阅读全文

posted @ 2021-03-05 12:54 lydstory 阅读(34) 评论(0) 推荐(0) 编辑

DLP :Data Leakage Prevention,数据泄露防护
摘要:DLP :Data Leakage Prevention,数据泄露防护 阅读全文

posted @ 2021-03-04 21:41 lydstory 阅读(605) 评论(0) 推荐(0) 编辑

win32 wstring <-> string
摘要:static std::string w2c(std::wstring str) { int nlength = str.length(); int nbytes = WideCharToMultiByte(0,0,str.c_str(),nlength,NULL,0,NULL,NULL); if( 阅读全文

posted @ 2021-03-04 10:32 lydstory 阅读(44) 评论(0) 推荐(0) 编辑

GlusterFS
摘要:GlusterFS fuse 阅读全文

posted @ 2021-03-03 15:07 lydstory 阅读(41) 评论(0) 推荐(0) 编辑

centos 7.6 安装MariaDB
摘要:yum install mariadb-server systemctl start mariadb systemctl enable mariadb mysql_secure_installation 此处设置的是数据库root密码,和系统root无关。 开始root密码默认为空,直接回车,然后设 阅读全文

posted @ 2021-03-03 10:27 lydstory 阅读(90) 评论(0) 推荐(0) 编辑

netty 作为文件服务器
摘要:netty 作为文件服务器 网上搜索 无具体操作 阅读全文

posted @ 2021-03-03 10:14 lydstory 阅读(133) 评论(0) 推荐(0) 编辑

Nessus
摘要:Nessus 是目前全世界最多人使用的系统漏洞扫描与分析软件。总共有超过75,000个机构使用Nessus 作为扫描该机构电脑系统的软件。 阅读全文

posted @ 2021-03-03 08:56 lydstory 阅读(336) 评论(0) 推荐(0) 编辑

java new string数组函数设置与返回
摘要:package com.company; import java.io.Serializable; public class Config implements Serializable { public Config() { super(); // TODO Auto-generated cons 阅读全文

posted @ 2021-03-03 07:48 lydstory 阅读(259) 评论(0) 推荐(0) 编辑

Alt+Enter自动添加基本import-idea
摘要:import java.io.Serializable; 阅读全文

posted @ 2021-03-03 07:16 lydstory 阅读(113) 评论(0) 推荐(0) 编辑

Dubbo
摘要:Dubbo是一款高性能、轻量级的开源Java RPC框架,它提供了三大核心能力:面向接口的远程方法调用,智能容错和负载均衡,以及服务自动注册和发现。 阅读全文

posted @ 2021-03-03 07:10 lydstory 阅读(32) 评论(0) 推荐(0) 编辑

import org.apache.log4j.Logger;
摘要:ctrl+shift+alt+s 阅读全文

posted @ 2021-03-03 07:00 lydstory 阅读(223) 评论(0) 推荐(0) 编辑

java import
摘要:import java.io.*; import java.security.*; import javax.crypto.*; import javax.crypto.spec.*; import java.math.BigInteger; import java.sql.Connection; 阅读全文

posted @ 2021-03-02 22:24 lydstory 阅读(85) 评论(0) 推荐(0) 编辑

JMesa
摘要:Jmesa是ExtremeTable项目重新开发的一个Html表格组件,提供过滤、排序、分页、数据导出等功能。Jmesa非常易于使用,可按自己的需求进行扩展。JMesa需要JDK1.5以上的环境 https://baike.baidu.com/item/JMesa/5482065?fr=aladdi 阅读全文

posted @ 2021-03-02 19:02 lydstory 阅读(117) 评论(0) 推荐(0) 编辑

中存软件
摘要:http://www.datasplus.com/ 阅读全文

posted @ 2021-03-02 17:22 lydstory 阅读(34) 评论(0) 推荐(0) 编辑

程序员-听说读写
摘要:程序员-听说读写 听: 说:架构 逻辑 读:读经典代码的方法 》 写:代码必须手写,哪怕写的是#define 类型定义 结构体 忌讳复制粘贴 阅读全文

posted @ 2021-03-02 16:15 lydstory 阅读(39) 评论(0) 推荐(0) 编辑

office 2019密匙
摘要:3NJBW-HGJVC-MTFMV-W3722-W2RXB 阅读全文

posted @ 2021-03-02 16:00 lydstory 阅读(88) 评论(0) 推荐(0) 编辑

位移的思想
摘要:#define PROCESS_MM_HTB_SIZE (1<<5) #define PROCESS_MM_HTB_SIZE (10>>1) 阅读全文

posted @ 2021-03-02 15:28 lydstory 阅读(35) 评论(0) 推荐(0) 编辑

锐捷网络
摘要:http://www.ruijie.com.cn 阅读全文

posted @ 2021-03-02 13:32 lydstory 阅读(42) 评论(0) 推荐(0) 编辑

window linux 头文件
摘要:#ifndef _PLATFORMDEF_H_ #define _PLATFORMDEF_H_ #ifdef _LINUX #include <sys/time.h> #include <unistd.h> /* SHOULD be before any other include files */ 阅读全文

posted @ 2021-03-01 19:20 lydstory 阅读(178) 评论(0) 推荐(0) 编辑

VXWORKS 类型
摘要:/************************************************************************/ /* VXWORKS - VXWORKS on Motorola 680x0 processor */ /********************** 阅读全文

posted @ 2021-03-01 19:04 lydstory 阅读(127) 评论(0) 推荐(0) 编辑

qt通信 中文乱码
摘要:qt通信 中文乱码 阅读全文

posted @ 2021-03-01 17:34 lydstory 阅读(55) 评论(0) 推荐(0) 编辑

qt qrc linux 移植
摘要:关于qt 资源处理。 这个是qt处理资源的方式,用VS2012+qtaddin 生成的项目会默认带资源,但是前期你没有添加资源的话,用 arm-hismall-linux-g++编译的时候就会出错。 所以如果还没有添加资源的话就可以将qrc_xxx.cpp的里面内容先注视掉,否则会报错,错误内容如下 阅读全文

posted @ 2021-03-01 12:35 lydstory 阅读(178) 评论(0) 推荐(0) 编辑

qt tcp中文乱码
摘要: 阅读全文

posted @ 2021-03-01 11:54 lydstory 阅读(174) 评论(0) 推荐(0) 编辑

面试题一道:vs qt的工程 如何在linux下迁移编译
摘要:面试题一道:vs qt的工程 如何在linux下迁移编译 面试题一道:vs qt的工程 如何在linux下迁移编译 面试题一道:vs qt的工程 如何在linux下迁移编译 我的 阅读全文

posted @ 2021-03-01 11:42 lydstory 阅读(166) 评论(0) 推荐(0) 编辑

vs qt 移植到linux
摘要:#export PATH=/opt/Qt5.9.0/5.9/gcc_64/bin:$PATH #qmake -project QT+=widgets #qmake 所以如果是想要把vs的Qt项目移植到linux下,最好不要通过vs生成pro文件。只有当拷贝到linux下时才通过qmake -proj 阅读全文

posted @ 2021-03-01 11:29 lydstory 阅读(490) 评论(0) 推荐(0) 编辑

幻影图像2020
摘要:https://www.photosir.cn/ 牛人做的软件 》真的好酷炫 欢迎下载 》https://www.photosir.cn/download.html 阅读全文

posted @ 2021-03-01 09:01 lydstory 阅读(253) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示