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

Function audit_arg_vnode1

freebsd/security/audit/audit_arg.c:892–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

890}
891
892void
893audit_arg_vnode1(struct vnode *vp)
894{
895 struct kaudit_record *ar;
896 int error;
897
898 ar = currecord();
899 if (ar == NULL)
900 return;
901
902 ARG_CLEAR_VALID(ar, ARG_VNODE1);
903 error = audit_arg_vnode(vp, &ar->k_ar.ar_arg_vnode1);
904 if (error == 0)
905 ARG_SET_VALID(ar, ARG_VNODE1);
906}
907
908void
909audit_arg_vnode2(struct vnode *vp)

Callers 2

audit_arg_fileFunction · 0.85
audit_syscloseFunction · 0.85

Calls 2

currecordFunction · 0.85
audit_arg_vnodeFunction · 0.85

Tested by

no test coverage detected