<table><tr><td style="">fvogt created this revision.<br />Restricted Application added a project: Plasma.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7806" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>With glibc 2.26, the open syscall is not used anymore as openat is favored.<br />
This causes the testcase to fail, which shows that openat is not handled<br />
correctly by the seccomp filter.<br />
This adds a testcase that tests both open and openat (needs to use direct<br />
syscalls on glibc 2.26 as calls to open would otherwise result in openat)<br />
and implements the proper handling for openat in the filter.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Ran seccomp test before and after, now succeeds.<br />
Ran make install, screenlocker still works.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R133 KScreenLocker</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7806" rel="noreferrer">https://phabricator.kde.org/D7806</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>greeter/autotests/seccomp_test.cpp<br />
greeter/seccomp_filter.cpp</div></div></div><br /><div><strong>To: </strong>fvogt, Plasma, graesslin<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>