lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5159BFF5.90209@gmail.com>
Date:	Mon, 01 Apr 2013 22:42:21 +0530
From:	Prashant Batra <prbatra.lists@...il.com>
To:	netdev@...r.kernel.org, linux-newbie@...r.kernel.org
Subject: attach multiple programs to tun/tap interface

Hi,

I have a basic query on tun/tap driver design. Is it possible to attach 
multiple user-space programs to the same tun/tap interface. I have not 
set the interface as EXCLUSIVE,
but still on trying to do ioctl with cmd as “TUNSETIFF” from the second 
user space program, I get “Device busy”.

Seeing through the driver code, it looks like it does not allow multiple 
user-programs to attach to the same interface, but is this valid, and 
please let me know why this requirement was taken.

Will you please help me in understanding this?

Thanks,
Prashant
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ