Skip to content

sansiny/autosynthesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

autosynthesis

Linux light program can not be "killed"

My little production

When we send a signal (SIG_XX), process create subroutine and kill himself rather than be aborted by signal.

Unix environment advanced programming

  • sighandler_t signal(int signum, sighandler_t handler);
  • pid_t fork(void);

With the help of my teacher Mr.Jiang,I make good use of the two funtions.

You can append extra features:

  • int remove(const char *pathname);
  • int socket(int domain, int type, int protocol);
  • etc. Make it functional and random duplication ...

About

Linux light self-reproduction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages