Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192426
b: refs/heads/master
c: 28ef400
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Apr 20, 2010
1 parent 989cafb commit f1b686b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9d393bf8660fbbbe00617015224342bac3ea6fc
refs/heads/master: 28ef4002ec7b4be27f1110b83e255df8159c786a
6 changes: 3 additions & 3 deletions trunk/security/integrity/ima/ima_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,15 @@ static int ima_parse_rule(char *rule, struct ima_measure_rule_entry *entry)

entry->uid = -1;
entry->action = UNKNOWN;
while ((p = strsep(&rule, " ")) != NULL) {
while ((p = strsep(&rule, " \t")) != NULL) {
substring_t args[MAX_OPT_ARGS];
int token;
unsigned long lnum;

if (result < 0)
break;
if (!*p)
break;
if ((*p == '\0') || (*p == ' ') || (*p == '\t'))
continue;
token = match_token(p, policy_tokens, args);
switch (token) {
case Opt_measure:
Expand Down

0 comments on commit f1b686b

Please sign in to comment.