On Tue, Aug 8, 2017 at 9:38 AM, Hannes Frederic Sowa
[off-list ref] wrote:
Tom Herbert [off-list ref] writes:
quoted
+#ifdef CONFIG_MODULES
+ if (!ulp && capable(CAP_NET_ADMIN)) {
+ rcu_read_unlock();
+ request_module("%s", name);
+ rcu_read_lock();
+ ulp = ulp_find(name);
+ }
+#endif
It looks to me that this allows users with only CAP_NET_ADMIN
privileges to load every module?
It's a carryover. Probably should remove the check.
Tom