Re: [PATCH] usb-serial: don't let open files pin minor numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Returning minor numbers during serial_disconnect rather than
> destroy_serial allows the numbers (and hence device node names) to be
> reused even when a process is holding an unplugged device's file open.
> This is what users expect to happen, and there's no reason not to do
> it.

It also has file permissions and security management concerns because an
unplug as something changes the permissions on the device being removed
now changes the permissions on the wrong device rather than causing an
error.

That bothers me a bit. 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux