aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/domain.c')
-rw-r--r--security/tomoyo/domain.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/security/tomoyo/domain.c b/security/tomoyo/domain.c
index 878d0206f43e..cd0f92d88bb4 100644
--- a/security/tomoyo/domain.c
+++ b/security/tomoyo/domain.c
@@ -1,9 +1,7 @@
1/* 1/*
2 * security/tomoyo/domain.c 2 * security/tomoyo/domain.c
3 * 3 *
4 * Domain transition functions for TOMOYO. 4 * Copyright (C) 2005-2011 NTT DATA CORPORATION
5 *
6 * Copyright (C) 2005-2010 NTT DATA CORPORATION
7 */ 5 */
8 6
9#include "common.h" 7#include "common.h"
@@ -182,10 +180,10 @@ LIST_HEAD(tomoyo_domain_list);
182 */ 180 */
183static const char *tomoyo_last_word(const char *name) 181static const char *tomoyo_last_word(const char *name)
184{ 182{
185 const char *cp = strrchr(name, ' '); 183 const char *cp = strrchr(name, ' ');
186 if (cp) 184 if (cp)
187 return cp + 1; 185 return cp + 1;
188 return name; 186 return name;
189} 187}
190 188
191/** 189/**