selinux/policycoreutils
Christian Göttsche 6d02b2fa29 semodule: avoid toctou on output module
Do not check for file existence and open afterwards, open with the
exclusive flag (supported in Glibc and musl 0.9.6 and also standardized
in C11).

Found by GitHub CodeQL.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2022-06-02 08:31:07 -04:00
..
.tx Update Translations 2013-10-24 13:58:39 -04:00
hll Fix many misspellings 2019-09-18 22:47:35 +02:00
load_policy selinux: Remove legacy local boolean and user code 2019-07-29 23:46:24 +02:00
man Modified Russian and English man pages to fix typo; REQUIREUSERS -> REQUIRESEUSERS 2021-11-29 18:51:19 +01:00
newrole libselinux: declare return value of context_str(3) const 2022-06-02 08:29:01 -04:00
po Update translations from translate.fedoraproject.org 2022-04-06 10:53:37 +02:00
run_init Correct misc typos 2022-04-12 13:09:52 -04:00
scripts policycoreutils: drop usage of egrep in fixfiles 2022-04-12 13:09:30 -04:00
secon policycoreutils: handle argument counter of zero 2022-02-07 11:14:26 -05:00
semodule semodule: avoid toctou on output module 2022-06-02 08:31:07 -04:00
sestatus policycoreutils: mark local functions static 2021-11-15 16:00:54 -05:00
setfiles setfiles: introduce the -C option for distinguishing file tree walk errors 2022-05-04 10:31:43 +02:00
setsebool setsebool: report errors from commit phase 2020-04-28 09:26:26 +02:00
.gitignore Move policycoreutils/semodule_package to semodule-utils. 2016-11-16 11:19:51 -05:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile Move policycoreutils/semodule_package to semodule-utils. 2016-11-16 11:19:51 -05:00
VERSION Update VERSIONs to 3.4 for release. 2022-05-18 16:51:03 +02:00