diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/security.c b/security/security.c index 992b612c819a..3664fb9d5cf7 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -530,7 +530,7 @@ int lsm_inode_alloc(struct inode *inode) | |||
530 | * | 530 | * |
531 | * Returns 0, or -ENOMEM if memory can't be allocated. | 531 | * Returns 0, or -ENOMEM if memory can't be allocated. |
532 | */ | 532 | */ |
533 | int lsm_task_alloc(struct task_struct *task) | 533 | static int lsm_task_alloc(struct task_struct *task) |
534 | { | 534 | { |
535 | if (blob_sizes.lbs_task == 0) { | 535 | if (blob_sizes.lbs_task == 0) { |
536 | task->security = NULL; | 536 | task->security = NULL; |
@@ -551,7 +551,7 @@ int lsm_task_alloc(struct task_struct *task) | |||
551 | * | 551 | * |
552 | * Returns 0, or -ENOMEM if memory can't be allocated. | 552 | * Returns 0, or -ENOMEM if memory can't be allocated. |
553 | */ | 553 | */ |
554 | int lsm_ipc_alloc(struct kern_ipc_perm *kip) | 554 | static int lsm_ipc_alloc(struct kern_ipc_perm *kip) |
555 | { | 555 | { |
556 | if (blob_sizes.lbs_ipc == 0) { | 556 | if (blob_sizes.lbs_ipc == 0) { |
557 | kip->security = NULL; | 557 | kip->security = NULL; |
@@ -572,7 +572,7 @@ int lsm_ipc_alloc(struct kern_ipc_perm *kip) | |||
572 | * | 572 | * |
573 | * Returns 0, or -ENOMEM if memory can't be allocated. | 573 | * Returns 0, or -ENOMEM if memory can't be allocated. |
574 | */ | 574 | */ |
575 | int lsm_msg_msg_alloc(struct msg_msg *mp) | 575 | static int lsm_msg_msg_alloc(struct msg_msg *mp) |
576 | { | 576 | { |
577 | if (blob_sizes.lbs_msg_msg == 0) { | 577 | if (blob_sizes.lbs_msg_msg == 0) { |
578 | mp->security = NULL; | 578 | mp->security = NULL; |