Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/sys



Module Name:    src
Committed By:   martin
Date:           Tue Dec 25 11:19:52 UTC 2018

Modified Files:
        src/sys/compat/netbsd32 [netbsd-8]: netbsd32_netbsd.c
        src/sys/uvm [netbsd-8]: uvm_swap.c

Log Message:
Apply patch, requested by maxv in ticket #1142:
Similar to:

        sys/uvm/uvm_swap.c: revision 1.178

Fix kernel info leak in swapctl(2).

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall


To generate a diff of this commit:
cvs rdiff -u -r1.206 -r1.206.2.1 src/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -u -r1.174.10.1 -r1.174.10.2 src/sys/uvm/uvm_swap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index