Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 20:43:23 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/pseudofs pseudofs.h pseudofs_vnops.c src/sys/kern syscalls.master vfs_syscalls.c vfs_vnops.c vnode_if.src src/sys/security/lomac lomacfs_vnops.c src/sys/sys extattr.h src/sys/ufs/ufs ufs_extattr.c
Message-ID:  <200202100443.g1A4hNN00572@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2002/02/09 20:43:22 PST

  Modified files:
    sys/fs/pseudofs      pseudofs.h pseudofs_vnops.c 
    sys/kern             syscalls.master vfs_syscalls.c 
                         vfs_vnops.c vnode_if.src 
    sys/security/lomac   lomacfs_vnops.c 
    sys/sys              extattr.h 
    sys/ufs/ufs          ufs_extattr.c 
  Log:
  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
  
  Revision  Changes    Path
  1.17      +1 -1      src/sys/fs/pseudofs/pseudofs.h
  1.24      +1 -1      src/sys/fs/pseudofs/pseudofs_vnops.c
  1.103     +7 -8      src/sys/kern/syscalls.master
  1.223     +60 -81    src/sys/kern/vfs_syscalls.c
  1.129     +2 -1      src/sys/kern/vfs_vnops.c
  1.44      +2 -1      src/sys/kern/vnode_if.src
  1.3       +2 -1      src/sys/security/lomac/lomacfs_vnops.c
  1.8       +6 -6      src/sys/sys/extattr.h
  1.42      +31 -20    src/sys/ufs/ufs/ufs_extattr.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202100443.g1A4hNN00572>