diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2018-12-02 16:08:42 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2018-12-02 16:08:42 -0600 |
commit | ff4af908a58eedf9a165946f109f06add23fff9c (patch) | |
tree | 2e9271e5045e5af06b443d87aee55da989487b5d /conf.d/savecore | |
parent | 2af0cedd5952d7da71681b7a636dff3540e4295d (diff) |
Revert "checkpath: use O_PATH when available"
This reverts commit 2af0cedd5952d7da71681b7a636dff3540e4295d.
After speaking with Luis Ressel on the Gentoo selinux team, I am reverting
this commit for the following reasons:
- Luis told me that he feels this is not the solution we need to address
the concern with checkpath; I will be working with him on another
solution.
- There are concerns about the way the path variable was handled
and the assert() call.
The path variable should be dynamically allocated using xasprintf
instead of defining a length at compile time. This would eliminate the
need for the assert() call.
- It introduces the definition of _GNU_SOURCE which makes it
easier to introduce portability concerns in the future (see #262).
Diffstat (limited to 'conf.d/savecore')
0 files changed, 0 insertions, 0 deletions