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

Function audit_arg_vnode2

freebsd/security/audit/audit_arg.c:908–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

906}
907
908void
909audit_arg_vnode2(struct vnode *vp)
910{
911 struct kaudit_record *ar;
912 int error;
913
914 ar = currecord();
915 if (ar == NULL)
916 return;
917
918 ARG_CLEAR_VALID(ar, ARG_VNODE2);
919 error = audit_arg_vnode(vp, &ar->k_ar.ar_arg_vnode2);
920 if (error == 0)
921 ARG_SET_VALID(ar, ARG_VNODE2);
922}
923
924/*
925 * Audit the argument strings passed to exec.

Callers

nothing calls this directly

Calls 2

currecordFunction · 0.85
audit_arg_vnodeFunction · 0.85

Tested by

no test coverage detected