---
name: "audit_avc_path"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/audit_avc_path"
---

# audit\_avc\_path(9)

record the granting or denial of permissions

## NAME

audit\_avc\_path - record the granting or denial of permissions

## SYNOPSIS

**int audit\_avc\_path(struct dentry \*** *dentry***, struct vfsmount \*** *mnt***);**

## ARGUMENTS

*dentry*

dentry to record

*mnt*

mnt to record

## DESCRIPTION

Returns 0 for success or NULL context or \< 0 on error.

Called from security/selinux/avc.c::**avc\_audit**

## COPYRIGHT
