Linux Kernel Architecture
Chapter 10: Filesystems without Persistent Storage In addition to attribute handling, the directory supports just one more opera ...
Chapter 10: Filesystems without Persistent Storage &proc_##OTYPE##_inode_operations, &proc_##OTYPE##_operations, \ {} ) ...
Chapter 10: Filesystems without Persistent Storage #ifdef CONFIG_AUDITSYSCALL REG("loginuid", S_IWUSR|S_IRUGO, loginuid), #endif ...
Chapter 10: Filesystems without Persistent Storage This section not only examines theprocinterface of the sysctl mechanism, but ...
Chapter 10: Filesystems without Persistent Storage Thecoreofthecodeisthesysctlfunction defined by the C standard library in/usr/ ...
Chapter 10: Filesystems without Persistent Storage struct proc_dir_entry *de; /* /proc control block */ void *extra1; void *extr ...
Chapter 10: Filesystems without Persistent Storage wolfgang@meitner>ls -l /proc/sys total 0 dr-xr-xr-x 2 root root 0 2006-08- ...
Chapter 10: Filesystems without Persistent Storage The kernel provides thectl_table_headerdata structure to enable several sysct ...
Chapter 10: Filesystems without Persistent Storage ❑ First, a four-level hierarchy is created with the help of sysctl tables.CTL ...
Chapter 10: Filesystems without Persistent Storage { .ctl_name = CTL_DEV, .procname = "dev", .mode = 0555, .child = dev_table, } ...
Chapter 10: Filesystems without Persistent Storage fs/proc/proc_sysctl.c static struct inode_operations proc_sys_inode_operation ...
Chapter 10: Filesystems without Persistent Storage ❑ proc_dointvec_minmaxworks in the same way asproc_dointvec, but ensures that ...
Chapter 10: Filesystems without Persistent Storage Writing SequentialFile Handlers Basically, an instance ofstruct file_operatio ...
Chapter 10: Filesystems without Persistent Storage size_t size; size_t from; size_t count; loff_t index; ... const struct seq_op ...
Chapter 10: Filesystems without Persistent Storage kernel/kprobes.c static void __kprobes kprobe_seq_stop(struct seq_file *f, vo ...
Chapter 10: Filesystems without Persistent Storage instead ofprintk,seq_printfis used to format the information. In fact, the ke ...
Chapter 10: Filesystems without Persistent Storage To understand the idea of libfs better, let’s discuss the way directory handl ...
Chapter 10: Filesystems without Persistent Storage inode->i_op = &simple_dir_inode_operations; inode->i_fop = &sim ...
Chapter 10: Filesystems without Persistent Storage 10.2.3 The Debug Filesystem One particular filesystem using functions from li ...
Chapter 10: Filesystems without Persistent Storage struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent ...
«
31
32
33
34
35
36
37
38
39
40
»
Free download pdf