]> code.ossystems Code Review - openembedded-core.git/commit
poky-qemu-[ifup|ifdown]: Use native tunctl
authorJeff Dike <jdike@x86_64.user-mode-linux.org>
Thu, 5 Aug 2010 16:31:01 +0000 (12:31 -0400)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 20 Aug 2010 15:20:10 +0000 (16:20 +0100)
commit6ea1ed5f7b51b7c04e8aca29319c970846ddf1b8
tree11577d6dc4afe7939489128e96b83e02f5e191f9
parentf35a8d4079777453a2b60b7df5524b217260d252
poky-qemu-[ifup|ifdown]: Use native tunctl

poky-qemu-ifup can run standalone by root in order to configure a bank
of tap devices for later qemu use.

These devices will, if possible, be owned by a specified group to
which qemu users must belong.

If the kernel is too old to support TUNSETGROUP, then it falls back to
setting the tap device to be owned by a particular user, and that user
will be the only one allowed to use it.

Also overall usability improvements to the scripts, usage() help, etc.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
scripts/poky-qemu-ifdown
scripts/poky-qemu-ifup