Subversion リポジトリの参照
Diff of /trunk/1.7.x/ccs-patch/security/ccsecurity/util.c
Parent Directory
| Revision Log
| Patch
1141 |
return -EINVAL; |
return -EINVAL; |
1142 |
*cp = '\0'; |
*cp = '\0'; |
1143 |
if (!strcmp(data, "COMMENT")) { |
if (!strcmp(data, "COMMENT")) { |
1144 |
ccs_profile->comment = ccs_get_name(cp + 1); |
const struct ccs_path_info *new_comment |
1145 |
|
= ccs_get_name(cp + 1); |
1146 |
|
const struct ccs_path_info *old_comment; |
1147 |
|
old_comment = ccs_profile->comment; |
1148 |
|
ccs_profile->comment = new_comment; |
1149 |
|
/* BUG: Need to wait for SRCU before kfree(). */ |
1150 |
|
ccs_put_name(old_comment); |
1151 |
ccs_profile_entry_used[0] = true; |
ccs_profile_entry_used[0] = true; |
1152 |
return 0; |
return 0; |
1153 |
} |
} |
|
Legend:
Removed from v.2828 |
|
changed lines |
|
Added in v.2831 |
|
|
|