On Sunday 01 September 2013 05:43 PM, YunQiang Su wrote:
> -#define DEFAULT_GETUID         "/lib/udev/scsi_id --whitelisted
> --replace-whitespace --device=/dev/%n"
> +#define DEFAULT_GETUID         "[ -n \"$(udevadm info --query=symlink
> --name=/dev/%n |grep -- '-usb-')\" || /lib/udev/scsi_id --whitelisted
> --replace-whitespace --device=/dev/%n"

That'd fork a shell. Right?

BTW, the latest upstream code has dropped that code.

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to