diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-03 13:32:12 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-03 13:32:12 +0000 |
commit | 028d19ef5c7ea75602b64769edd02240139b1596 (patch) | |
tree | 5dec0bbcf8cfa0f1c829b23e01573c21cebb55b8 /process.c | |
parent | e9fb2e27313331240a9576954d3f59cbab2443d8 (diff) |
On NetBSD don't use setruid() and setrgid().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -91,6 +91,11 @@ static VALUE S_Tms; #define HAVE_44BSD_SETGID 1 #endif +#ifdef __NetBSD__ +#undef HAVE_SETRUID +#undef HAVE_SETRGID +#endif + #if defined(__MacOS_X__) || defined(__bsdi__) #define BROKEN_SETREUID 1 #define BROKEN_SETREGID 1 |