Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   tls
Date:           Mon Nov 28 08:05:07 UTC 2011

Modified Files:
        src/lib/librumpuser: rumpuser.c
        src/sys/dist/ipf/netinet: ip_compat.h ip_state.c
        src/sys/dist/pf/net: pf_ioctl.c pf_norm.c
        src/sys/lib/libkern: arc4random.c libkern.h
        src/sys/nfs: nfs_vnops.c
        src/sys/opencrypto: cryptosoft.c cryptosoft_xform.c
        src/sys/rump/include/rump: rumpuser.h
        src/sys/rump/librump/rumpkern: cprng_stub.c
        src/sys/sys: cprng.h param.h
        src/sys/ufs/ffs: ffs_alloc.c

Log Message:
Remove arc4random() and arc4randbytes() from the kernel API.  Replace
arc4random() hacks in rump with stubs that call the host arc4random() to
get numbers that are hopefully actually random (arc4random() keyed with
stack junk is not).  This should fix some of the currently failing anita
tests -- we should no longer generate duplicate "random" MAC addresses in
the test environment.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/librumpuser/rumpuser.c
cvs rdiff -u -r1.29 -r1.30 src/sys/dist/ipf/netinet/ip_compat.h
cvs rdiff -u -r1.36 -r1.37 src/sys/dist/ipf/netinet/ip_state.c
cvs rdiff -u -r1.45 -r1.46 src/sys/dist/pf/net/pf_ioctl.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dist/pf/net/pf_norm.c
cvs rdiff -u -r1.26 -r1.27 src/sys/lib/libkern/arc4random.c
cvs rdiff -u -r1.103 -r1.104 src/sys/lib/libkern/libkern.h
cvs rdiff -u -r1.292 -r1.293 src/sys/nfs/nfs_vnops.c
cvs rdiff -u -r1.38 -r1.39 src/sys/opencrypto/cryptosoft.c
cvs rdiff -u -r1.24 -r1.25 src/sys/opencrypto/cryptosoft_xform.c
cvs rdiff -u -r1.70 -r1.71 src/sys/rump/include/rump/rumpuser.h
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/librump/rumpkern/cprng_stub.c
cvs rdiff -u -r1.1 -r1.2 src/sys/sys/cprng.h
cvs rdiff -u -r1.396 -r1.397 src/sys/sys/param.h
cvs rdiff -u -r1.129 -r1.130 src/sys/ufs/ffs/ffs_alloc.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