syscall_emul.hh (3114:7a4771b9b720) | syscall_emul.hh (3277:8eb197592935) |
---|---|
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; --- 342 unchanged lines hidden (view full) --- 351{ 352 if (fakeTTY) 353 tgt->st_dev = 0xA; 354 else 355 tgt->st_dev = host->st_dev; 356 tgt->st_dev = htog(tgt->st_dev); 357 tgt->st_ino = host->st_ino; 358 tgt->st_ino = htog(tgt->st_ino); | 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; --- 342 unchanged lines hidden (view full) --- 351{ 352 if (fakeTTY) 353 tgt->st_dev = 0xA; 354 else 355 tgt->st_dev = host->st_dev; 356 tgt->st_dev = htog(tgt->st_dev); 357 tgt->st_ino = host->st_ino; 358 tgt->st_ino = htog(tgt->st_ino); |
359 tgt->st_mode = host->st_mode; 360 tgt->st_mode = htog(tgt->st_mode); 361 tgt->st_nlink = host->st_nlink; 362 tgt->st_nlink = htog(tgt->st_nlink); 363 tgt->st_uid = host->st_uid; 364 tgt->st_uid = htog(tgt->st_uid); 365 tgt->st_gid = host->st_gid; 366 tgt->st_gid = htog(tgt->st_gid); |
|
359 if (fakeTTY) 360 tgt->st_rdev = 0x880d; 361 else 362 tgt->st_rdev = host->st_rdev; 363 tgt->st_rdev = htog(tgt->st_rdev); 364 tgt->st_size = host->st_size; 365 tgt->st_size = htog(tgt->st_size); 366 tgt->st_atimeX = host->st_atime; --- 577 unchanged lines hidden --- | 367 if (fakeTTY) 368 tgt->st_rdev = 0x880d; 369 else 370 tgt->st_rdev = host->st_rdev; 371 tgt->st_rdev = htog(tgt->st_rdev); 372 tgt->st_size = host->st_size; 373 tgt->st_size = htog(tgt->st_size); 374 tgt->st_atimeX = host->st_atime; --- 577 unchanged lines hidden --- |