<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On Sunday 01 September 2013 05:43 PM,
YunQiang Su wrote:<br>
</div>
<blockquote
cite="mid:CAKcpw6W76h572iNfK=fba-Qg9JsXYO+BhWuL5pdBmnfJW9hkNA@mail.gmail.com"
type="cite">
<pre wrap="">-#define DEFAULT_GETUID "/lib/udev/scsi_id --whitelisted
--replace-whitespace --device=<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>dev<span class="moz-txt-tag">/</span></i>%n"
+#define DEFAULT_GETUID "[ -n \"$(udevadm info --query=symlink
--name=<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>dev<span class="moz-txt-tag">/</span></i>%n |grep -- '-usb-')\" || /lib/udev/scsi_id --whitelisted
--replace-whitespace --device=<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>dev<span class="moz-txt-tag">/</span></i>%n"</pre>
</blockquote>
<br>
That'd fork a shell. Right?<br>
<br>
BTW, the latest upstream code has dropped that code.<br>
<br>
<pre class="moz-signature" cols="72">--
Ritesh Raj Sarraf
RESEARCHUT - <a class="moz-txt-link-freetext" href="http://www.researchut.com">http://www.researchut.com</a>
"Necessity is the mother of invention."
</pre>
</body>
</html>