]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/flags-set.cocci
test: Disable LUKS devices from initramfs in QEMU tests
[thirdparty/systemd.git] / coccinelle / flags-set.cocci
1 @@
2 /* Disable this transformation for the securebits-util.h, as it makes
3 * the expression there confusing. */
4 position p : script:python() { p[0].file != "src/shared/securebits-util.h" };
5 expression x, y;
6 @@
7 (
8 - ((x@p) & (y)) == (y)
9 + FLAGS_SET(x, y)
10 |
11 - (x@p & (y)) == (y)
12 + FLAGS_SET(x, y)
13 |
14 - ((x@p) & y) == y
15 + FLAGS_SET(x, y)
16 )