Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Catch up after recent ACL changes



details:   https://anonhg.NetBSD.org/src/rev/c576c16411c4
branches:  trunk
changeset: 933543:c576c16411c4
user:      ad <ad%NetBSD.org@localhost>
date:      Tue May 26 22:05:52 2020 +0000

description:
Catch up after recent ACL changes

diffstat:

 sys/sys/namei.src |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r fe777042e1c4 -r c576c16411c4 sys/sys/namei.src
--- a/sys/sys/namei.src Tue May 26 21:52:12 2020 +0000
+++ b/sys/sys/namei.src Tue May 26 22:05:52 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: namei.src,v 1.55 2020/05/16 18:31:53 christos Exp $    */
+/*     $NetBSD: namei.src,v 1.56 2020/05/26 22:05:52 ad Exp $  */
 
 /*
  * Copyright (c) 1985, 1989, 1991, 1993
@@ -163,11 +163,12 @@
 NAMEIFL        ISDOTDOT        0x0002000       /* current component name is .. */
 NAMEIFL        MAKEENTRY       0x0004000       /* entry is to be added to name cache */
 NAMEIFL        ISLASTCN        0x0008000       /* this is last component of pathname */
+NAMIEFL        WILLBEDIR       0x0010000       /* new files will be dirs */
 NAMEIFL        ISWHITEOUT      0x0020000       /* found whiteout */
 NAMEIFL        DOWHITEOUT      0x0040000       /* do whiteouts */
 NAMEIFL        REQUIREDIR      0x0080000       /* must be a directory */
 NAMEIFL        CREATEDIR       0x0200000       /* trailing slashes are ok */
-NAMEIFL        PARAMASK        0x02ef800       /* mask of parameter descriptors */
+NAMEIFL        PARAMASK        0x02ff800       /* mask of parameter descriptors */
 
 /*
  * Initialization of a nameidata structure.
@@ -290,7 +291,7 @@
 bool   cache_lookup_linked(struct vnode *, const char *, size_t,
                            struct vnode **, krwlock_t **, kauth_cred_t);
 int    cache_revlookup(struct vnode *, struct vnode **, char **, char *,
-                       bool, int);
+                       bool, accmode_t);
 int    cache_diraccess(struct vnode *, int);
 void   cache_enter(struct vnode *, struct vnode *,
                        const char *, size_t, uint32_t);



Home | Main Index | Thread Index | Old Index