public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Namjae Jeon <namjae.jeon@samsung.com>
To: "'Greg Kroah-Hartman'" <gregkh@linuxfoundation.org>
Cc: "'Kay Sievers'" <kay@vrfy.org>, linux-kernel@vger.kernel.org
Subject: RE: [PATCH 1/3] driver: core: add uid gid to class devnode
Date: Fri, 05 Jun 2015 20:15:37 +0900	[thread overview]
Message-ID: <016301d09f80$f33c4cf0$d9b4e6d0$@samsung.com> (raw)
In-Reply-To: <20150605101916.GA3802@kroah.com>

> On Fri, Jun 05, 2015 at 07:10:21PM +0900, Namjae Jeon wrote:
> > Add support for setting uid gid to devtmpfs device nodes.
> > In this manner, drivers can specify desired uid gid in their
> > class->devnode method.
> >
> > This is extension of existing method of setting uid gid by drivers
> > using device_type->devnode method:
> > 3c2670e6515cf584810f417db9b00992c8b2d75a
> > "driver core: add uid and gid to devtmpfs"
> >
> > Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> > Signed-off-by: Vivek Trivedi <t.vivek@samsung.com>
> 
> You add new parameters to these functions, yet never use them.  Sorry, I
> need an actual user before I can accept api changes like this.
> 
> Same for the other 2 patches in this series, I can't accept api changes
> without a real user of them, otherwise I'll just have to rip them out
> again to simplify the code.
Hi Greg,

In closed embedded systems like Tizen or Android, It is needed to set
uid/gid and xattr without shell script and daemon like udevd.
This api change can make it easier to set these parameters 

Thanks.
> 
> sorry,
> 
> greg k-h


  reply	other threads:[~2015-06-05 11:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05 10:10 [PATCH 1/3] driver: core: add uid gid to class devnode Namjae Jeon
2015-06-05 10:19 ` 'Greg Kroah-Hartman'
2015-06-05 11:15   ` Namjae Jeon [this message]
2015-06-05 11:49     ` 'Greg Kroah-Hartman'
2015-06-05 10:19 ` 'Greg Kroah-Hartman'

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='016301d09f80$f33c4cf0$d9b4e6d0$@samsung.com' \
    --to=namjae.jeon@samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kay@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox