上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: static const mode_t who_mask[] = { S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO, /* a -> 07777 */ S_ISUID | S_IRWXU, /* u -> 04700 */ S_ISGID | S_IRWXG, /* g -> 02070 */ S_IRWXO /* o -> 0007 */ }; static ... 阅读全文
posted @ 2013-05-03 14:35 sndnvaps 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 多个一起使用, unsigned short root = S_ISUID | S_ISGID | S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH ; //06755 unsigned short root_app = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH ; //0755 阅读全文
posted @ 2013-05-02 14:34 sndnvaps 阅读(542) 评论(2) 推荐(0) 编辑
摘要: 文章转载于:http://c.chinaitlab.com/example/894565.html最近使用C++编写了一些小东西,发现自己在string方面比较差,今天总结一下。 ## string对象的定义和初始化 string类型支持长度可变的字符串,对于string的使用:#include<string> using std::string string s1; 默认构造函数,s1为空串 string s2(s1) 将s2初始化为s1的副本 string s3("value") ... 阅读全文
posted @ 2013-04-30 23:38 sndnvaps 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 头文件 sn_function.hpp 1 #ifndef _SN_FUNCTIONS_HPP 2 #define _SN_FUNCTIONS_HPP 3 4 #include <string> 5 6 using namespace std; 7 8 class SNFunc 9 {10 public:11 static int remove_permission_x(string *filename);12 static void disable_official_recovery();13 //static int root_device();14 ... 阅读全文
posted @ 2013-04-28 20:55 sndnvaps 阅读(1231) 评论(0) 推荐(0) 编辑
摘要: -Wl,--path -Wl,DIR -Wl,-soname,"libbusybox.so" 阅读全文
posted @ 2013-04-25 21:15 sndnvaps 阅读(972) 评论(0) 推荐(0) 编辑
摘要: 用C++写的课表程序。 可以传入二个参数 -all -input 阅读全文
posted @ 2013-04-21 19:33 sndnvaps 阅读(1105) 评论(0) 推荐(0) 编辑
摘要: 用Go语言写的,第一个课表。 Go语言学习笔记, 阅读全文
posted @ 2012-11-15 21:44 sndnvaps 阅读(558) 评论(2) 推荐(0) 编辑
摘要: 第一个Go语言,写的程序。 hello.go 阅读全文
posted @ 2012-11-12 18:49 sndnvaps 阅读(307) 评论(0) 推荐(0) 编辑
摘要: linux内核模块学习笔记(转载) 阅读全文
posted @ 2012-11-04 22:02 sndnvaps 阅读(1831) 评论(0) 推荐(0) 编辑
摘要: 内核模块中的module_param()函数的学习,笔记。 阅读全文
posted @ 2012-11-04 21:49 sndnvaps 阅读(1241) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页