Source-Changes archive

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

CVS commit: src/sys/kern



Module Name:    src
Committed By:   pooka
Date:           Mon Dec  9 19:18:52 UTC 2013

Modified Files:
        src/sys/kern: makesyscalls.sh

Log Message:
Initialize the syscall "frame" to 0 before setting parameters.
Otherwise things which treat syscall parameters as register_t (like
ktrace) will encounter garbage for parameters which are of smaller size
than register_t.  Using memset is probably not the most optimal way,
but oh well.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/kern/makesyscalls.sh

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