2 * Utilities for the Linux Security Module for Chromium OS
3 * (Since CONFIG_AUDIT is disabled for Chrome OS, we must repurpose
4 * a bunch of the audit string handling logic here instead.)
6 * Copyright 2012 Google Inc. All Rights Reserved
9 * Kees Cook <keescook@chromium.org>
11 * This software is licensed under the terms of the GNU General Public
12 * License version 2, as published by the Free Software Foundation, and
13 * may be copied, distributed, and modified under those terms.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
21 #ifndef _SECURITY_CHROMIUMOS_UTILS_H
22 #define _SECURITY_CHROMIUMOS_UTILS_H
24 #include <linux/sched.h>
27 char *printable(char *source);
28 char *printable_cmdline(struct task_struct *task);
30 #endif /* _SECURITY_CHROMIUMOS_UTILS_H */