clarify
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 27 Apr 2018 04:05:54 +0000 (05:05 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 27 Apr 2018 04:05:54 +0000 (05:05 +0100)
isa_conflict_resolution/ioctl.mdwn

index a48e5f63eadb96dbb6801bffb77f251d3ca30280..22c693c7b16c58fe1872a26c1c9d9209bc5b1cb9 100644 (file)
@@ -156,7 +156,8 @@ not quite I think. It is more like
             raise Exception("No such interface")
 
         handleId = new_unused_handle_id()
-        cpu_open_handles[handleId] = (interface, CurrentVirtualMemoryAddressSpace)
+        cpu_open_handles[handleId] = (interface,
+                                      CurrentVirtualMemoryAddressSpace)
 
         cookie = A_init(data)                      # Here device takes over
 
@@ -190,7 +191,10 @@ not quite I think. It is more like
 
         (interface, VMA) = intf_VMA
         if VMA != CurrentVirtualMemoryAddressSpace:
-             raise Exception("No such interface")  #Disclosing that the interface exists in different address is security hole
+             raise Exception("No such interface")  # Disclosing that the
+                                                   # interface exists in 
+                                                   # different address is 
+                                                   # security hole
 
         assert(interface != NIL)
         ctl0 = interface["ctl0"]