Cosmetic changes to declarations. No functional change.
This commit is contained in:
parent
756638cf95
commit
ce7ff2b92d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: secmodel_securelevel.c,v 1.17 2009/10/06 04:28:10 elad Exp $ */
|
||||
/* $NetBSD: secmodel_securelevel.c,v 1.18 2009/10/06 05:01:51 elad Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2006 Elad Efrat <elad@NetBSD.org>
|
||||
* All rights reserved.
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: secmodel_securelevel.c,v 1.17 2009/10/06 04:28:10 elad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: secmodel_securelevel.c,v 1.18 2009/10/06 05:01:51 elad Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_insecure.h"
|
||||
|
@ -216,9 +216,8 @@ securelevel_modcmd(modcmd_t cmd, void *arg)
|
|||
* Responsibility: Securelevel
|
||||
*/
|
||||
int
|
||||
secmodel_securelevel_system_cb(kauth_cred_t cred,
|
||||
kauth_action_t action, void *cookie, void *arg0, void *arg1,
|
||||
void *arg2, void *arg3)
|
||||
secmodel_securelevel_system_cb(kauth_cred_t cred, kauth_action_t action,
|
||||
void *cookie, void *arg0, void *arg1, void *arg2, void *arg3)
|
||||
{
|
||||
int result;
|
||||
enum kauth_system_req req;
|
||||
|
@ -332,9 +331,8 @@ secmodel_securelevel_system_cb(kauth_cred_t cred,
|
|||
* Responsibility: Securelevel
|
||||
*/
|
||||
int
|
||||
secmodel_securelevel_process_cb(kauth_cred_t cred,
|
||||
kauth_action_t action, void *cookie, void *arg0,
|
||||
void *arg1, void *arg2, void *arg3)
|
||||
secmodel_securelevel_process_cb(kauth_cred_t cred, kauth_action_t action,
|
||||
void *cookie, void *arg0, void *arg1, void *arg2, void *arg3)
|
||||
{
|
||||
struct proc *p;
|
||||
int result;
|
||||
|
@ -391,9 +389,8 @@ secmodel_securelevel_process_cb(kauth_cred_t cred,
|
|||
* Responsibility: Securelevel
|
||||
*/
|
||||
int
|
||||
secmodel_securelevel_network_cb(kauth_cred_t cred,
|
||||
kauth_action_t action, void *cookie, void *arg0,
|
||||
void *arg1, void *arg2, void *arg3)
|
||||
secmodel_securelevel_network_cb(kauth_cred_t cred, kauth_action_t action,
|
||||
void *cookie, void *arg0, void *arg1, void *arg2, void *arg3)
|
||||
{
|
||||
int result;
|
||||
enum kauth_network_req req;
|
||||
|
@ -435,9 +432,8 @@ secmodel_securelevel_network_cb(kauth_cred_t cred,
|
|||
* Responsibility: Securelevel
|
||||
*/
|
||||
int
|
||||
secmodel_securelevel_machdep_cb(kauth_cred_t cred,
|
||||
kauth_action_t action, void *cookie, void *arg0,
|
||||
void *arg1, void *arg2, void *arg3)
|
||||
secmodel_securelevel_machdep_cb(kauth_cred_t cred, kauth_action_t action,
|
||||
void *cookie, void *arg0, void *arg1, void *arg2, void *arg3)
|
||||
{
|
||||
int result;
|
||||
|
||||
|
@ -470,9 +466,8 @@ secmodel_securelevel_machdep_cb(kauth_cred_t cred,
|
|||
* Responsibility: Securelevel
|
||||
*/
|
||||
int
|
||||
secmodel_securelevel_device_cb(kauth_cred_t cred,
|
||||
kauth_action_t action, void *cookie, void *arg0,
|
||||
void *arg1, void *arg2, void *arg3)
|
||||
secmodel_securelevel_device_cb(kauth_cred_t cred, kauth_action_t action,
|
||||
void *cookie, void *arg0, void *arg1, void *arg2, void *arg3)
|
||||
{
|
||||
int result;
|
||||
|
||||
|
|
Loading…
Reference in New Issue