apparmor: constify policy name and hname

Signed-off-by: John Johansen <john.johansen@canonical.com>
此提交包含在:
John Johansen
2017-01-16 00:42:30 -08:00
父節點 6e474e3063
當前提交 bbe4a7c873
共有 3 個檔案被更改,包括 4 行新增4 行删除

查看文件

@@ -123,8 +123,8 @@ static inline bool path_mediated_fs(struct dentry *dentry)
* @profiles: head of the profiles list contained in the object
*/
struct aa_policy {
char *name;
char *hname;
const char *name;
const char *hname;
struct list_head list;
struct list_head profiles;
};