lib/replace: let DISABLE_OPATH also undef __NR_openat2
commitae1a84f7313bdf4702492451714eacc78ee7745f
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Aug 2022 08:53:06 +0000 (12 10:53 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 15 Aug 2022 15:03:37 +0000 (15 15:03 +0000)
treecd3b2d38a28441b867f87a98205fe15d2e6c12db
parentf7618dd31a9f8f6c0dbfdedd1a664eed25e2e449
lib/replace: let DISABLE_OPATH also undef __NR_openat2

The reason for DISABLE_OPATH is to simulate a non-linux
system, so we should not use openat2() either.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/replace/replace.c