freebsd-nq/sys/security/lomac
Robert Watson 74237f55b0 Part I: Update extended attribute API and ABI:
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
2002-02-10 04:43:22 +00:00
..
kernel_interface.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_interface.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_lkm.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_log.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_log.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_mediate.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_mediate.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_mmap.c Split out NAI Labs license and BSD license to prevent the accidental 2001-12-03 00:21:18 +00:00
kernel_monitor.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_monitor.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_pipe.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_pipe.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_plm.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_plm.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_socket.c Replace a few more lines of code orphaned by MFREE going away. 2002-02-07 22:08:32 +00:00
kernel_socket.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
kernel_util.c Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
kernel_util.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
lomac.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
lomacfs_subr.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
lomacfs_vfsops.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
lomacfs_vnops.c Part I: Update extended attribute API and ABI: 2002-02-10 04:43:22 +00:00
lomacfs.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
lomacio.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
policy_plm.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
syscall_gate.c Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00
syscall_gate.h Import LOMAC preliminary release 2.0.0 in src/sys/security. These files may 2001-11-19 22:34:06 +00:00