<html><head></head><body>Hi,<br><br>This patch is just plain wrong. RTFM.<br><br><div class="gmail_quote">Le 28 septembre 2020 02:36:27 GMT+03:00, Lyndon Brown <jnqnfe@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">attached. preview:<br><br>From: Lyndon Brown <jnqnfe@gmail.com><br>Date: Sat, 30 Mar 2019 02:43:45 +0000<br>Subject: rootwrap: fix warning<br><br><br>diff --git a/bin/rootwrap.c b/bin/rootwrap.c<br>index 0258773b90..3de054e73a 100644<br>--- a/bin/rootwrap.c<br>+++ b/bin/rootwrap.c<br>@@ -248,7 +248,8 @@ int main (int argc, char *argv[])<br> fputs("Cannot determine unprivileged user for VLC!\n", stderr);<br> exit (1);<br> }<br>- setuid (uid);<br>+ if (!setuid (uid))<br>+ exit (1);<br> <br> if (!setuid (0)) /* sanity check: we cannot get root back */<br> exit (1);<br></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>