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
|
||||
Name: usermode
|
||||
Version: 1.114
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+
|
||||
URL: https://pagure.io/%{name}/
|
||||
Source: https://releases.pagure.org/%{name}/%{name}-%{version}.tar.xz
|
||||
@ -50,7 +50,7 @@ graphical tools for certain account management tasks.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --with-selinux %{!?with_gtk:--without-gtk}
|
||||
%configure --with-selinux --without-fexecve %{!?with_gtk:--without-gtk}
|
||||
|
||||
%make_build
|
||||
|
||||
@ -108,6 +108,14 @@ done
|
||||
%endif
|
||||
|
||||
%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
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
Loading…
Reference in New Issue
Block a user