Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs accmode should be accmode_t
details: https://anonhg.NetBSD.org/src/rev/7f23f181349b
branches: trunk
changeset: 974650:7f23f181349b
user: christos <christos%NetBSD.org@localhost>
date: Fri Aug 07 18:14:21 2020 +0000
description:
accmode should be accmode_t
diffstat:
sys/miscfs/genfs/genfs.h | 4 ++--
sys/miscfs/genfs/genfs_vnops.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r ed3cd8378aee -r 7f23f181349b sys/miscfs/genfs/genfs.h
--- a/sys/miscfs/genfs/genfs.h Fri Aug 07 18:13:19 2020 +0000
+++ b/sys/miscfs/genfs/genfs.h Fri Aug 07 18:14:21 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs.h,v 1.35 2020/06/27 17:29:19 christos Exp $ */
+/* $NetBSD: genfs.h,v 1.36 2020/08/07 18:14:21 christos Exp $ */
#ifndef _MISCFS_GENFS_GENFS_H_
#define _MISCFS_GENFS_GENFS_H_
@@ -64,7 +64,7 @@
int genfs_can_chtimes(struct vnode *, kauth_cred_t, uid_t, u_int);
int genfs_can_chflags(struct vnode *, kauth_cred_t, uid_t, bool);
int genfs_can_sticky(struct vnode *, kauth_cred_t, uid_t, uid_t);
-int genfs_can_extattr(struct vnode *, kauth_cred_t, int, int);
+int genfs_can_extattr(struct vnode *, kauth_cred_t, accmode_t, int);
/*
* Rename is complicated. Sorry.
diff -r ed3cd8378aee -r 7f23f181349b sys/miscfs/genfs/genfs_vnops.c
--- a/sys/miscfs/genfs/genfs_vnops.c Fri Aug 07 18:13:19 2020 +0000
+++ b/sys/miscfs/genfs/genfs_vnops.c Fri Aug 07 18:14:21 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_vnops.c,v 1.208 2020/06/27 17:29:19 christos Exp $ */
+/* $NetBSD: genfs_vnops.c,v 1.209 2020/08/07 18:14:21 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.208 2020/06/27 17:29:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.209 2020/08/07 18:14:21 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1397,7 +1397,7 @@
}
int
-genfs_can_extattr(vnode_t *vp, kauth_cred_t cred, int accmode,
+genfs_can_extattr(vnode_t *vp, kauth_cred_t cred, accmode_t accmode,
int attrnamespace)
{
/*
Home |
Main Index |
Thread Index |
Old Index