Commit Graph

890 Commits

Author SHA256 Message Date
Dominique Leuenberger
20afe99d09 Accepting request 931990 from Base:System
- Add ExtraBuildFlags for build flags that cannot be passed to configure.
- Add support for livepatches (JSC #SLE-20049).
- Generate ipa-clones tarball artifact when livepatching is enabled.

- glibc.rpmlintrc: Update for rpmlint2

OBS-URL: https://build.opensuse.org/request/show/931990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=255
2021-11-21 22:51:15 +00:00
Andreas Schwab
b7416ef011 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=607 2021-11-17 15:21:04 +00:00
Andreas Schwab
95c3ec44db Accepting request 931976 from home:gbelinassi
- Add ExtraBuildFlags for build flags that cannot be passed to configure.

------------------( below changes from previous sr )---------------------------
- Pass livepatchable flags directly to make.
- Add optional support for livepatches (JSC #SLE-20049).
- Generate ipa-clones tarball artifact when livepatch support is enabled.

Userspace Livepatching allows your application to be updated without restarting. For a library to be livepatchable, it has to be compiled with special flags (-fpatchable-functions-entry=X,Y).

To aid the development of livepatches, ipa-clones are also generated in the build process and packed into a livepatch-devel package. This package is meant to be used by developers during their workflow: these files contains log of changes that gcc did in the compiled code that may change code layout, which must be accounted when developing a livepatch. For instance, livepatching a function which is inlined requires livepatching every function that calls it. Tools that use such files already exists in kernel-livepatching and we aim porting them to userspace livepatching as well.

OBS-URL: https://build.opensuse.org/request/show/931976
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=606
2021-11-17 15:17:26 +00:00
Andreas Schwab
5b369144fa Accepting request 931775 from home:Andreas_Schwab:Factory
- glibc.rpmlintrc: Update for rpmlint2

OBS-URL: https://build.opensuse.org/request/show/931775
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=605
2021-11-16 14:09:48 +00:00
Dominique Leuenberger
3f40b12ef9 Accepting request 923223 from Base:System
- ld-show-auxv-colon.patch: elf: Fix missing colon in LD_SHOW_AUXV output
  (BZ #282539
- x86-string-control-test.patch: x86-64: Use testl to check
  __x86_string_control
- pthread-kill-fail-after-exit.patch: nptl: pthread_kill, pthread_cancel
  should not fail after exit (BZ #19193)
- pthread-kill-race-thread-exit.patch: nptl: Fix race between pthread_kill
  and thread exit (BZ #12889)
- getcwd-attribute-access.patch: posix: Fix attribute access mode on
  getcwd (BZ #27476)
- pthread-kill-return-esrch.patch: nptl: pthread_kill needs to return
  ESRCH for old programs (BZ #19193)
- pthread-mutexattr-getrobust-np-type.patch: nptl: Fix type of
  pthread_mutexattr_getrobust_np, pthread_mutexattr_setrobust_np (BZ
  #28036)
- setxid-deadlock-blocked-signals.patch: nptl: Avoid setxid deadlock with
  blocked signals in thread exit (BZ #28361)
- pthread-kill-send-specific-thread.patch: nptl: pthread_kill must send
  signals to a specific thread (BZ #28407)
- sysconf-nprocessors-affinity.patch: linux: Revert the use of
  sched_getaffinity on get_nproc (BZ #28310)
- iconv-charmap-close-output.patch: renamed from
  icon-charmap-close-output.patch (forwarded request 923222 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/923223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=254
2021-10-11 13:30:31 +00:00
Andreas Schwab
4d4a3834ee Accepting request 923222 from home:Andreas_Schwab:Factory
- ld-show-auxv-colon.patch: elf: Fix missing colon in LD_SHOW_AUXV output
  (BZ #282539
- x86-string-control-test.patch: x86-64: Use testl to check
  __x86_string_control
- pthread-kill-fail-after-exit.patch: nptl: pthread_kill, pthread_cancel
  should not fail after exit (BZ #19193)
- pthread-kill-race-thread-exit.patch: nptl: Fix race between pthread_kill
  and thread exit (BZ #12889)
- getcwd-attribute-access.patch: posix: Fix attribute access mode on
  getcwd (BZ #27476)
- pthread-kill-return-esrch.patch: nptl: pthread_kill needs to return
  ESRCH for old programs (BZ #19193)
- pthread-mutexattr-getrobust-np-type.patch: nptl: Fix type of
  pthread_mutexattr_getrobust_np, pthread_mutexattr_setrobust_np (BZ
  #28036)
- setxid-deadlock-blocked-signals.patch: nptl: Avoid setxid deadlock with
  blocked signals in thread exit (BZ #28361)
- pthread-kill-send-specific-thread.patch: nptl: pthread_kill must send
  signals to a specific thread (BZ #28407)
- sysconf-nprocessors-affinity.patch: linux: Revert the use of
  sched_getaffinity on get_nproc (BZ #28310)
- iconv-charmap-close-output.patch: renamed from
  icon-charmap-close-output.patch

OBS-URL: https://build.opensuse.org/request/show/923222
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=604
2021-10-05 12:30:15 +00:00
Dominique Leuenberger
1607a31645 Accepting request 911561 from Base:System
- Don't create separate debuginfo packages for cross packages

- ldconfig-leak-empty-paths.patch: ldconfig: avoid leak on empty paths in
  config file
- gconv-parseconfdir-memory-leak.patch: gconv_parseconfdir: Fix memory leak
- gaiconf-init-double-free.patch: gaiconf_init: Avoid double-free in label
  and precedence lists
- copy-and-spawn-sgid-double-close.patch: copy_and_spawn_sgid: Avoid
  double calls to close()
- icon-charmap-close-output.patch: iconv_charmap: Close output file when
  done
- fcntl-time-bits-64-redirect.patch: Linux: Fix fcntl, ioctl, prctl
  redirects for _TIME_BITS=64 (BZ #28182)
- librt-null-pointer.patch: librt: fix NULL pointer dereference (BZ
  #28213) (forwarded request 911560 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/911561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=253
2021-09-17 21:25:22 +00:00
Andreas Schwab
d6ae5339fb Accepting request 911560 from home:Andreas_Schwab:Factory
- Don't create separate debuginfo packages for cross packages

- ldconfig-leak-empty-paths.patch: ldconfig: avoid leak on empty paths in
  config file
- gconv-parseconfdir-memory-leak.patch: gconv_parseconfdir: Fix memory leak
- gaiconf-init-double-free.patch: gaiconf_init: Avoid double-free in label
  and precedence lists
- copy-and-spawn-sgid-double-close.patch: copy_and_spawn_sgid: Avoid
  double calls to close()
- icon-charmap-close-output.patch: iconv_charmap: Close output file when
  done
- fcntl-time-bits-64-redirect.patch: Linux: Fix fcntl, ioctl, prctl
  redirects for _TIME_BITS=64 (BZ #28182)
- librt-null-pointer.patch: librt: fix NULL pointer dereference (BZ
  #28213)

OBS-URL: https://build.opensuse.org/request/show/911560
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=603
2021-08-12 08:36:15 +00:00
Andreas Schwab
acd6b8d9f3 Accepting request 911264 from home:matz2:cross
- Add cross development packages for aarch64 and riscv64.

OBS-URL: https://build.opensuse.org/request/show/911264
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=602
2021-08-11 12:09:30 +00:00
Andreas Schwab
a589b37fb7 Accepting request 909816 from home:Andreas_Schwab:Factory
- Update to glibc 2.34
  Major new features:
  * When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
    PTHREAD_STACK_MIN is no longer constant and is redefined to
    sysconf(_SC_THREAD_STACK_MIN)
  * Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ
  * The dynamic linker implements the --list-diagnostics option, printing
    a dump of information related to IFUNC resolver operation and
    glibc-hwcaps subdirectory selection
  * On Linux, the function execveat has been added
  * The ISO C2X function timespec_getres has been added
  * The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
    C2X, is supported to enable declarations of functions defined in Annex F
    of C2X
  * Add support for 64-bit time_t on configurations like x86 where time_t
    is traditionally 32-bit
  * The main gconv-modules file in glibc now contains only a small set of
    essential converter modules and the rest have been moved into a supplementary
    configuration file gconv-modules-extra.conf in the gconv-modules.d directory
    in the same GCONV_PATH
  * On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
    to configure the size of the thread stack cache
  * The function _Fork has been added as an async-signal-safe fork replacement
    since Austin Group issue 62 droped the async-signal-safe requirement for
    fork (and it will be included in the future POSIX standard)
  * On Linux, the close_range function has been added
  * The function closefrom has been added
  * The posix_spawn_file_actions_closefrom_np function has been added, enabling
    posix_spawn and posix_spawnp to close all file descriptors great than or
    equal to a giver integer

OBS-URL: https://build.opensuse.org/request/show/909816
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=601
2021-08-02 14:53:08 +00:00
Dominique Leuenberger
6616ed6a16 Accepting request 900402 from Base:System
- Enable usrmerge in Factory always as it's default there
- Add conflict with pre-usrmerge filesystem package (forwarded request 900350 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/900402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=252
2021-06-20 17:37:44 +00:00
Andreas Schwab
73b0bc57c8 Accepting request 900350 from home:lnussel:usrmove
- Enable usrmerge in Factory always as it's default there
- Add conflict with pre-usrmerge filesystem package

OBS-URL: https://build.opensuse.org/request/show/900350
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=599
2021-06-16 14:37:05 +00:00
Dominique Leuenberger
33487d4e57 Accepting request 899091 from Base:System
- mq-notify-use-after-free.patch: Use __pthread_attr_copy in mq_notify
  (CVE-2021-33574, bsc#1186489, BZ #27896)
- Drop glibc-usrmerge-bootstrap-helper package (forwarded request 899090 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/899091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=251
2021-06-15 14:36:44 +00:00
Andreas Schwab
75f810d685 Accepting request 899090 from home:Andreas_Schwab:Factory
- mq-notify-use-after-free.patch: Use __pthread_attr_copy in mq_notify
  (CVE-2021-33574, bsc#1186489, BZ #27896)
- Drop glibc-usrmerge-bootstrap-helper package

OBS-URL: https://build.opensuse.org/request/show/899090
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=597
2021-06-10 16:46:48 +00:00
Dominique Leuenberger
15d337dfe8 Accepting request 895837 from Base:System
- tst-cpu-features-amx.patch: x86: tst-cpu-features-supports.c: Update AMX
  check (forwarded request 895836 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/895837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=250
2021-06-02 20:10:31 +00:00
Andreas Schwab
cdefcafa37 Accepting request 895836 from home:Andreas_Schwab:Factory
- tst-cpu-features-amx.patch: x86: tst-cpu-features-supports.c: Update AMX
  check

OBS-URL: https://build.opensuse.org/request/show/895836
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=595
2021-05-27 19:26:46 +00:00
Andreas Schwab
c82c4041fc Accepting request 895511 from home:Andreas_Schwab:Factory
- rawmemchr-warning.patch: string: Work around GCC PR 98512 in rawmemchr

OBS-URL: https://build.opensuse.org/request/show/895511
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=594
2021-05-26 10:27:44 +00:00
Dominique Leuenberger
c64471f12a Accepting request 890996 from Base:System
- nptl-db-libpthread-load-order.patch: nptl_db: Support different
  libpthread/ld.so load orders (bsc#1184214, BZ #27744)

OBS-URL: https://build.opensuse.org/request/show/890996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=249
2021-05-11 21:03:28 +00:00
Andreas Schwab
99c39a9631 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=592 2021-05-06 12:09:43 +00:00
Andreas Schwab
361742413c Accepting request 890373 from home:Andreas_Schwab:Factory
- nptl-db-libpthread-load-order.patch: nptl_db: Support different
  libpthread/ld.so load orders (bscn#1184214, BZ #27744)

OBS-URL: https://build.opensuse.org/request/show/890373
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=591
2021-05-04 13:27:53 +00:00
Dominique Leuenberger
b9a34d9e5a Accepting request 885031 from Base:System
- Enable support for static PIE (bsc#1184646)
- select-modify-timeout.patch: linux: always update select timeout
  (bsc#1184339, BZ #27706) (forwarded request 885029 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/885031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=248
2021-04-18 19:43:55 +00:00
Andreas Schwab
97cf158760 Accepting request 885029 from home:Andreas_Schwab:Factory
- Enable support for static PIE (bsc#1184646)
- select-modify-timeout.patch: linux: always update select timeout
  (bsc#1184339, BZ #27706)

OBS-URL: https://build.opensuse.org/request/show/885029
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=589
2021-04-13 14:29:17 +00:00
Andreas Schwab
67ea2f3a6c Accepting request 884677 from home:Andreas_Schwab:Factory
- Don't remove -f[asynchronous-]unwind-tables during configure run, no
  longer needed

OBS-URL: https://build.opensuse.org/request/show/884677
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=588
2021-04-12 13:42:33 +00:00
Dominique Leuenberger
a396f1d32c Accepting request 878145 from Base:System
- nss-database-check-reload.patch: nsswitch: return result when nss
  database is locked (BZ #27343)
- nss-load-chroot.patch: nss: Re-enable NSS module loading after chroot
  (bsc#1182323, BZ #27389)
- x86-isa-level.patch: x86: Set minimum x86-64 level marker (bsc#1182522,
  BZ #27318)
- nss-database-lookup.patch: nss: fix nss_database_lookup2's alternate
  handling (bsc#1182247, BZ #27416)
- nss-revert-api.patch: remove
- nscd-netgroupcache.patch: nscd: Fix double free in netgroupcache
  (CVE-2021-27645, bsc#1182733, BZ #27462)

OBS-URL: https://build.opensuse.org/request/show/878145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=247
2021-03-11 19:06:59 +00:00
Andreas Schwab
33836751f9 Accepting request 878144 from home:Andreas_Schwab:Factory
OBS-URL: https://build.opensuse.org/request/show/878144
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=586
2021-03-10 10:18:01 +00:00
Andreas Schwab
47a70fb50a Accepting request 877767 from home:Andreas_Schwab:Factory
- nss-database-check-reload.patch: nsswitch: return result when nss
  database is locked (BZ #27343)
- nss-load-chroot.patch: nss: Re-enable NSS module loading after chroot
  (bsc#1182323, BZ #27389)
- x86-isa-level.patch: x86: Set minimum x86-64 level marker (bsc#1182522,
  BZ #27318)
- nss-database-lookup.patch: nss: fix nss_database_lookup2's alternate
  handling (bsc#1182247, BZ #27416)
- nss-revert-api.patch: remove
- nscd-netgroupcache.patch: nscd: Fix double free in netgroupcache
  (CVE-2021-27645, bsc#1182733, BZ #27462)

OBS-URL: https://build.opensuse.org/request/show/877767
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=585
2021-03-08 15:03:02 +00:00
Dominique Leuenberger
7874aea910 Accepting request 876231 from Base:System
- Disable x86 ISA level for now (bsc#1182522, BZ #27318)
- nss-revert-api.patch: Workaround for nss-compat brokeness (bsc#1182247,
  BZ #27416) (forwarded request 876230 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/876231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=246
2021-03-07 14:19:35 +00:00
Andreas Schwab
b855cdeb01 Accepting request 876230 from home:Andreas_Schwab:Factory
- Disable x86 ISA level for now (bsc#1182522, BZ #27318)
- nss-revert-api.patch: Workaround for nss-compat brokeness (bsc#1182247,
  BZ #27416)

OBS-URL: https://build.opensuse.org/request/show/876230
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=583
2021-03-02 13:18:55 +00:00
Andreas Schwab
e4be57d504 Accepting request 876196 from home:Andreas_Schwab:Factory
- Fix build of utils flavor for usrmerge

OBS-URL: https://build.opensuse.org/request/show/876196
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=582
2021-03-02 10:45:08 +00:00
Dominique Leuenberger
9ebe491384 Accepting request 873392 from Base:System
- Prepare for usrmerge (bsc#1029961) (forwarded request 873391 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/873392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=245
2021-02-23 19:20:01 +00:00
Andreas Schwab
63fb16c6c1 Accepting request 873391 from home:Andreas_Schwab:Factory
- Prepare for usrmerge (bsc#1029961)

OBS-URL: https://build.opensuse.org/request/show/873391
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=580
2021-02-18 13:40:31 +00:00
Andreas Schwab
473f2a92cd Accepting request 872846 from home:Guillaume_G:branches:Base:System
- Add --enable-memory-tagging for aarch64

OBS-URL: https://build.opensuse.org/request/show/872846
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=579
2021-02-16 15:33:24 +00:00
Dominique Leuenberger
553ff7e510 Accepting request 868600 from Base:System
- Update to glibc 2.33
  * The dynamic linker accepts the --list-tunables argument which prints
    all the supported tunables.
  * The dynamic linker accepts the --argv0 argument and provides opportunity
    to change argv[0] string.
  * The dynamic linker loads optimized implementations of shared objects
    from subdirectories under the glibc-hwcaps directory on the library
    search path if the system's capabilities meet the requirements for
    that subdirectory.
  * The new --help option of the dynamic linker provides usage and
    information and library search path diagnostics.
  * The mallinfo2 function is added to report statistics as per mallinfo,
    but with larger field widths to accurately report values that are
    larger than fit in an integer.
  * Add <sys/platform/x86.h> to provide query macros for x86 CPU features.
  * A new fortification level _FORTIFY_SOURCE=3 is available.
  * The mallinfo function is marked deprecated.
  * When dlopen is used in statically linked programs, alternative library
    implementations from HWCAP subdirectories are no longer loaded.
  * The deprecated <sys/vtimes.h> header and the function vtimes have been
    removed.
  * On s390(x), the type float_t is now derived from the macro
    __FLT_EVAL_METHOD__ that is defined by the compiler, instead of being
    hardcoded to double.
  * A future version of glibc will stop loading shared objects from the
    "tls" subdirectories on the library search path, the subdirectory that
    corresponds to the AT_PLATFORM system name, and also stop employing
    the legacy AT_HWCAP search mechanism.
  * CVE-2021-3326: An assertion failure during conversion from the
    ISO-20220-JP-3 character set using the iconv function has been fixed. (forwarded request 868599 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/868600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=244
2021-02-11 11:44:35 +00:00
Andreas Schwab
aa7f55e9fc Accepting request 868599 from home:Andreas_Schwab:Factory
- Update to glibc 2.33
  * The dynamic linker accepts the --list-tunables argument which prints
    all the supported tunables.
  * The dynamic linker accepts the --argv0 argument and provides opportunity
    to change argv[0] string.
  * The dynamic linker loads optimized implementations of shared objects
    from subdirectories under the glibc-hwcaps directory on the library
    search path if the system's capabilities meet the requirements for
    that subdirectory.
  * The new --help option of the dynamic linker provides usage and
    information and library search path diagnostics.
  * The mallinfo2 function is added to report statistics as per mallinfo,
    but with larger field widths to accurately report values that are
    larger than fit in an integer.
  * Add <sys/platform/x86.h> to provide query macros for x86 CPU features.
  * A new fortification level _FORTIFY_SOURCE=3 is available.
  * The mallinfo function is marked deprecated.
  * When dlopen is used in statically linked programs, alternative library
    implementations from HWCAP subdirectories are no longer loaded.
  * The deprecated <sys/vtimes.h> header and the function vtimes have been
    removed.
  * On s390(x), the type float_t is now derived from the macro
    __FLT_EVAL_METHOD__ that is defined by the compiler, instead of being
    hardcoded to double.
  * A future version of glibc will stop loading shared objects from the
    "tls" subdirectories on the library search path, the subdirectory that
    corresponds to the AT_PLATFORM system name, and also stop employing
    the legacy AT_HWCAP search mechanism.
  * CVE-2021-3326: An assertion failure during conversion from the
    ISO-20220-JP-3 character set using the iconv function has been fixed.

OBS-URL: https://build.opensuse.org/request/show/868599
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=577
2021-02-02 11:37:02 +00:00
Andreas Schwab
5f38c0099e Accepting request 864620 from home:Andreas_Schwab:Factory
- Remove support for %optimize_power
- Move to power4 baseline on ppc

OBS-URL: https://build.opensuse.org/request/show/864620
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=576
2021-01-20 10:10:56 +00:00
Dominique Leuenberger
ca9c9ca752 Accepting request 856526 from Base:System
- aarch64-static-pie.patch: fix static PIE start code for BTI
  (bsc#1179450, BZ #27068)
- iconv-redundant-shift.patch: iconv: Accept redundant shift sequences in
  IBM1364 (CVE-2020-27618, bsc#1178386, BZ #26224)
- iconv-ucs4-loop-bounds.patch: iconv: Fix incorrect UCS4 inner loop
  bounds (CVE-2020-29562, bsc#1179694, BZ #26923)
- printf-long-double-non-normal.patch: x86: Harden printf against
  non-normal long double values (CVE-2020-29573, bsc#1179721, BZ #26649)
- get-nprocs-cpu-online-parsing.patch: Fix parsing of
  /sys/devices/system/cpu/online (bsc#1180038, BZ #25859) (forwarded request 856525 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/856526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=243
2020-12-21 09:21:57 +00:00
Andreas Schwab
71ba03d4de Accepting request 856525 from home:Andreas_Schwab:Factory
- aarch64-static-pie.patch: fix static PIE start code for BTI
  (bsc#1179450, BZ #27068)
- iconv-redundant-shift.patch: iconv: Accept redundant shift sequences in
  IBM1364 (CVE-2020-27618, bsc#1178386, BZ #26224)
- iconv-ucs4-loop-bounds.patch: iconv: Fix incorrect UCS4 inner loop
  bounds (CVE-2020-29562, bsc#1179694, BZ #26923)
- printf-long-double-non-normal.patch: x86: Harden printf against
  non-normal long double values (CVE-2020-29573, bsc#1179721, BZ #26649)
- get-nprocs-cpu-online-parsing.patch: Fix parsing of
  /sys/devices/system/cpu/online (bsc#1180038, BZ #25859)

OBS-URL: https://build.opensuse.org/request/show/856525
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=574
2020-12-16 16:31:56 +00:00
Dominique Leuenberger
2790435efc Accepting request 847891 from Base:System
- intl-codeset-suffixes.patch: intl: Handle translation output codesets
  with suffixes (BZ #26383)
- strerrorname-np.patch: string: Fix strerrorname_np return value (BZ
  #26555)
- sysvipc.patch: sysvipc: Fix SEM_STAT_ANY kernel argument pass (BZ
  #26637, BZ #26639, BZ #26636) (forwarded request 847890 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/847891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=242
2020-11-15 14:17:07 +00:00
Andreas Schwab
f1d8923af9 Accepting request 847890 from home:Andreas_Schwab:Factory
- intl-codeset-suffixes.patch: intl: Handle translation output codesets
  with suffixes (BZ #26383)
- strerrorname-np.patch: string: Fix strerrorname_np return value (BZ
  #26555)
- sysvipc.patch: sysvipc: Fix SEM_STAT_ANY kernel argument pass (BZ
  #26637, BZ #26639, BZ #26636)

OBS-URL: https://build.opensuse.org/request/show/847890
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=572
2020-11-11 15:20:35 +00:00
Dominique Leuenberger
0e2f363ef1 Accepting request 844528 from Base:System
- Use --enable-cet on x86_64 to instrument glibc for indirect branch
  tracking and shadow stack use.  Enable indirect branch tracking
  and shadow stack in the dynamic loader.  [jsc#PM-2110] [bsc#1175154] (forwarded request 844127 from rguenther)

OBS-URL: https://build.opensuse.org/request/show/844528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=241
2020-11-03 14:15:11 +00:00
Andreas Schwab
88dbb21c8e Accepting request 844127 from home:rguenther:branches:Base:System
- Use --enable-cet on x86_64 to instrument glibc for indirect branch
  tracking and shadow stack use.  Enable indirect branch tracking
  and shadow stack in the dynamic loader.  [jsc#PM-2110] [bsc#1175154]

OBS-URL: https://build.opensuse.org/request/show/844127
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=570
2020-10-28 10:40:07 +00:00
Dominique Leuenberger
b4ced0efb1 Accepting request 832941 from Base:System
- Keep nsswitch.conf in /etc for SLES15
- syslog-locking.patch: Correct locking and cancellation cleanup in syslog
  functions (bsc#1172085, BZ #26100)
- ifunc-fma4.patch: x86-64: Fix FMA4 detection in ifunc (BZ #26534) (forwarded request 832940 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/832941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=240
2020-10-06 15:08:04 +00:00
Andreas Schwab
07fe597177 Accepting request 832940 from home:Andreas_Schwab:Factory
- Keep nsswitch.conf in /etc for SLES15
- syslog-locking.patch: Correct locking and cancellation cleanup in syslog
  functions (bsc#1172085, BZ #26100)
- ifunc-fma4.patch: x86-64: Fix FMA4 detection in ifunc (BZ #26534)

OBS-URL: https://build.opensuse.org/request/show/832940
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=568
2020-09-08 09:28:40 +00:00
Andreas Schwab
fcfeca27fe Accepting request 824657 from home:Andreas_Schwab:Factory
- Update to glibc 2.32
  * Unicode 13.0.0 Support
  * New locale added: ckb_IQ
  * The GNU C Library now loads audit modules listed in the DT_AUDIT and
    DT_DEPAUDIT dynamic section entries of the main executable
  * powerpc64le supports IEEE128 long double libm/libc redirects when
    using the -mabi=ieeelongdouble to compile C code on supported GCC
    toolchains
  * To help detect buffer overflows and other out-of-bounds accesses
    several APIs have been annotated with GCC 'access' attribute
  * On Linux, functions the pthread_attr_setsigmask_np and
    pthread_attr_getsigmask_np have been added
  * The GNU C Library now provides the header file <sys/single_threaded.h>
    which declares the variable __libc_single_threaded
  * The functions sigabbrev_np and sigdescr_np have been added
  * The functions strerrorname_np and strerrordesc_np have been added
  * AArch64 now supports standard branch protection security hardening
    in glibc when it is built with a GCC that is configured with
    --enable-standard-branch-protection (or if -mbranch-protection=standard
    flag is passed when building both GCC target libraries and glibc,
    in either case a custom GCC is needed)
  * The deprecated <sys/sysctl.h> header and the sysctl function have been
    removed
  * The sstk function is no longer available to newly linked binaries
  * The legacy signal handling functions siginterrupt, sigpause, sighold,
    sigrelse, sigignore and sigset, and the sigmask macro have been
    deprecated
  * ldconfig now defaults to the new format for ld.so.cache
  * The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
    are no longer available to newly linked binaries, and their declarations

OBS-URL: https://build.opensuse.org/request/show/824657
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=567
2020-08-06 09:17:04 +00:00
Dominique Leuenberger
9ee08fb95a Accepting request 816575 from Base:System
- long-double-alias.patch: Fix build with GCC 10 when long double = double
- nscd-gc-cycle.patch: nscd: bump GC cycle during cache pruning
  (bsc#1171878, BZ #26130) (forwarded request 816574 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/816575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=239
2020-06-28 21:02:26 +00:00
Andreas Schwab
129004b05a Accepting request 816574 from home:Andreas_Schwab:Factory
- long-double-alias.patch: Fix build with GCC 10 when long double = double
- nscd-gc-cycle.patch: nscd: bump GC cycle during cache pruning
  (bsc#1171878, BZ #26130)

OBS-URL: https://build.opensuse.org/request/show/816574
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=565
2020-06-23 11:59:46 +00:00
Yuchen Lin
1716a3e4cd Accepting request 807179 from Base:System
- glibc-nsswitch-usr.diff: read /usr/etc/nsswitch.conf if
  /etc/nsswitch.conf does not exist
- Install default nsswitch.conf in /usr/etc
- Don't install gai.conf in /etc (forwarded request 807178 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/807179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=238
2020-05-23 15:19:15 +00:00
Andreas Schwab
0c1833dfc6 Accepting request 807178 from home:Andreas_Schwab:Factory
- glibc-nsswitch-usr.diff: read /usr/etc/nsswitch.conf if
  /etc/nsswitch.conf does not exist
- Install default nsswitch.conf in /usr/etc
- Don't install gai.conf in /etc

OBS-URL: https://build.opensuse.org/request/show/807178
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=563
2020-05-19 10:03:06 +00:00
Andreas Schwab
7f8046cfb0 osc copypac from project:Base:System package:glibc revision:558
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=562
2020-05-07 10:31:57 +00:00
Andreas Schwab
0921aeb874 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=561 2020-05-07 09:27:49 +00:00