← Commit list

9fe9c1a6d

Denis Vlasenko
Denis Vlasenko
2007-07-23
FAILED Duration: 13s

Subject

setiles: cosmetics, no real code changes

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

selinux/setfiles.c+3 -5
@@ -1,7 +1,7 @@
/*
setfiles: based on policycoreutils 2.0.19
policycoreutils was released under GPL 2.
- Port to BusyBox by 2007 Yuichi Nakamura <[email protected]>
+ Port to BusyBox (c) 2007 by Yuichi Nakamura <[email protected]>
*/
#include "libbb.h"
@@ -182,10 +182,8 @@ static int match(const char *name, struct stat *sb, char **con)
char path[PATH_MAX + 1];
char *tmp_path = xstrdup(name);
- if (excludeCtr > 0) {
- if (exclude(name)) {
- goto err;
- }
+ if (excludeCtr > 0 && exclude(name)) {
+ goto err;
}
ret = lstat(name, sb);
if (ret) {