On 1/14/26 00:00, Michael Tokarev wrote:
inotify_init() and other syscalls appeared in linux 2.6.13,
inotify_init1() - in linux 2.6.27.

There's no need to check their presence on linux anymore.

Keep condition on TARGET_NR_inotify_init because modern
architectures have only more generic inotify_init1().

Other, not linux-specific, places of the code checks for
inotify_init1() syscall only.

Signed-off-by: Michael Tokarev<[email protected]>
---
  linux-user/fd-trans.c |  5 -----
  linux-user/fd-trans.h |  4 ----
  linux-user/syscall.c  | 19 ++-----------------
  3 files changed, 2 insertions(+), 26 deletions(-)

As Peter mentioned vs patch 1, the relevant version is glibc 2.4.
But again, well within the minimum supported version.

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to