默默的一块石头
发布时间:2019-08-06 16:05:55
struct fs_struct { int users; spinlock_t lock; seqcount_t seq; int umask; int in_exec; struct path root, pwd;};struct path { struct vfsmount *mnt; struct dentry *dentry;};//创建进程过程static int copy_fs(unsigned long clone_flags, struct task_struct *tsk){ struct fs_struct *fs = cur.........【阅读全文】
发布时间: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 .........【阅读全文】