Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys

Module Name:    src
Committed By:   plunky
Date:           Mon Mar 18 19:35:48 UTC 2013

Modified Files:
        src/sys/fs/adosfs: advnops.c
        src/sys/fs/cd9660: cd9660_vnops.c
        src/sys/fs/efs: efs_vnops.c
        src/sys/fs/filecorefs: filecore_vnops.c
        src/sys/fs/hfs: hfs_vnops.c
        src/sys/fs/msdosfs: msdosfs_vnops.c
        src/sys/fs/nilfs: nilfs_vnops.c
        src/sys/fs/ntfs: ntfs_vnops.c
        src/sys/fs/ptyfs: ptyfs_vnops.c
        src/sys/fs/smbfs: smbfs_vnops.c
        src/sys/fs/sysvbfs: sysvbfs_vnops.c
        src/sys/fs/tmpfs: tmpfs_vnops.c
        src/sys/fs/udf: udf_vnops.c
        src/sys/fs/v7fs: v7fs_vnops.c
        src/sys/kern: kern_auth.c vfs_subr.c
        src/sys/miscfs/kernfs: kernfs_vnops.c
        src/sys/miscfs/procfs: procfs_vnops.c
        src/sys/nfs: nfs_vnops.c
        src/sys/sys: kauth.h
        src/sys/ufs/chfs: chfs_vnops.c
        src/sys/ufs/ext2fs: ext2fs_vnops.c
        src/sys/ufs/ufs: ufs_vnops.c

Log Message:
C99 section (Tags) Note 3 states that:

  A type specifier of the form

        enum identifier

  without an enumerator list shall only appear after the type it
  specifies is complete.

which means that we cannot pass an "enum vtype" argument to
kauth_access_action() without fully specifying the type first.
Unfortunately there is a complicated include file loop which
makes that difficult, so convert this minimal function into a
macro (and capitalize it).

(ok elad@)

To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/fs/adosfs/advnops.c
cvs rdiff -u -r1.42 -r1.43 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -u -r1.29 -r1.30 src/sys/fs/efs/efs_vnops.c
cvs rdiff -u -r1.35 -r1.36 src/sys/fs/filecorefs/filecore_vnops.c
cvs rdiff -u -r1.26 -r1.27 src/sys/fs/hfs/hfs_vnops.c
cvs rdiff -u -r1.85 -r1.86 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.20 -r1.21 src/sys/fs/nilfs/nilfs_vnops.c
cvs rdiff -u -r1.54 -r1.55 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -u -r1.40 -r1.41 src/sys/fs/ptyfs/ptyfs_vnops.c
cvs rdiff -u -r1.85 -r1.86 src/sys/fs/smbfs/smbfs_vnops.c
cvs rdiff -u -r1.46 -r1.47 src/sys/fs/sysvbfs/sysvbfs_vnops.c
cvs rdiff -u -r1.100 -r1.101 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -u -r1.74 -r1.75 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.11 -r1.12 src/sys/fs/v7fs/v7fs_vnops.c
cvs rdiff -u -r1.72 -r1.73 src/sys/kern/kern_auth.c
cvs rdiff -u -r1.436 -r1.437 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.146 -r1.147 src/sys/miscfs/kernfs/kernfs_vnops.c
cvs rdiff -u -r1.185 -r1.186 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -u -r1.298 -r1.299 src/sys/nfs/nfs_vnops.c
cvs rdiff -u -r1.70 -r1.71 src/sys/sys/kauth.h
cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/chfs/chfs_vnops.c
cvs rdiff -u -r1.106 -r1.107 src/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -u -r1.211 -r1.212 src/sys/ufs/ufs/ufs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index