+
Skip to content

frankwillmore/libfake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NAME
     libfake

SYNOPSIS
     LD_PRELOAD=/path/to/libfake.so.1 CMD [args ...]

DESCRIPTION
     Libfake overrides system / library calls with fake ones.

     Current implemented functions:
          struct passwd *getpwuid(uid_t);

     Environment variables are used for supplying fake results.
     The fake getpwuid(3) uses LOGNAME, GID, GECOS, HOME, and SHELL,
     to initialize the passwd structure.

     The library prints out diagnostic information to stderr,
     when the environment variable, VERBOSE_LIBFAKE, is set.

SEE ALSO
     getpwuid(3)

BUGS
     Only works with executables that use system ld.so facilities.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载