Commit Graph

13 Commits

Author SHA1 Message Date
Eugene Syromiatnikov
e80309331c Add --secontext=mismatch option support
- Add 0168-m4-fix-st_SELINUX-check.patch
   (v5.15~18 "m4: fix st_SELINUX check")
 - Add 0169-Implement-displaying-of-expected-context-upon-mismat.patch
   (v5.16~31 "Implement displaying of expected context upon mismatch")
 - Add 0170-tests-linkat-reset-errno-before-SELinux-context-mani.patch
 - Add 0171-tests-secontext-add-secontext-field-getters.patch
 - Add 0172-tests-linkat-provide-fallback-values-for-secontext-f.patch
 - Add 0173-tests-secontext-eliminate-separate-secontext_format-.patch
 - Add 0174-tests-linkat-reset-context-to-the-expected-one-if-a-.patch

* 0168-m4-fix-st_SELINUX-check.patch: New file.
* 0169-Implement-displaying-of-expected-context-upon-mismat.patch: Ditto.
* 0170-tests-linkat-reset-errno-before-SELinux-context-mani.patch: Ditto.
* 0171-tests-secontext-add-secontext-field-getters.patch: Ditto.
* 0172-tests-linkat-provide-fallback-values-for-secontext-f.patch: Ditto.
* 0173-tests-secontext-eliminate-separate-secontext_format-.patch: Ditto.
* 0174-tests-linkat-reset-context-to-the-expected-one-if-a-.patch: Ditto.
* strace.spec strace.spec (Release): Bump to 6.
(Patch168, Patch169, Patch170, Patch171, Patch172, Patch173, Patch164): New
patches.
(%prep): Apply them.
(%changelog): Mention it.

Resolves: #2038965
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2022-01-19 21:24:28 +01:00
Eugene Syromiatnikov
9afcb3818c Fix incorrect ifname buffer size
- Add 0167-print_ifindex-fix-IFNAME_QUOTED_SZ-definition.patch
   (v5.15~1 "print_ifindex: fix IFNAME_QUOTED_SZ definition")

* 0167-print_ifindex-fix-IFNAME_QUOTED_SZ-definition.patch: New file.
* strace.spec (Release): Bump to 5.
(Patch167): New patch.
(%prep): Apply it.
(%changelog): Mention it.

Resolves: #2028166
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2022-01-06 16:25:30 +01:00
Eugene Syromiatnikov
57e29808e3 strace.spec: remove injected -m64 options from CFLAGS/CPPFLAGS
They are unnecessary and break m32/mx32 runtime compilation.

* strace.spec (%build): Filter out "-m64" out of CFLAGS and CPPFLAGS.
(%changelog): Mention the change.

Resolves: #1996676
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2021-08-23 19:53:29 +02:00
Eugene Syromiatnikov
e4f4c62530 Update sockopt-timestamp test
Pick up the upstream commit v5.13-10-g0211fdc "tests: change
sockopt-timestamp test to use syscall(__NR_recvmsg)" and augment it with
an additional fix to actually tests SO_TIMESTAMP* socket options.

* 0141-tests-change-sockopt-timestamp-test-to-use-syscall-_.patch: New
file.
* 0154-tests-call-setsockopt-directly-in-sockopt-timestamp.patch: Likewise.
* strace.spec (Patch141, Patch154): New patches.
(%prep): Apply them
(%changelog): Mention the change.

Resolves: #1996676
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2021-08-23 19:52:49 +02:00
Eugene Syromiatnikov
2f9a189d5e Address some issues reported by covscan
These are of low importance and mostly hypothetical, but, nevertheless.

 - Add 0150-filter_qualify-free-allocated-data-on-the-error-path.patch
   (v5.13-55-g6b2191f "filter_qualify: free allocated data on the error
   path exit of parse_poke_token")
 - Add 0151-macros-expand-BIT-macros-add-MASK-macros-add-_SAFE-m.patch
   (v5.13-56-g80dc60c "macros: expand BIT macros, add MASK macros; add
   *_SAFE macros")
 - Add 0152-trie-use-BIT-and-MASK-macros.patch
   (v5.13-58-g94ae5c2 "trie: use BIT* and MASK* macros")
 - Add 0153-tee-rewrite-num_params-access-in-tee_fetch_buf_data.patch
   (v5.13-65-g41b753e "tee: rewrite num_params access in tee_fetch_buf_data")

Resolves: #1996691
Signed-off-by: Eugene Syromiatnikov <evgsyr@gmail.com>
2021-08-23 19:48:52 +02:00
Mohan Boddu
abc8bf2b33 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-10 00:58:54 +00:00
Eugene Syromiatnikov
97d3c529a3 Rebase to strace 5.13
- Add "tests: disable sockopt-timestamp on new glibc with __TIMESIZE!=64 altogether"
   to work around mangling of SO_TIMESTAMP* setsockopt calls introduced
   in glibc-2.33.9000-707-g13c51549e2077f2f3bf84e8fd0b46d8b0c615912.

* .gitignore (/strace-5.10.tar.xz): Remove.
(/strace-5.13.tar.xz): New record.
* 0141-tests-disable-sockopt-timestamp-on-new-glibc-with-__.patch: New file.
* sources (strace-5.10.tar.xz): Replace with...
(strace-5.13.tar.xz): ...this version.
* strace.spec: Sync with strace.spec.in from the source tree.
(Version): Bump to 5.13.
(Patch141): New patch.
(%prep): Apply it.
(%changelog): New record about 5.13-1.

Resolves: #1925722
Resolves: #1925967
Resolves: #1928305
Resolves: #1973048
Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
2021-07-22 14:06:23 +02:00
Martin Cermak
d17db2f466 gating.yaml: Set up CI gating 2021-06-22 11:40:18 +02:00
Mohan Boddu
9ed39ebff2 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 05:45:31 +00:00
DistroBaker
f562844ff8 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/strace.git#58f60c2782d6c1d056e2a0f33e97ad2712ac25dc
2020-12-15 11:11:53 +00:00
Troy Dawson
61d534c209 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/strace#50008c5457ab673410b3f7aa066943878307e20f
2020-10-22 08:32:25 -07:00
Troy Dawson
ecbbeb16c8 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/strace#8300939a78185e17465967b6d5949d67c854f9ad
2020-10-15 10:02:30 -07:00
Release Configuration Management
0039f23478 New branch setup 2020-10-09 04:50:59 +00:00