Changeset 265 for trunk/kernel/syscalls
- Timestamp:
- Jul 21, 2017, 7:36:08 AM (7 years ago)
- Location:
- trunk/kernel/syscalls
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_read.c
r124 r265 110 110 111 111 // transfer nbytes to kernel buffer 112 error = vfs_move( true, // read => (to_buffer = true) 112 error = vfs_move( true, // to_buffer 113 true, // is_user 113 114 file_xp , 114 115 kbuf , -
trunk/kernel/syscalls/sys_write.c
r124 r265 110 110 111 111 // transfer nbytes from kernel buffer 112 error = vfs_move( false, // write => (to_buffer = false) 112 error = vfs_move( false, // from buffer 113 true, // is_user 113 114 file_xp, 114 115 kbuf ,
Note: See TracChangeset
for help on using the changeset viewer.