drop segment from safecopy invocations
. all invocations were S or D, so can safely be dropped to prepare for the segmentless world . still assign D to the SCP_SEG field in the message to make previous kernels usable
This commit is contained in:
@@ -412,7 +412,7 @@ static void prepare_output()
|
||||
if ( (chunk = user_left) > sizeof obuf) chunk = sizeof obuf;
|
||||
|
||||
s=sys_safecopyfrom(caller, grant_nr, user_vir_d, (vir_bytes) obuf,
|
||||
chunk, D);
|
||||
chunk);
|
||||
|
||||
if(s != OK) {
|
||||
done_status = EFAULT;
|
||||
|
||||
Reference in New Issue
Block a user