6ca91a055c
o Modify the system call syntax for extattr_{get,set}_{fd,file}() so as not to use the scatter gather API (which appeared not to be used by any consumers, and be less portable), rather, accepts 'data' and 'nbytes' in the style of other simple read/write interfaces. This changes the API and ABI. o Modify system call semantics so that extattr_get_{fd,file}() return a size_t. When performing a read, the number of bytes read will be returned, unless the data pointer is NULL, in which case the number of bytes of data are returned. This changes the API only. o Modify the VOP_GETEXTATTR() vnode operation to accept a *size_t argument so as to return the size, if desirable. If set to NULL, the size will not be returned. o Update various filesystems (pseodofs, ufs) to DTRT. These changes should make extended attributes more useful and more portable. More commits to rebuild the system call files, as well as update userland utilities to follow. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs |
||
---|---|---|
.. | ||
kernel_interface.c | ||
kernel_interface.h | ||
kernel_lkm.c | ||
kernel_log.c | ||
kernel_log.h | ||
kernel_mediate.c | ||
kernel_mediate.h | ||
kernel_mmap.c | ||
kernel_monitor.c | ||
kernel_monitor.h | ||
kernel_pipe.c | ||
kernel_pipe.h | ||
kernel_plm.c | ||
kernel_plm.h | ||
kernel_socket.c | ||
kernel_socket.h | ||
kernel_util.c | ||
kernel_util.h | ||
lomac.h | ||
lomacfs_subr.c | ||
lomacfs_vfsops.c | ||
lomacfs_vnops.c | ||
lomacfs.h | ||
lomacio.h | ||
policy_plm.h | ||
syscall_gate.c | ||
syscall_gate.h |