Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ivykis for openSUSE:Factory checked in at 2025-06-06 22:42:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ivykis (Old) and /work/SRC/openSUSE:Factory/.ivykis.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ivykis" Fri Jun 6 22:42:40 2025 rev:15 rq:1283466 version:0.43.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ivykis/ivykis.changes 2024-02-08 19:06:06.891714799 +0100 +++ /work/SRC/openSUSE:Factory/.ivykis.new.19631/ivykis.changes 2025-06-06 22:43:09.361050486 +0200 @@ -1,0 +2,7 @@ +Thu Jun 5 21:52:37 UTC 2025 - Jan Engelhardt <jeng...@inai.de> + +- Update to release 0.43.2 + * Handle epoll_pwait2() potentially returning -EPERM in some + containers. + +------------------------------------------------------------------- Old: ---- ivykis-0.43.tar.gz New: ---- _scmsync.obsinfo build.specials.obscpio ivykis-0.43.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ivykis.spec ++++++ --- /var/tmp/diff_new_pack.hfFp2H/_old 2025-06-06 22:43:10.081080326 +0200 +++ /var/tmp/diff_new_pack.hfFp2H/_new 2025-06-06 22:43:10.081080326 +0200 @@ -1,7 +1,7 @@ # # spec file for package ivykis # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define lname libivykis0 Name: ivykis -Version: 0.43 +Version: 0.43.2 Release: 0 Summary: An event dispatching library License: LGPL-2.1-only ++++++ _scmsync.obsinfo ++++++ mtime: 1749160582 commit: 8cdb98a9ba36fdc075c9887b048ba865f1ae3c1f2501a5c6899deeb0875522d6 url: https://src.opensuse.org/jengelh/ivykis revision: master ++++++ ivykis-0.43.tar.gz -> ivykis-0.43.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ivykis-0.43/config.h.in new/ivykis-0.43.2/config.h.in --- old/ivykis-0.43/config.h.in 2024-01-29 19:45:10.000000000 +0100 +++ new/ivykis-0.43.2/config.h.in 2024-06-25 09:12:31.000000000 +0200 @@ -21,6 +21,9 @@ /* Define to 1 if you have the `epoll_create1' function. */ #undef HAVE_EPOLL_CREATE1 +/* Define to 1 if you have the `epoll_pwait2' function. */ +#undef HAVE_EPOLL_PWAIT2 + /* Define to 1 if you have the `eventfd' function. */ #undef HAVE_EVENTFD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ivykis-0.43/configure new/ivykis-0.43.2/configure --- old/ivykis-0.43/configure 2024-01-29 19:45:10.000000000 +0100 +++ new/ivykis-0.43.2/configure 2024-06-25 09:12:31.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for ivykis 0.43. +# Generated by GNU Autoconf 2.71 for ivykis 0.43.2. # # Report bugs to <libivykis-disc...@lists.sourceforge.net>. # @@ -621,8 +621,8 @@ # Identity of this package. PACKAGE_NAME='ivykis' PACKAGE_TARNAME='ivykis' -PACKAGE_VERSION='0.43' -PACKAGE_STRING='ivykis 0.43' +PACKAGE_VERSION='0.43.2' +PACKAGE_STRING='ivykis 0.43.2' PACKAGE_BUGREPORT='libivykis-disc...@lists.sourceforge.net' PACKAGE_URL='' @@ -1375,7 +1375,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ivykis 0.43 to adapt to many kinds of systems. +\`configure' configures ivykis 0.43.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1446,7 +1446,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ivykis 0.43:";; + short | recursive ) echo "Configuration of ivykis 0.43.2:";; esac cat <<\_ACEOF @@ -1556,7 +1556,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ivykis configure 0.43 +ivykis configure 0.43.2 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1834,7 +1834,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ivykis $as_me 0.43, which was +It was created by ivykis $as_me 0.43.2, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3110,7 +3110,7 @@ # Define the identity of the package. PACKAGE='ivykis' - VERSION='0.43' + VERSION='0.43.2' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -14292,6 +14292,13 @@ fi +ac_fn_c_check_func "$LINENO" "epoll_pwait2" "ac_cv_func_epoll_pwait2" +if test "x$ac_cv_func_epoll_pwait2" = xyes +then : + printf "%s\n" "#define HAVE_EPOLL_PWAIT2 1" >>confdefs.h + +fi + ac_fn_c_check_func "$LINENO" "eventfd" "ac_cv_func_eventfd" if test "x$ac_cv_func_eventfd" = xyes then : @@ -15440,7 +15447,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ivykis $as_me 0.43, which was +This file was extended by ivykis $as_me 0.43.2, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15508,7 +15515,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -ivykis config.status 0.43 +ivykis config.status 0.43.2 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ivykis-0.43/configure.ac new/ivykis-0.43.2/configure.ac --- old/ivykis-0.43/configure.ac 2024-01-29 19:45:10.000000000 +0100 +++ new/ivykis-0.43.2/configure.ac 2024-06-25 09:12:31.000000000 +0200 @@ -1,5 +1,5 @@ AC_PREREQ(2.59) -AC_INIT([ivykis], [0.43], [libivykis-disc...@lists.sourceforge.net]) +AC_INIT([ivykis], [0.43.2], [libivykis-disc...@lists.sourceforge.net]) AC_CONFIG_SRCDIR([src/iv_avl.c]) AC_CONFIG_SUBDIRS([test.mt]) AC_CONFIG_HEADER(config.h) @@ -220,6 +220,7 @@ # Checks for library functions. AC_CHECK_FUNCS([epoll_create]) AC_CHECK_FUNCS([epoll_create1]) +AC_CHECK_FUNCS([epoll_pwait2]) AC_CHECK_FUNCS([eventfd]) AC_CHECK_FUNCS([gettid]) AC_CHECK_FUNCS([inotify_init]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ivykis-0.43/src/Makefile.am new/ivykis-0.43.2/src/Makefile.am --- old/ivykis-0.43/src/Makefile.am 2024-01-29 19:45:10.000000000 +0100 +++ new/ivykis-0.43.2/src/Makefile.am 2024-06-25 09:12:31.000000000 +0200 @@ -60,7 +60,7 @@ INC += include/iv_inotify.h endif -LINKFLAGS = -version-info 6:0:6 +LINKFLAGS = -version-info 6:2:6 if HAVE_VERSIONING LINKFLAGS += -Wl,--version-script,$(top_srcdir)/libivykis.posix.ver \ -Wl,-undefined-version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ivykis-0.43/src/Makefile.in new/ivykis-0.43.2/src/Makefile.in --- old/ivykis-0.43/src/Makefile.in 2024-01-29 19:45:10.000000000 +0100 +++ new/ivykis-0.43.2/src/Makefile.in 2024-06-25 09:12:31.000000000 +0200 @@ -415,7 +415,7 @@ INC = include/iv_avl.h include/iv_event.h include/iv_event_raw.h \ include/iv_list.h include/iv_thread.h include/iv_tls.h \ include/iv_work.h $(am__append_2) $(am__append_8) -@HAVE_POSIX_TRUE@LINKFLAGS = -version-info 6:0:6 $(am__append_9) +@HAVE_POSIX_TRUE@LINKFLAGS = -version-info 6:2:6 $(am__append_9) @HAVE_WIN32_TRUE@LINKFLAGS = -version-info 0:0:0 \ @HAVE_WIN32_TRUE@ -Wl,--version-script,$(top_srcdir)/libivykis.win32.ver \ @HAVE_WIN32_TRUE@ -no-undefined diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ivykis-0.43/src/iv_fd_epoll.c new/ivykis-0.43.2/src/iv_fd_epoll.c --- old/ivykis-0.43/src/iv_fd_epoll.c 2024-01-29 19:45:10.000000000 +0100 +++ new/ivykis-0.43.2/src/iv_fd_epoll.c 2024-06-25 09:12:31.000000000 +0200 @@ -143,7 +143,7 @@ } } -#ifdef __NR_epoll_pwait2 +#ifdef HAVE_EPOLL_PWAIT2 static int epoll_pwait2_support = 1; #endif @@ -152,14 +152,23 @@ { int epfd = st->u.epoll.epoll_fd; -#ifdef __NR_epoll_pwait2 +#ifdef HAVE_EPOLL_PWAIT2 if (epoll_pwait2_support) { struct timespec rel; int ret; - ret = syscall(__NR_epoll_pwait2, epfd, events, maxevents, - to_relative(st, &rel, abs), NULL); - if (ret == 0 || errno != ENOSYS) + ret = epoll_pwait2(epfd, events, maxevents, + to_relative(st, &rel, abs), NULL); + + /* + * Some container technologies (at least podman on CentOS + * 7 and docker on Debian Buster, according to reports) + * cause epoll_pwait2() to return -EPERM. It is unclear + * what security benefits this provides, but we'll have to + * handle this by falling back to epoll_wait() just as if + * -ENOSYS had been returned. + */ + if (ret >= 0 || (errno != EPERM && errno != ENOSYS)) return ret; epoll_pwait2_support = 0;