Skip to content

src: add ability to get/set effective uid/gid

Adds the following to process:

  • process.geteuid()
  • process.seteuid(id)
  • process.getegid()
  • process.setegid(id)

Could be useful for https://github.com/iojs/io.js/pull/1513 to check if the real UID is the same as the effective UID

Merge request reports

Loading