Chinaunix首页 | 论坛 | 博客
  • 博客访问: 402107
  • 博文数量: 124
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 872
  • 用 户 组: 普通用户
  • 注册时间: 2018-03-29 14:38
个人简介

默默的一块石头

文章分类

全部博文(124)

文章存档

2022年(26)

2021年(10)

2020年(28)

2019年(60)

我的朋友

发布时间:2019-08-05 17:05:11

/* * Name resolution. * This is the basic name resolution function, turning a pathname into * the final dentry. We expect 'base' to be positive and a directory. * * Returns 0 and nd will have valid dentry and mnt on success. * Returns error and drops reference to .........【阅读全文】

阅读(2302) | 评论(0) | 转发(0)

发布时间:2019-05-20 16:13:37

#define NR_OPEN_DEFAULT BITS_PER_LONGstruct fdtable { unsigned int max_fds; struct file __rcu **fd;      /* current fd array */ unsigned long *close_on_exec; unsigned long *open_fds; struct rcu_head rcu;};/* Open file table structure */struct files_struct {&nbs.........【阅读全文】

阅读(1585) | 评论(0) | 转发(0)

发布时间:2019-05-06 21:29:40

struct nameidata { struct path path; struct qstr last; struct path root; struct inode *inode; /* path.dentry.d_inode */ unsigned int flags; unsigned seq, m_seq; int last_type; unsigned depth; char *saved_names[MAX_NESTED_LINKS + 1];};......【阅读全文】

阅读(1839) | 评论(0) | 转发(0)

发布时间:2019-05-06 16:24:13

chroot......【阅读全文】

阅读(1421) | 评论(0) | 转发(0)

发布时间:2019-04-22 16:06:44

1.pipe fs initstatic int __init init_pipe_fs(void){ int err = register_filesystem(&pipe_fs_type); if (!err) { pipe_mnt = kern_mount(&pipe_fs_type); if (IS_ERR(pipe_mnt)) { err = PTR_ERR(pipe_mnt); unregister_filesystem(&pipe_fs_type); } } return err;}2.struct super_operations pipefs_.........【阅读全文】

阅读(1609) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册