Permalink
Browse files

Fix some typos that were causing probe argument types to show up as u…

…nknown.

Reviewed by:	rwatson (mac provider)
Approved by:	re (glebius)
MFC after:	1 week
  • Loading branch information...
1 parent 732ff0c commit 8ecd1f0d708d0c75faaf88ac2db7901b9a3d97f0 @markjdb markjdb committed Oct 1, 2013
@@ -119,7 +119,7 @@ LIN_SDT_PROBE_DEFINE1(futex, futex_sleep, return, "int");
LIN_SDT_PROBE_DEFINE3(futex, futex_wake, entry, "struct futex *", "int",
"uint32_t");
LIN_SDT_PROBE_DEFINE3(futex, futex_wake, iterate, "uint32_t",
- "struct waiting_proc *", "uin32_t");
+ "struct waiting_proc *", "uint32_t");
LIN_SDT_PROBE_DEFINE1(futex, futex_wake, wakeup, "struct waiting_proc *");
LIN_SDT_PROBE_DEFINE1(futex, futex_wake, return, "int");
LIN_SDT_PROBE_DEFINE4(futex, futex_requeue, entry, "struct futex *", "int",
@@ -87,7 +87,7 @@ LIN_SDT_PROBE_DEFINE1(uid16, linux_setgid16, entry, "l_gid16_t");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setgid16, return, "int");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setuid16, entry, "l_uid16_t");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setuid16, return, "int");
-LIN_SDT_PROBE_DEFINE2(uid16, linux_setregid16, entry, "l_git16_t", "l_git16_t");
+LIN_SDT_PROBE_DEFINE2(uid16, linux_setregid16, entry, "l_gid16_t", "l_gid16_t");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setregid16, return, "int");
LIN_SDT_PROBE_DEFINE2(uid16, linux_setreuid16, entry, "l_uid16_t", "l_uid16_t");
LIN_SDT_PROBE_DEFINE1(uid16, linux_setreuid16, return, "int");
@@ -95,7 +95,7 @@ SDT_PROVIDER_DEFINE(mac);
SDT_PROVIDER_DEFINE(mac_framework);
SDT_PROBE_DEFINE2(mac, kernel, policy, modevent, modevent, "int",
- "struct mac_policy_conf *mpc");
+ "struct mac_policy_conf *");
SDT_PROBE_DEFINE1(mac, kernel, policy, register, register,
"struct mac_policy_conf *");
SDT_PROBE_DEFINE1(mac, kernel, policy, unregister, unregister,
@@ -119,7 +119,7 @@ SDT_PROVIDER_DECLARE(mac_framework); /* Entry points to MAC. */
SDT_PROBE_DEFINE3(mac_framework, kernel, name, mac_grant_err, \
mac-grant-err, "int", arg0, arg1); \
SDT_PROBE_DEFINE3(mac_framework, kernel, name, mac_grant_ok, \
- mac-grant-ok, "INT", arg0, arg1);
+ mac-grant-ok, "int", arg0, arg1);
#define MAC_GRANT_PROBE2(name, error, arg0, arg1) do { \
if (error) { \
@@ -133,7 +133,7 @@ mac_posixshm_check_mmap(struct ucred *cred, struct shmfd *shmfd, int prot,
}
MAC_CHECK_PROBE_DEFINE3(posixshm_check_open, "struct ucred *",
- "struct shmfd *", "accmode_t accmode");
+ "struct shmfd *", "accmode_t");
int
mac_posixshm_check_open(struct ucred *cred, struct shmfd *shmfd,
@@ -783,7 +783,7 @@ mac_vnode_check_revoke(struct ucred *cred, struct vnode *vp)
}
MAC_CHECK_PROBE_DEFINE4(vnode_check_setacl, "struct ucred *",
- "struct vnode *", "acl_tpe_t", "struct acl *");
+ "struct vnode *", "acl_type_t", "struct acl *");
int
mac_vnode_check_setacl(struct ucred *cred, struct vnode *vp, acl_type_t type,

0 comments on commit 8ecd1f0

Please sign in to comment.