Thread (19 messages) 19 messages, 6 authors, 2017-08-09

Re: [PATCH v3 net-next 3/5] sock: ULP infrastructure

flat view

From: Tom Herbert <hidden>
Date: 2017-08-08 17:07:30

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help