博客园 - ddev
uuid:7d267088-5232-4821-9010-8cd5fdd6cd4f;id=1077984
2023-06-12T13:25:48Z
ddev
https://www.cnblogs.com/the-capricornus/
feed.cnblogs.com
https://www.cnblogs.com/the-capricornus/p/17476158.html
强制位权限 - ddev
当程序需要读取限制访问权限的文件时,一般都会通过合理的设计,使用seteuid()来达到访问受限文件的目的。 为什么不用setuid()~~e~~呢? 先以普通用户的身份来说,普通用户执行setuid()~~e~~,通常是返回失败的,即使在执行成功的情况下,也是相当于只执行了seteuid()。 以
2023-06-12T13:24:00Z
2023-06-12T13:24:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】当程序需要读取限制访问权限的文件时,一般都会通过合理的设计,使用seteuid()来达到访问受限文件的目的。 为什么不用setuid()~~e~~呢? 先以普通用户的身份来说,普通用户执行setuid()~~e~~,通常是返回失败的,即使在执行成功的情况下,也是相当于只执行了seteuid()。 以 <a href="https://www.cnblogs.com/the-capricornus/p/17476158.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/17281354.html
巧用rpmbuild的expand宏实现模板功能 - ddev
需求:构建生成的二进制包的个数不确定,由某些条件决定。 比如,我们想为系统中的所有内核版本构建某个外来模块,如果系统中有2个内核版本,就生成两个2个二进制包,分别对应相应的版本,如果系统中有3个内核版本,就生成3个二进制包。 我们的需求是实现动态个数的%package。 很多人在讨论spec是不是一
2023-04-02T12:58:00Z
2023-04-02T12:58:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】需求:构建生成的二进制包的个数不确定,由某些条件决定。 比如,我们想为系统中的所有内核版本构建某个外来模块,如果系统中有2个内核版本,就生成两个2个二进制包,分别对应相应的版本,如果系统中有3个内核版本,就生成3个二进制包。 我们的需求是实现动态个数的%package。 很多人在讨论spec是不是一 <a href="https://www.cnblogs.com/the-capricornus/p/17281354.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/17236678.html
fedora下可用的钉钉1.4.0-20829 - ddev
fedora36下确认可用。 https://www.aliyundrive.com/s/8MPwxFUJD11
2023-03-20T08:06:00Z
2023-03-20T08:06:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】fedora36下确认可用。 https://www.aliyundrive.com/s/8MPwxFUJD11 <a href="https://www.cnblogs.com/the-capricornus/p/17236678.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/17130580.html
一个autoreconf的报错问题解决 - ddev
报错如下 configure.ac:36: error: possibly undefined macro: AC_CHECK_LIB If this token and others are legitimate, please use m4_pattern_allow. See the Auto
2023-02-17T08:15:00Z
2023-02-17T08:15:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】报错如下 configure.ac:36: error: possibly undefined macro: AC_CHECK_LIB If this token and others are legitimate, please use m4_pattern_allow. See the Auto <a href="https://www.cnblogs.com/the-capricornus/p/17130580.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/17130474.html
rpmbuild时为什么会出现空的debugsourcefiles.list? - ddev
错误: 空 %file 文件 /home/user/rpmbuild/BUILD/xxxx-0.1/debugsourcefiles.list 你看错误的里边有一个%file,这是使用spec文件构建时的一个命令阶段,用于列出文件以生成对应的rpm包。 我们查找rpm的宏定义,发现了一行代码%fil
2023-02-17T07:55:00Z
2023-02-17T07:55:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】错误: 空 %file 文件 /home/user/rpmbuild/BUILD/xxxx-0.1/debugsourcefiles.list 你看错误的里边有一个%file,这是使用spec文件构建时的一个命令阶段,用于列出文件以生成对应的rpm包。 我们查找rpm的宏定义,发现了一行代码%fil <a href="https://www.cnblogs.com/the-capricornus/p/17130474.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/14513126.html
Makefile函数大全加例子加解读 - ddev
$(subst from,to,text) 文本替换 把text里的from换成to $(subst ee,EE,feet on the street)) # = fEEt on the strEEt) $(patsubst pattern,replacement,text) 模式替换 % 是通配符
2021-03-10T09:33:00Z
2021-03-10T09:33:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】$(subst from,to,text) 文本替换 把text里的from换成to $(subst ee,EE,feet on the street)) # = fEEt on the strEEt) $(patsubst pattern,replacement,text) 模式替换 % 是通配符 <a href="https://www.cnblogs.com/the-capricornus/p/14513126.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/10059223.html
gdb的多线程调试 - ddev
(gdb) info threads
(gdb) thread n
(gdb) set scheduler-locking [off|on|step]
(gdb) set schedule-multiple [off|on]
(gdb) show scheduler-locking
(gdb) show schedule-multiple
2018-12-03T08:26:00Z
2018-12-03T08:26:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】(gdb) info threads
(gdb) thread n
(gdb) set scheduler-locking [off|on|step]
(gdb) set schedule-multiple [off|on]
(gdb) show scheduler-locking
(gdb) show schedule-multiple <a href="https://www.cnblogs.com/the-capricornus/p/10059223.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/6912353.html
在不损坏数据的情况下调整分区大小(ext2\ext3\ext4) - ddev
我想说调整分区大小没那么麻烦,至少我直接将一个ext3格式分区从50G减少到了30G。
2017-05-27T04:26:00Z
2017-05-27T04:26:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】我想说调整分区大小没那么麻烦,至少我直接将一个ext3格式分区从50G减少到了30G。 <a href="https://www.cnblogs.com/the-capricornus/p/6912353.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/6841913.html
如何使用一个宏的值作为参数传递给另一个宏? - ddev
宏传参给宏
2017-05-11T09:31:00Z
2017-05-11T09:31:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】宏传参给宏 <a href="https://www.cnblogs.com/the-capricornus/p/6841913.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/6780938.html
sed命令详解-应用篇 - ddev
sed命令详解-应用篇
2017-04-28T03:51:00Z
2017-04-28T03:51:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】sed命令详解-应用篇 <a href="https://www.cnblogs.com/the-capricornus/p/6780938.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/6527040.html
如何重置mate的面板到初始化时的默认设置? - ddev
gsettings reset-recursively org.mate.panel
2017-03-09T10:17:00Z
2017-03-09T10:17:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】gsettings reset-recursively org.mate.panel <a href="https://www.cnblogs.com/the-capricornus/p/6527040.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/6383466.html
智能指针shared_ptr - ddev
shared_ptr的应用场景是:程序需要在多个对象间共享数据
2017-02-09T10:34:00Z
2017-02-09T10:34:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】shared_ptr的应用场景是:程序需要在多个对象间共享数据 <a href="https://www.cnblogs.com/the-capricornus/p/6383466.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/6066379.html
数组指针、函数指针和尾置返回类型 - ddev
关于数组指针、函数指针和尾置返回类型的一些个人理解
2016-11-15T08:52:00Z
2016-11-15T08:52:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】关于数组指针、函数指针和尾置返回类型的一些个人理解 <a href="https://www.cnblogs.com/the-capricornus/p/6066379.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/5643210.html
通用正则表达式 - ddev
区别于常见的正则表达式教程,本教程让你快速入门,并规避常见问题。
2016-07-05T04:13:00Z
2016-07-05T04:13:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】区别于常见的正则表达式教程,本教程让你快速入门,并规避常见问题。 <a href="https://www.cnblogs.com/the-capricornus/p/5643210.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/5632464.html
Import Statements 导入语句 - ddev
qml的导入语句
2016-07-01T03:27:00Z
2016-07-01T03:27:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】qml的导入语句 <a href="https://www.cnblogs.com/the-capricornus/p/5632464.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/5624386.html
QML Object Attributes QML对象属性 - ddev
id属性 属性特征 信号属性 信号处理属性 方法属性 附加属性和附加信号处理属性
2016-06-28T10:08:00Z
2016-06-28T10:08:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】id属性 属性特征 信号属性 信号处理属性 方法属性 附加属性和附加信号处理属性 <a href="https://www.cnblogs.com/the-capricornus/p/5624386.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/5619884.html
FindPkgConfig----CMake的pkg-config模块 - ddev
CMake的pkg-config模块
2016-06-27T05:17:00Z
2016-06-27T05:17:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】CMake的pkg-config模块 <a href="https://www.cnblogs.com/the-capricornus/p/5619884.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/5502297.html
如何在linux下制作一个windows的可启动u盘? - ddev
如何在linux下制作一个windows的可启动u盘?
2016-05-17T08:49:00Z
2016-05-17T08:49:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】如何在linux下制作一个windows的可启动u盘? <a href="https://www.cnblogs.com/the-capricornus/p/5502297.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/5446149.html
cmake工具链 - ddev
[Introduction] [Languages] [Variables and Properties] [Toolchain Features] [Cross Compiling]
2016-04-29T06:14:00Z
2016-04-29T06:14:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】[Introduction] [Languages] [Variables and Properties] [Toolchain Features] [Cross Compiling] <a href="https://www.cnblogs.com/the-capricornus/p/5446149.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/the-capricornus/p/5279979.html
sed 命令详解 - ddev
用于筛选和转换文本的流编辑器
2016-03-15T08:23:00Z
2016-03-15T08:23:00Z
ddev
https://www.cnblogs.com/the-capricornus/
【摘要】用于筛选和转换文本的流编辑器 <a href="https://www.cnblogs.com/the-capricornus/p/5279979.html" target="_blank">阅读全文</a>