Commit Graph

1181 Commits

Author SHA1 Message Date
Florian Weimer 3a772d0fd4 Modernise nsswitch.conf defaults (#1581809) 2018-06-20 14:26:32 +02:00
Florian Weimer a6060e7baa Add CVE-2018-11236 reference 2018-06-18 14:58:48 +02:00
Florian Weimer f929de27b9 iconv: Make IBM273 equivalent to ISO-8859-1 (#1592270) 2018-06-18 14:16:33 +02:00
Florian Weimer 8d21d21b5d Align build flags inheritance with master (downstream only) 2018-06-18 14:04:52 +02:00
Florian Weimer 4036357674 Auto-sync with upstream branch release/2.27/master
Upstream commit: 80c83e91140d429c73f79092fdb75eed0fb71da0

- libio: Avoid _allocate_buffer, _free_buffer function pointers (swbz#23236)
- posix: Fix posix_spawnp to not execute invalid binaries in non compat mode
  (swbz#23264)
- elf: Improve DST handling (swbz#23102, swbz#21942, swbz#18018, swbz#23259)
2018-06-18 14:01:47 +02:00
Florian Weimer 77db5a02e7 Rebuild to add back .symtab section in ld.so (#1570246) 2018-05-24 17:29:26 +02:00
Florian Weimer 8ab27a7bef Switch to upstream version of libidn2 removal (#1452750) 2018-05-24 16:07:08 +02:00
Florian Weimer 769d807ffc Auto-sync with upstream branch release/2.27/master
Upstream commit: 50df56ca86a281c8fd99a8100aac75539813788d

- CVE-2018-11237: Buffer overflow in mempcpy for Xeon Phi (#1581275)
2018-05-24 16:06:39 +02:00
Florian Weimer 57a4f74f4b Add CVE-2017-18269 reference 2018-05-22 07:32:36 +02:00
Florian Weimer 608037578b Update changelog 2018-05-17 13:40:07 +02:00
Florian Weimer 3528d1b928 Auto-sync with upstream branch release/2.27/master
Upstream commit: 0cd4a5e87f6885a2f15fe8e7eb7378d010cdb606

- sunrpc: Remove stray exports (#1577210)
- gd_GB: Fix typo in abbreviated May (swbz#23152)
- realpath: Fix path length overflow (swbz#22786)
- elf: Fix stack overflow with huge PT_NOTE segment (swbz#20419)
- resolv: Fully initialize struct mmsghdr in send_dg (swbz#23037)
- manual: Various fixes to the mbstouwcs example, and mbrtowc update
- getlogin_r: return early when linux sentinel value is set
- resolv: Fix crash in resolver on memory allocation failure (swbz#23005)
- Fix signed integer overflow in random_r (swbz#17343)
- RISC-V: fix struct kernel_sigaction to match the kernel version (swbz#23069)
2018-05-15 09:41:41 +02:00
Florian Weimer 61dc9c8b9d Unconditionally build downstream with -mstackrealign for now 2018-05-11 16:25:42 +02:00
Florian Weimer fb93b16951 Inherit compiler flags in the original order 2018-05-11 16:23:59 +02:00
Florian Weimer 512e08766b Inherit the -mstackrealign flag if it is set 2018-05-11 16:23:11 +02:00
Florian Weimer 9512708e42 Use /usr/bin/python3 for benchmarks scripts (#1577223) 2018-05-11 16:20:01 +02:00
Florian Weimer 19400997dd Revert "Add annobin annotations to assembler code (downstream only)"
CFLAGS is not generally used when calling assembler, and this eventually
exposes a design issue in the annobin notes handling; see bug 1576362.

This reverts commit d43610c362.
2018-05-09 12:01:43 +02:00
Florian Weimer d43610c362 Add annobin annotations to assembler code (downstream only) 2018-05-04 14:26:17 +02:00
Florian Weimer cb37f54dd5 Auto-sync with upstream branch release/2.27/master
Upstream commit: 39071a55392d2d2e0b75fb19f2b48d661c4cc682
2018-03-29 13:03:16 +02:00
Florian Weimer 157a6383c2 Enable annobin on Red Hat Enterprise Linux 2018-03-29 12:53:46 +02:00
Florian Weimer 9dc918bfda Auto-sync with upstream branch release/2.27/master
Upstream commit: 55ad82e45c313454de657931898e974a7a036cad

- i386: Fix memmove issue (swbz#22644)
- RISC-V: fmax/fmin: Handle signalling NaNs correctly (swbz#22884)
- RISC-V: Do not initialize $gp in TLS macros
- cs_CZ locale: Add alternative month names (swbz#22963)
- Greek (el_CY, el_GR) locales: Introduce ab_alt_mon (swbz#22937)
- lt_LT locale: Update abbreviated month names (swbz#22932)
- ca_ES locale: Update LC_TIME (swbz#22848)
- i386: Fix i386 sigaction sa_restorer initialization (swbz#21269)
- Fix multiple definitions of __nss_*_database (swbz#22918)
- Fix netgroup cache keys (swbz#22342)
- linux/powerpc: sync sys/ptrace.h with Linux 4.15 (swbz#22433, swbz#22807)
- powerpc: Undefine Linux ptrace macros that conflict with __ptrace_request
- Add missing “reorder-end” in LC_COLLATE of et_EE (swbz#22517)
- linux/aarch64: sync sys/ptrace.h with Linux 4.15 (swbz#22433)
- [RISC-V] Fix parsing flags in ELF64 files (swbz#22827)
2018-03-29 12:53:37 +02:00
Florian Weimer 8ce0b90ecb Collation update and sync with CLDR (#1551009) 2018-03-02 15:52:13 +01:00
Florian Weimer b8a2275781 Add reference to #1550914 2018-03-02 10:39:48 +01:00
Florian Weimer d92633e7a9 Update release and changelog 2018-02-28 12:40:44 +01:00
Florian Weimer 081ef32d63 Inherit as many flags as possible from redhat-rpm-config 2018-02-28 12:40:17 +01:00
Richard W.M. Jones ee109af432 riscv64: Disable valgrind smoke test on this architecture. 2018-02-19 19:47:31 +00:00
Richard W.M. Jones 16398fcbfd riscv64: Add symlink from /usr/lib64/lp64d -> /usr/lib64 for ABI compat. 2018-02-19 19:47:30 +00:00
Florian Weimer 4c06a879a9 Update changelog 2018-02-14 17:07:46 +01:00
Florian Weimer 29d10047e2 Include ChangeLog.old in the source RPM 2018-02-14 17:07:14 +01:00
Florian Weimer 5a04553bf2 Remove stale reference to the language_list macro 2018-02-14 17:07:14 +01:00
Florian Weimer 7f4ea1188a Trim changelog 2018-02-14 17:02:48 +01:00
Florian Weimer 1dbdd9fef3 Remove %defattr(-,root,root) 2018-02-14 16:58:24 +01:00
Igor Gnatenko c57221cc4f
fix typo in spec
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-11 10:13:47 +01:00
Igor Gnatenko 28e47feb91 use shell to run ldconfig %transfiletrigger
glibc-common already depends on /bin/sh, so it would be installed at a
time when trigger runs.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-07 17:05:29 +01:00
Igor Gnatenko c09c66271e move %transfiletrigger* in common subpackage
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-07 17:04:59 +01:00
Florian Weimer 55adfecd0c Linux: use reserved name __key in pkey_get (#1542643)
Auto-sync with upstream branch release/2.27/master,
commit 56170e064e2b21ce204f0817733e92f1730541ea.
2018-02-07 14:09:49 +01:00
Florian Weimer eff52e3518 Fix typo in comment 2018-02-07 14:03:08 +01:00
Fedora Release Engineering cefed5d027 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 12:49:46 +00:00
Carlos O'Donell 587bed9b2f glibc-2.27-1
Auto-sync with upstream masger.

Upstream commit: 23158b08a0908f381459f273a984c6fd328363cb.
2018-02-05 07:32:08 -08:00
Richard W.M. Jones 72c4f88cc6 Fix cut and paste error in %changelog message of previous commit. 2018-01-30 19:33:56 +00:00
Richard W.M. Jones f80578dc89 Disable -fstack-clash-protection on riscv64:
not supported even by GCC 7.3.1 on this architecture.

Apparently it requires architecture-specific support.  In any case it
does not work with GCC 7.3.1 on riscv64:

stage3:/# gcc --version
gcc (GCC) 7.3.1 20180129
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
stage3:/# gcc -fstack-clash-protection
gcc: error: unrecognized command line option '-fstack-clash-protection'; did you mean '-fstack-protector'?
gcc: fatal error: no input files
compilation terminated.
2018-01-30 18:31:15 +00:00
Florian Weimer 6ff958f2aa Explicitly run ldconfig in the buildroot 2018-01-29 20:42:52 +01:00
Florian Weimer 48a71633e6 Auto-sync with upstream branch master
Upstream commit: cdd14619a713ab41e26ba700add4880604324dbb

- libnsl: Turn remaining symbols into compat symbols (swbz#22701)
- be_BY, be_BY@latin, lt_LT, el_CY, el_GR, ru_RU, ru_UA, uk_UA:
  Add alternative month names (swbz#10871)
- x86: Revert Intel CET changes to __jmp_buf_tag (swbz#22743)
- aarch64: Revert the change of the __reserved member of mcontext_t
2018-01-29 18:06:23 +01:00
Igor Gnatenko 1f24fb0da2
Add file triggers to do ldconfig calls automatically
Since time immemorial, Red Hat/Fedora packagers have been required
to add a stanza to spec files for packages containing libraries to
update the ldconfig cache.

```
%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig
```

To say this is annoying is to put it mildly. However, there was no
standard mechanism to make this boilerplate go away. Now with RPM 4.13+,
we should change this to file triggers and make all of that go away.

In the case of the transaction file triggers that run on the regular
link library paths, the performance benefit is minimal, and being greedy
does not hurt in this case. It's still an improvement over running
ldconfig every time anyway.

With the introduction of these triggers, we can start removing the
ldconfig boilerplate from Fedora package specs, and new packages will
not need to add it.

Pirority (-P) is not strictly needed, but we want to run our ldconfig
"first" before rest of scriptlets so it would speed up them (we would
build ldconfig cache beforehand).

References: https://bugzilla.redhat.com/1380878
Originally-proposed-by: Neal Gompa <ngompa13@gmail.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-29 17:52:15 +01:00
Florian Weimer 6777c3ed80 Auto-sync with upstream branch master
Upstream commit: 21c0696cdef617517de6e25711958c40455c554f

- locale: Implement alternative month names (swbz#10871)
- locale: Change month names for pl_PL (swbz#10871)
2018-01-22 16:19:24 +01:00
Florian Weimer a4166cd2cf aarch64 static PIE is still broken, disable again
Also apply minor related changelog fixes.
2018-01-22 16:15:37 +01:00
Florian Weimer 58e6c2560b Fix BuildRequires: binutils 2018-01-22 15:36:05 +01:00
Florian Weimer 92867018b5 Update changelog for glibc-2.26.9000-47.fc28 2018-01-22 15:33:29 +01:00
Florian Weimer cd5e5a1117 Reenable static PIE on aarch64 after binutils fix (#1247050) 2018-01-22 15:33:29 +01:00
Florian Weimer 6815071d4a Unconditionally build without libcrypt 2018-01-22 15:33:25 +01:00
Florian Weimer b8b7388beb Fix release number in changelog entry 2018-01-22 11:09:06 +01:00