lkml.org 
[lkml]   [2007]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Version2 Smack: Simplified Mandatory Access Control Kernel

On Aug 27 2007 23:59, Thomas Bleher wrote:

>> + for (cp = data - 1; cp != NULL; cp = strchr(cp + 1, '\n')) {
>> + if (*++cp == '\0')
>> + break;
>> + if (sscanf(cp, "%14s %30s\n", name, target) != 2) {
>> + printk("%s:%d bad scan\n",
>> + __func__, __LINE__);
>
>Leftover debugging printk? Otherwise, a level would be nice.

Or even pr_debug.

(pr_debug("%s...

>> + static struct tree_descr smack_files[] = {

Hey, can we make this const, if it does not change at runtime?


Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-30 21:05    [W:0.035 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site