diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-31 14:37:08 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-31 14:37:08 +0000 |
commit | a8966861e81e8df30ee683b5ba050c1fd3f82ecc (patch) | |
tree | 5d6ed19b852b23ab8b5141a590eacbb9b3337e1a /process.c | |
parent | ac0fc7798dcf1044e40c978a2e40c213ffd239ad (diff) | |
download | ruby-a8966861e81e8df30ee683b5ba050c1fd3f82ecc.tar.gz |
On NetBSD don't use setruid() and setrgid().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -94,6 +94,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 |