Compare commits

...

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

8 changed files with 35 additions and 2 deletions

10
.gitignore vendored
View File

@ -1 +1,9 @@
SOURCES/psmisc-23.1.tar.xz
psmisc-22.10.tar.gz
/psmisc-22.13.tar.gz
/psmisc-22.14.tar.gz
/psmisc-22.15.tar.gz
/psmisc-22.16.tar.gz
/psmisc-22.19.tar.gz
/psmisc-22.20.tar.gz
/psmisc-22.21.tar.gz
/psmisc-23.1.tar.xz

View File

@ -1 +0,0 @@
d19031a5ba18a530aa0bb768cb74593f9af74b08 SOURCES/psmisc-23.1.tar.xz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -0,0 +1,19 @@
diff --git a/src/fuser.c b/src/fuser.c
index 4688dfe..d19075a 100644
--- a/src/fuser.c
+++ b/src/fuser.c
@@ -1112,7 +1112,13 @@ print_matches(struct names *names_head, const opt_type opts,
for (nptr = names_head; nptr != NULL; nptr = nptr->next) {
if (opts & OPT_SILENT) {
- have_match = nptr->matched_procs ? 1 : have_match;
+ for (pptr = nptr->matched_procs; pptr != NULL;
+ pptr = pptr->next) {
+ if(pptr->proc_type != PTYPE_NORMAL)
+ continue;
+
+ have_match = 1;
+ }
} else { /* We're not silent */
if ((opts & OPT_ALLFILES) == 0) {
name_has_procs = 0;

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (psmisc-23.1.tar.xz) = f678869ea555986a2538ada9630b74ce79304f3ee85cc9d69a3912d8d30ad491829eac0dcb69aae7003ee9b5de9645d2135b80a9e0b77824e60c417dc0be5f95