Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Linux setuid()/setgid() Example

Example of how to use setuid() and setgid() functions under Linux in C.

Test it

  1. Run make main.
  2. Run sudo ./main.

About

Example how to set UID/GID to a process in C.

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages