<table><tr><td style="">ngraham marked an inline comment as done.<br />ngraham added a comment.
</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/D7423">View Revision</a></tr></table><br /><div><div><p>I took a crack at accessing <tt style="background: #ebebeb; font-size: 13px;">statx</tt> directly, but I'm waaaaaay out of my depth here and will need some help making this actually work. There doesn't seem to be a glibc wrapper for <tt style="background: #ebebeb; font-size: 13px;">statx</tt> yet, so we have to access it directly, which is messy and I haven't figured out how to make it work yet, though I think I might be on the right track.</p>
<p>As such, this patch is presented--currently in non-working form, sadly--for discussion and hopefully instructional purposes. If someone else with more domain knowledge wants to grab this and do it right themselves, please feel free!</p>
<p>Problems that need to be overcome:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">On my Neon test system with kernel 5.13, <tt style="background: #ebebeb; font-size: 13px;">__NR_statx</tt> isn't actually available in <tt style="background: #ebebeb; font-size: 13px;">/usr/include/unistd.h</tt>; it's only available in `/usr/src/linux-headers-4.13.0-38-generic/arch/x86/include/generated/uapi/asm/unistd_64.h</li>
<li class="remarkup-list-item">The <tt style="background: #ebebeb; font-size: 13px;">check_function_exists(statx HAVE_STATX)</tt> CMake command returns 0 even though statx is available.</li>
<li class="remarkup-list-item">The file KIOSlave crashes in <tt style="background: #ebebeb; font-size: 13px;">../sysdeps/unix/syscall-template.S:84</tt> when I try to run Dolphin with this patch for KIO.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7423">https://phabricator.kde.org/D7423</a></div></div><br /><div><strong>To: </strong>ngraham, dfaure, broulik, elvisangelaccio<br /><strong>Cc: </strong>meven, ltoscano, Frameworks, michaelh, bruns<br /></div>