Linux Kernel Architecture
Chapter 11: Extended Attributes and Access Control Lists Sending Data Since the structure of an extended attribute is very simpl ...
Chapter 11: Extended Attributes and Access Control Lists Array of pointers xattr_handler s_xattr struct super_block Figure 11-1: ...
Chapter 11: Extended Attributes and Access Control Lists Delegate decision to security module Yes No security namespace? vfs_set ...
Chapter 11: Extended Attributes and Access Control Lists namespaces and delegates the choice to security modules that are includ ...
Chapter 11: Extended Attributes and Access Control Lists Generic HandlerFunctions Security is an important business. If wrong de ...
Chapter 11: Extended Attributes and Access Control Lists for_each_xattr_handleris a macro that iterates over all entries inhandl ...
Chapter 11: Extended Attributes and Access Control Lists Figure 11-4 presents an overview of the on-disk layout of Ext3 extended ...
Chapter 11: Extended Attributes and Access Control Lists The comments in the code precisely describe the meaning of the elements ...
Chapter 11: Extended Attributes and Access Control Lists The test forXATTR_USERensures that the filesystem supports extended att ...
Chapter 11: Extended Attributes and Access Control Lists if (name == NULL) return -EINVAL; name_len = strlen(name); entry = *pen ...
Chapter 11: Extended Attributes and Access Control Lists The course of action is basically identical with the previously conside ...
Chapter 11: Extended Attributes and Access Control Lists The following calling convention is used: ❑ If the data buffer passed t ...
Chapter 11: Extended Attributes and Access Control Lists size_t size = handler->list(inode, buffer, rest, entry->e_name, e ...
Chapter 11: Extended Attributes and Access Control Lists Otherwise, both implementations are nearly identical; for most function ...
Chapter 11: Extended Attributes and Access Control Lists unsigned int a_count; struct posix_acl_entry a_entries[0]; }; Each entr ...
Chapter 11: Extended Attributes and Access Control Lists it in more detail. It is, however, important to observe that they work ...
Chapter 11: Extended Attributes and Access Control Lists break; case ACL_USER: if (pa->e_id == current->fsuid) goto mask; ...
Chapter 11: Extended Attributes and Access Control Lists Victory can seem to be beguilingly close when a granting entry has been ...
Chapter 11: Extended Attributes and Access Control Lists the field is not relevant right now, it will become important should an ...
Chapter 11: Extended Attributes and Access Control Lists if (test_opt(dir->i_sb, POSIX_ACL)) { acl = ext3_get_acl(dir, ACL_TY ...
«
33
34
35
36
37
38
39
40
41
42
»
Free download pdf