会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
aspirs
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
41
下一页
2021年8月21日
c misc
摘要: c misc .printk一些技巧 https://www.cnblogs.com/sky-heaven/p/7161373.html
阅读全文
posted @ 2021-08-21 19:43 aspirs
阅读(39)
评论(0)
推荐(0)
2021年8月17日
Linux内核深度解析之内核互斥技术——读写信号量
摘要: 读写信号量 读写信号量是对互斥信号量的改进,允许多个读者同时进入临界区,读者和写者互斥,写者和写者互斥,适合在以读为主的情况下使用。 读写信号量的定义: include/linux/rwsem.h struct rw_semaphore { atomic_long_t count; struct l
阅读全文
posted @ 2021-08-17 17:41 aspirs
阅读(849)
评论(0)
推荐(0)
2021年8月16日
man 1 2 3 4...
摘要: 1、Standard commands (标准命令)2、System calls (系统调用)3、Library functions (库函数)4、Special devices (设备说明)5、File formats (文件格式)6、Games and toys (游戏和娱乐)7、Miscell
阅读全文
posted @ 2021-08-16 19:20 aspirs
阅读(75)
评论(0)
推荐(0)
2021年8月15日
Android Sepolicy 相关工具
摘要: 文章参考 Android 9.0 源码,以翻译为主,留做备用参考。Sepolicy 工具位于 system/sepolicy/tools/ build_policies.sh 为多个目标并行构建SELinux策略的工具。这对于在多个目标上快速闫增新的测试或Neveralow规则很有用。 用法: ./
阅读全文
posted @ 2021-08-15 20:14 aspirs
阅读(800)
评论(0)
推荐(0)
2021年8月11日
selinux misc
摘要: selinux misc . selinux语法 Section 5.2. Types, Attributes, and Aliases https://flylib.com/books/en/2.803.1.40/1/ type type_name [ alias alias_set ] [, a
阅读全文
posted @ 2021-08-11 16:09 aspirs
阅读(31)
评论(0)
推荐(0)
2021年8月8日
ext4 mount options
摘要: ext4 mount options fs/ext4/super.c static const struct mount_opts { int token; int mount_opt; int flags; } ext4_mount_opts[] = { {Opt_minix_df, EXT4_M
阅读全文
posted @ 2021-08-08 19:56 aspirs
阅读(211)
评论(0)
推荐(0)
tune2fs cmd(ext fs)
摘要: tune2fs tune2fs允許系統管理員在Linux ext2、ext3或ext4檔案系統上調整各種可調的檔案系統引數。這些選項的當前值可以使用-l選項顯示,也可以通過使用dumpe2fs (8)程式顯示。 此命令的適用範圍:RedHat、RHEL、Ubuntu、CentOS、SUSE、open
阅读全文
posted @ 2021-08-08 19:26 aspirs
阅读(88)
评论(0)
推荐(0)
2021年8月6日
/dev/tty node
摘要: tty 3.控制终端(/dev/tty) 如果当前进程有控制终端(Controlling Terminal)的话,那么/dev/tty就是当前进程的控制终端的设备特殊文件。 可以使用命令”ps –ax”来查看进程与哪个控制终端相连。对于你登录的shell,/dev/tty就是你使用的终端, 设备号是
阅读全文
posted @ 2021-08-06 14:43 aspirs
阅读(360)
评论(0)
推荐(0)
2021年8月5日
kernel misc
摘要: kernel misc . include/linux/string.h 在kernel里使用string类的函数,比如strstr()等,这些函数声明在include/linux/string.h,include <linux/string.h>即可 . /dev/tty, tty driver
阅读全文
posted @ 2021-08-05 16:25 aspirs
阅读(427)
评论(0)
推荐(0)
2021年7月17日
fork & vfork
摘要: fork fork()与vfock()都是创建一个进程,那他们有什么区别呢?总结有以下三点区别:1. fork ():子进程拷贝父进程的数据段,代码段 vfork ( ):子进程与父进程共享数据段2. fork ()父子进程的执行次序不确定 vfork 保证子进程先运行,在调用exec 或exit
阅读全文
posted @ 2021-07-17 19:36 aspirs
阅读(67)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
41
下一页
公告