diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2002-09-18 22:35:02 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2002-09-18 22:35:02 +0000 |
| commit | cc51a2b55e072f14c83c5aecc1ecb0359062b8ba (patch) | |
| tree | a1d6b0b09215805f23b22c37780084fcabff8912 /sys | |
| parent | bd395ae8f6e09b39f10c93a1d48ebc41acdedc57 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/kern_mac.c | 5 | ||||
| -rw-r--r-- | sys/security/mac/mac_framework.c | 5 | ||||
| -rw-r--r-- | sys/security/mac/mac_internal.h | 5 | ||||
| -rw-r--r-- | sys/security/mac/mac_net.c | 5 | ||||
| -rw-r--r-- | sys/security/mac/mac_pipe.c | 5 | ||||
| -rw-r--r-- | sys/security/mac/mac_process.c | 5 | ||||
| -rw-r--r-- | sys/security/mac/mac_syscalls.c | 5 | ||||
| -rw-r--r-- | sys/security/mac/mac_system.c | 5 | ||||
| -rw-r--r-- | sys/security/mac/mac_vfs.c | 5 |
9 files changed, 18 insertions, 27 deletions
diff --git a/sys/kern/kern_mac.c b/sys/kern/kern_mac.c index 3eed0a668588..02bfa94b825e 100644 --- a/sys/kern/kern_mac.c +++ b/sys/kern/kern_mac.c @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: diff --git a/sys/security/mac/mac_framework.c b/sys/security/mac/mac_framework.c index 3eed0a668588..02bfa94b825e 100644 --- a/sys/security/mac/mac_framework.c +++ b/sys/security/mac/mac_framework.c @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: diff --git a/sys/security/mac/mac_internal.h b/sys/security/mac/mac_internal.h index 3eed0a668588..02bfa94b825e 100644 --- a/sys/security/mac/mac_internal.h +++ b/sys/security/mac/mac_internal.h @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c index 3eed0a668588..02bfa94b825e 100644 --- a/sys/security/mac/mac_net.c +++ b/sys/security/mac/mac_net.c @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: diff --git a/sys/security/mac/mac_pipe.c b/sys/security/mac/mac_pipe.c index 3eed0a668588..02bfa94b825e 100644 --- a/sys/security/mac/mac_pipe.c +++ b/sys/security/mac/mac_pipe.c @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: diff --git a/sys/security/mac/mac_process.c b/sys/security/mac/mac_process.c index 3eed0a668588..02bfa94b825e 100644 --- a/sys/security/mac/mac_process.c +++ b/sys/security/mac/mac_process.c @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: diff --git a/sys/security/mac/mac_syscalls.c b/sys/security/mac/mac_syscalls.c index 3eed0a668588..02bfa94b825e 100644 --- a/sys/security/mac/mac_syscalls.c +++ b/sys/security/mac/mac_syscalls.c @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: diff --git a/sys/security/mac/mac_system.c b/sys/security/mac/mac_system.c index 3eed0a668588..02bfa94b825e 100644 --- a/sys/security/mac/mac_system.c +++ b/sys/security/mac/mac_system.c @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: diff --git a/sys/security/mac/mac_vfs.c b/sys/security/mac/mac_vfs.c index 3eed0a668588..02bfa94b825e 100644 --- a/sys/security/mac/mac_vfs.c +++ b/sys/security/mac/mac_vfs.c @@ -366,12 +366,11 @@ static int mac_policy_register(struct mac_policy_conf *mpc) { struct mac_policy_conf *tmpc; - struct mac_policy_ops *ops; struct mac_policy_op_entry *mpe; int slot; - MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*ops), M_MACOPVEC, - M_WAITOK | M_ZERO); + MALLOC(mpc->mpc_ops, struct mac_policy_ops *, sizeof(*mpc->mpc_ops), + M_MACOPVEC, M_WAITOK | M_ZERO); for (mpe = mpc->mpc_entries; mpe->mpe_constant != MAC_OP_LAST; mpe++) { switch (mpe->mpe_constant) { case MAC_OP_LAST: |
