| 906 | } |
| 907 | |
| 908 | void |
| 909 | audit_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. |
nothing calls this directly
no test coverage detected