Tyler Hicks
fbdeaed408
net: create reusable function for getting ownership info of sysfs inodes
...
Make net_ns_get_ownership() reusable by networking code outside of core.
This is useful, for example, to allow bridge related sysfs files to be
owned by container root.
Add a function comment since this is a potentially dangerous function to
use given the way that kobject_get_ownership() works by initializing uid
and gid before calling .get_ownership().
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-20 23:44:36 -07:00
..
2018-06-28 10:40:47 -07:00
2018-04-19 12:58:20 -04:00
2018-06-30 21:26:52 +09:00
2018-07-20 23:37:55 -07:00
2018-07-12 17:37:13 -07:00
2017-11-21 15:57:07 -08:00
2018-03-05 12:52:45 -05:00
2018-04-17 23:41:16 -04:00
2018-07-16 00:12:09 -07:00
2018-05-28 22:59:54 -04:00
2018-03-29 14:10:30 -04:00
2018-06-30 22:11:13 +09:00
2018-07-20 21:17:12 -07:00
2018-07-19 23:26:01 -07:00
2018-02-23 12:35:46 -05:00
2018-07-04 14:44:45 +09:00
2017-11-02 11:10:55 +01:00
2016-05-25 12:35:09 -07:00
2018-01-23 19:43:30 -05:00
2017-09-26 13:36:44 -07:00
2017-08-07 14:16:22 -07:00
2018-05-28 22:59:54 -04:00
2018-06-27 15:40:45 +09:00
2018-07-20 23:44:36 -07:00
2018-05-16 07:24:30 +02:00
2018-07-20 23:44:36 -07:00
2017-11-02 11:10:55 +01:00
2018-05-24 23:01:15 -04:00
2017-07-21 11:14:51 -04:00
2017-11-08 11:13:54 +01:00
2017-12-13 13:18:46 -05:00
2018-04-17 10:50:29 -04:00
2018-07-18 15:24:04 -07:00
2015-11-03 11:08:22 -05:00
2016-12-29 11:38:31 -05:00
2018-07-18 13:32:03 -07:00
2017-03-02 08:42:29 +01:00
2017-06-08 10:53:29 -04:00
2018-07-20 21:17:12 -07:00
2018-03-27 13:18:09 -04:00
2018-02-02 19:47:03 -05:00
2018-07-04 22:30:28 +09:00
2018-02-11 14:34:03 -08:00
2018-04-05 21:36:27 -07:00
2017-11-02 11:10:55 +01:00
2018-03-26 08:53:43 -06:00
2018-07-13 20:26:35 +02:00