| libfaketime. libfaketimeÀº time () È£Ãâ¿¡ ´ëÇÑ ÇÊÅ͸¦ Á¦°øÇÏ´Â °øÀ¯ ¶óÀ̺귯¸®ÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
libfaketime. ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Krzysztof Burghardt
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.burghardt.pl/2007/12/limiting-access-to-ptrace-call-in-linux/
libfaketime. ű×
libfaketime. ¼³¸í
libfaketimeÀº time () È£Ãâ¿¡ ´ëÇÑ Àüº¹À» Á¦°øÇÏ´Â °øÀ¯ ¶óÀ̺귯¸®ÀÔ´Ï´Ù. libfaketimeÀº time () ¹× getTimeOfDay () ¶óÀ̺귯¸® ¸µÅ© µÈ ÇÁ·Î±×·¥À»À§ÇÑ ¶óÀ̺귯¸® È£ÃâÀ»À§ÇÑ Àüº¹À» Á¦°øÇÏ´Â °øÀ¯ ¶óÀ̺귯¸®ÀÔ´Ï´Ù. libfaketimeÀº ÇÁ·Î±×·¥¿¡ ´ëÇØ Åõ¸íÇÏ°Ô ÀÛµ¿ÇÕ´Ï´Ù (´Ù½Ã ÄÄÆÄÀÏ ¶Ç´Â relink ÇÊ¿ä ¾øÀ½). ±×°ÍÀº ½Ã½ºÅÛ Àüü ¹× »ç¿ëÀÚ Àüü ±¸¼º ÆÄÀÏ (¿¹ : ~ / .libfaketime.d / for user-wide ¹× /etc/libfaketime.d/¿¡¼ ½Ã½ºÅÛ ÀüüÀÇ °æ¿ì ~ / .libfaketime.d/ ±¸¼º).ÀÌ ¸±¸®½ºÀÇ »õ·Î¿î ±â´ÉÀº ´ÙÀ½°ú °°½À´Ï´Ù. ¡¤ÀÌ ¸±¸®½º´Â clock_gettime ()¿¡ ´ëÇÑ Áö¿øÀÌ Ãß°¡µÇ¾ú½À´Ï´Ù. - ¶Ç ´Ù¸¥ Linux ½Ã°£ ÇÔ¼ö.
libfaketime. °ü·Ã ¼ÒÇÁÆ®¿þ¾î