Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/fs/ntfs/ntfs_vnops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/fs/ntfs/ntfs_vnops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.52.2.1 retrieving revision 1.52.2.2 diff -u -p -r1.52.2.1 -r1.52.2.2 --- src/sys/fs/ntfs/ntfs_vnops.c 2012/11/20 03:02:40 1.52.2.1 +++ src/sys/fs/ntfs/ntfs_vnops.c 2013/06/23 06:18:27 1.52.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: ntfs_vnops.c,v 1.52.2.1 2012/11/20 03:02:40 tls Exp $ */ +/* $NetBSD: ntfs_vnops.c,v 1.52.2.2 2013/06/23 06:18:27 tls Exp $ */ /* * Copyright (c) 1992, 1993 @@ -36,7 +36,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ntfs_vnops.c,v 1.52.2.1 2012/11/20 03:02:40 tls Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ntfs_vnops.c,v 1.52.2.2 2013/06/23 06:18:27 tls Exp $"); #include #include @@ -424,7 +424,7 @@ ntfs_check_permitted(struct vnode *vp, s file_mode = ip->i_mp->ntm_mode | (S_IXUSR|S_IXGRP|S_IXOTH); - return kauth_authorize_vnode(cred, kauth_access_action(mode, vp->v_type, + return kauth_authorize_vnode(cred, KAUTH_ACCESS_ACTION(mode, vp->v_type, file_mode), vp, NULL, genfs_can_access(vp->v_type, file_mode, ip->i_mp->ntm_uid, ip->i_mp->ntm_gid, mode, cred)); }