summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac/mac_framework.c2
-rw-r--r--sys/security/mac/mac_internal.h2
-rw-r--r--sys/security/mac/mac_posix_shm.c2
-rw-r--r--sys/security/mac/mac_vfs.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c
index ed0c05a..25ffa91 100644
--- a/sys/security/mac/mac_framework.c
+++ b/sys/security/mac/mac_framework.c
@@ -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,
diff --git a/sys/security/mac/mac_internal.h b/sys/security/mac/mac_internal.h
index 7244477..6b1c50c 100644
--- a/sys/security/mac/mac_internal.h
+++ b/sys/security/mac/mac_internal.h
@@ -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) { \
diff --git a/sys/security/mac/mac_posix_shm.c b/sys/security/mac/mac_posix_shm.c
index 1202d46..15b298d 100644
--- a/sys/security/mac/mac_posix_shm.c
+++ b/sys/security/mac/mac_posix_shm.c
@@ -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,
diff --git a/sys/security/mac/mac_vfs.c b/sys/security/mac/mac_vfs.c
index c4f305b..05f49c2 100644
--- a/sys/security/mac/mac_vfs.c
+++ b/sys/security/mac/mac_vfs.c
@@ -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,
OpenPOWER on IntegriCloud