sk-> sk_sndbuf = sysctl_wmem_max;

SH> Again, should you check whether h->len_len < sysctl_wmem_max
SH> before doing the capable(CAP_NET_ADMIN)?  The goal is to prevent
SH> setting PF_SUPERPRIV in task->flags if it wasn't absolutely
SH> necessary.

Yes, I think we agreed that we should, I just wasn't going to fold
that into these other unrelated changes.   I'll spin another small
patch for that right away.

-- 
Dan Smith
IBM Linux Technology Center
email: [email protected]
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to