Lines Matching defs:pnp
69 static void audit_pathbuild(struct pathname *pnp);
88 struct pathname *pnp, /* pathname to lookup */
147 audit_pathbuild(pnp);
198 audit_pathbuild(struct pathname *pnp)
213 len = (pnp->pn_path - pnp->pn_buf) + 1; /* +1 for terminator */
220 } else if ((tad->tad_ctrl & TAD_ATCALL) && pnp->pn_buf[0] != '/') {
243 bcopy(pnp->pn_buf, pp, len);
278 audit_anchorpath(struct pathname *pnp, int flag)
345 audit_symlink(struct pathname *pnp, struct pathname *sympath)
389 * path to overflow the pnp structure.
395 sp = cp = pnp->pn_path;
396 while (*--cp != '/' && cp > pnp->pn_buf)
399 len_path = cp - pnp->pn_buf;
403 pnp->pn_path = pnp->pn_buf;
404 audit_pathbuild(pnp);
405 pnp->pn_path = sp;