diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-06-20 09:37:11 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-06-20 09:47:22 -0400 |
commit | 666bd94f932ec6f1b031f3220bbc9f55ca83c409 (patch) | |
tree | f78a371bbd79fe7b906af5b688abb994ede4b91d /tests/gnu/execdir_self.out | |
parent | c5becba7c522962cf3f0f8b6e02a771b217b26a2 (diff) | |
download | bfs-666bd94f932ec6f1b031f3220bbc9f55ca83c409.tar.xz |
opt: "Not me" doesn't imply "nobody"
We were making `-user <existing>` imply `! -nouser`, which is valid, but
we were also makeing `! -user <existing>` imply `-nouser`, which isn't.
Fix it by only constraining the `-nouser`/`-nogroup` predicates in the
true case.
While I'm here, fix a similar latent bug that would have triggered if we
ever merged `-readable -and -writable` into one `R_OK | W_OK` test.
Fixes: https://github.com/tavianator/bfs/issues/155
Fixes: 305ee902 ("opt: Track data flow information about predicates")
Diffstat (limited to 'tests/gnu/execdir_self.out')
0 files changed, 0 insertions, 0 deletions