MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vn_dir_check_exec

Function vn_dir_check_exec

freebsd/kern/vfs_subr.c:6820–6830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6818}
6819
6820int
6821vn_dir_check_exec(struct vnode *vp, struct componentname *cnp)
6822{
6823
6824 if ((cnp->cn_flags & NOEXECCHECK) != 0) {
6825 cnp->cn_flags &= ~NOEXECCHECK;
6826 return (0);
6827 }
6828
6829 return (VOP_ACCESS(vp, VEXEC, cnp->cn_cred, cnp->cn_thread));
6830}
6831
6832/*
6833 * Do not use this variant unless you have means other than the hold count

Callers 1

vfs_cache_lookupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected