detect process attached to devices
How to find the process's that were attached to devices. For example, if we open ttyS driver from user space application, is it possible to get the process id by examining the /proc of the devices? If yes, how?
Thanks in Advance