syscall_emul.cc (11906:4b99c1bb3b72) | syscall_emul.cc (11907:48a3d32da9d8) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 351 unchanged lines hidden (view full) --- 360 } 361 } 362 363 buf.copyOut(tc->getMemProxy()); 364 365 return (result == -1) ? -errno : result; 366} 367 | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 351 unchanged lines hidden (view full) --- 360 } 361 } 362 363 buf.copyOut(tc->getMemProxy()); 364 365 return (result == -1) ? -errno : result; 366} 367 |
368/// Target open() handler. | |
369SyscallReturn 370readlinkFunc(SyscallDesc *desc, int callnum, Process *process, 371 ThreadContext *tc) 372{ 373 return readlinkFunc(desc, callnum, process, tc, 0); 374} 375 376SyscallReturn --- 568 unchanged lines hidden --- | 368SyscallReturn 369readlinkFunc(SyscallDesc *desc, int callnum, Process *process, 370 ThreadContext *tc) 371{ 372 return readlinkFunc(desc, callnum, process, tc, 0); 373} 374 375SyscallReturn --- 568 unchanged lines hidden --- |