IRP_MJ_SET_SECURITY to the filesystem driver and return
STATUS_SUCCESS if the filesystem driver does not support
this IRP.
svn path=/trunk/; revision=10804
- Used the kernel map to map page tables from other process's.
In the future this should be replaced by a per process kernel map (hyperspace map).
svn path=/trunk/; revision=10797
Socket destruction is correct. When IRPs are left to cancel, the socket
will remain until all pending irps complete. The DestroySocket function
does this. It is always safe to call DestroySocket at any time after the
FsContext member of the FileObject has been nulled.
Fixed UDP data delivery in. UDP send still has a problem but it seems to
be in tcpip.sys more than likely. I've sliced another 6000 lines out of
tcpip.sys that i will debug as a userspace library and link to tcpip.
Fixed poll reeval (old reported bug fix I hadn't committed yet).
Miscellaneously better sanity in a few rough spots.
svn path=/trunk/; revision=10785
src/types.c: In function `pap_qstring':
src/types.c:99: warning: passing arg 2 of `adns__alloc_interim' as unsigned due to prototype
src/types.c:103: warning: passing arg 3 of `memcpy' as unsigned due to prototype
src/types.c: In function `pap_domain':
src/types.c:352: warning: passing arg 2 of `adns__alloc_interim' as unsigned due to prototype
src/types.c:356: warning: passing arg 3 of `memcpy' as unsigned due to prototype
src/types.c: In function `pap_findaddrs':
src/types.c:422: warning: passing arg 2 of `adns__vbuf_ensure' as signed due to prototype
src/types.c: In function `csp_hostaddr':
src/types.c:573: warning: passing arg 3 of `csp_qstring' as signed due to prototype
src/types.c: In function `icb_ptr':
src/types.c:705: warning: passing arg 3 of `memcmp' as unsigned due to prototype
src/types.c: In function `pa_ptr':
src/types.c:747: warning: passing arg 3 of `memcpy' as unsigned due to prototype
src/types.c:755: warning: passing arg 3 of `memcmp' as unsigned due to prototype
src/types.c:765: warning: passing arg 1 of `htonl' as unsigned due to prototype
src/types.c: In function `pap_mailbox822':
src/types.c:880: warning: passing arg 2 of `adns__alloc_interim' as unsigned due to prototype
src/types.c:881: warning: passing arg 3 of `memcpy' as unsigned due to prototype
svn path=/trunk/; revision=10780
0. fix warning: passing arg 1 of `send' as unsigned due to prototype
1. fix warning: passing arg 3 of `memcpy' as unsigned due to prototype
2. fix warning: passing arg 3 of `send' as signed due to prototype
3. fix warning: unused variable `bytes_written'
4. fix warning: dereferencing type-punned
pointer will break strict-aliasing rules
5. fix warning: dereferencing type-punned
pointer will break strict-aliasing rules
svn path=/trunk/; revision=10779
no need to convert between Ansi and Unicode (number of characters remains
the same)
- Allocate Ansi buffer for WM_GETTEXT since MultiByteToWideChar can't handle
overlapping buffers
svn path=/trunk/; revision=10760