Jason A. Donenfeld
85a8076d08
Spin less and more efficiently
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-04 07:06:50 +00:00
Jason A. Donenfeld
5239d53db0
Add handle closing ioctl
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-07-31 13:59:54 +00:00
Jason A. Donenfeld
58ce3c5000
Piggy-back on top of NDIS' device object instead of adding our own
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-07-18 10:34:38 +00:00
Jason A. Donenfeld
de481cdb12
Manually clean up ugly corners
2019-07-03 08:50:30 +00:00
Jason A. Donenfeld
5bbff1026f
Add NDIS team's clang-format conventions
...
This needs clang-format 9. This reveals a lot of other things we should
clean up.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Link: https://community.osr.com/discussion/291376/clang-format-and-driver-code
2019-07-03 08:50:30 +00:00
Simon Rozman
9514ef37b3
Save some valuable lessons learned on Windows internals
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-20 11:54:58 +02:00
Sergei Mileshin
a530bb1b84
Set deny-all DACL instead of removing symlink on halting
...
Deleting symbolic link on device removal only still makes it possible to
open it from the real path.
Setting the deny-all DACL instead is a more reliable way of preventing
clients reopening the device when it is being removed.
Signed-off-by: Sergei Mileshin <msvsysproger@gmail.com>
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-20 11:53:08 +02:00
Jason A. Donenfeld
b6cc08d574
Force handles closed if required
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-03 10:53:11 +00:00