mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:15:09 +00:00
Kernel: Remove a bunch of no-longer-necessary SmapDisablers
We forgot to remove the automatic SMAP disablers after fixing up all this code to not access userspace memory directly. Let's lock things down at last. :^)
This commit is contained in:
parent
fd441b954d
commit
1730c23775
5 changed files with 0 additions and 10 deletions
|
@ -506,8 +506,6 @@ int IPv4Socket::ioctl(FileDescription&, unsigned request, FlatPtr arg)
|
|||
{
|
||||
REQUIRE_PROMISE(inet);
|
||||
|
||||
SmapDisabler disabler;
|
||||
|
||||
auto ioctl_route = [request, arg]() {
|
||||
rtentry route;
|
||||
if (!copy_from_user(&route, (rtentry*)arg))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue