Do not use fexecve
Script executed via fexecve has a file descriptor number in argv[0]. This results in unexpected output: when displaying the script help, a user see "Usage: <number> [options]" instead of "Usage: <scriptname> [options]". Resolves: #1984417
This commit is contained in:
parent
dd76227e6a
commit
4c34c25574
@ -4,7 +4,7 @@
|
|||||||
Summary: Tools for certain user account management tasks
|
Summary: Tools for certain user account management tasks
|
||||||
Name: usermode
|
Name: usermode
|
||||||
Version: 1.114
|
Version: 1.114
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://pagure.io/%{name}/
|
URL: https://pagure.io/%{name}/
|
||||||
Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz
|
Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz
|
||||||
@ -50,7 +50,7 @@ graphical tools for certain account management tasks.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-selinux %{!?with_gtk:--without-gtk}
|
%configure --with-selinux --without-fexecve %{!?with_gtk:--without-gtk}
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -108,6 +108,14 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 07 2021 Jiri Kucera <jkucera@redhat.com> - 1.114-3
|
||||||
|
- Do not use fexecve
|
||||||
|
Script executed via fexecve has a file descriptor number in
|
||||||
|
argv[0]. This results in unexpected output: when displaying
|
||||||
|
the script help, a user see "Usage: <number> [options]"
|
||||||
|
instead of "Usage: <scriptname> [options]".
|
||||||
|
Resolves: #1984417
|
||||||
|
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.114-2
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.114-2
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user