PERFORCE change 76633 for review
Wayne Salamon
wsalamon at FreeBSD.org
Fri May 6 21:04:13 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=76633
Change 76633 by wsalamon at rickenbacker on 2005/05/06 21:03:40
Fix the KPATH2_VNODE2_TOKENS macro to use the second vnode argument
structure. Reported by Scott Long.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_audit.c#8 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_bsm_audit.c#8 (text+ko) ====
@@ -237,7 +237,7 @@
kau_write(rec, tok); \
} \
if (ar->ar_valid_arg & ARG_VNODE1) { \
- tok = kau_to_attr32(&ar->ar_arg_vnode1);\
+ tok = au_to_attr32(&ar->ar_arg_vnode1);\
kau_write(rec, tok); \
} \
} while (0)
@@ -251,7 +251,7 @@
UPATH1_TOKENS; \
} \
if (ar->ar_valid_arg & ARG_VNODE1) { \
- tok = kau_to_attr32(&ar->ar_arg_vnode1);\
+ tok = au_to_attr32(&ar->ar_arg_vnode1);\
kau_write(rec, tok); \
} \
} while (0)
@@ -263,7 +263,7 @@
kau_write(rec, tok); \
} \
if (ar->ar_valid_arg & ARG_VNODE2) { \
- tok = kau_to_attr32(&ar->ar_arg_vnode1);\
+ tok = au_to_attr32(&ar->ar_arg_vnode2);\
kau_write(rec, tok); \
} \
} while (0)
@@ -274,7 +274,7 @@
tok = au_to_path(ar->ar_arg_kpath1); \
kau_write(rec, tok); \
if (ar->ar_valid_arg & ARG_VNODE1) { \
- tok = kau_to_attr32(&ar->ar_arg_vnode1);\
+ tok = au_to_attr32(&ar->ar_arg_vnode1);\
kau_write(rec, tok); \
} \
} else { \
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list