]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/genhd.c
driver core: add uid and gid to devtmpfs
authorKay Sievers <kay@vrfy.org>
Sat, 6 Apr 2013 16:56:00 +0000 (09:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 15:21:48 +0000 (08:21 -0700)
commit3c2670e6515cf584810f417db9b00992c8b2d75a
treebc13c7babc6c8f08b6a82d0b3848778b264d9651
parentbb2b0051d7b0772ea9d0b4be900c2d965093f5d7
driver core: add uid and gid to devtmpfs

Some drivers want to tell userspace what uid and gid should be used for
their device nodes, so allow that information to percolate through the
driver core to userspace in order to make this happen.  This means that
some systems (i.e.  Android and friends) will not need to even run a
udev-like daemon for their device node manager and can just rely in
devtmpfs fully, reducing their footprint even more.

Signed-off-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
block/genhd.c
drivers/base/core.c
drivers/base/devtmpfs.c
drivers/usb/core/usb.c
include/linux/device.h