[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150715.135824.754282841801954470.davem@davemloft.net>
Date: Wed, 15 Jul 2015 13:58:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
Cc: marcelo.leitner@...il.com, netdev@...r.kernel.org,
vyasevich@...il.com, linux-sctp@...r.kernel.org
Subject: Re: [PATCH v2 1/2] sctp: add new getsockopt option
SCTP_SOCKOPT_PEELOFF_KERNEL
From: Neil Horman <nhorman@...driver.com>
Date: Wed, 15 Jul 2015 09:18:28 -0400
> Do we need to do something here to prevent user space calls from inadvertently
> accessing this option?
And this is also not what I had anticipated was the implementation.
I didn't mean that adding a new option number specially for the
kernel was the right thing to do.
I meant that having a specific function GPL exported to modules that
the external code calls would do the trick.
That's why we have things like kernel_sendmsg() et al.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists