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 | 7b20e9b0422be4406f6ffa5d7a2d7d04e4af6a0f (patch) | |
| tree | 5dec0bbcf8cfa0f1c829b23e01573c21cebb55b8 /process.c | |
| parent | 73a283ad0c00eabfb01d32153d09c866b0499cec (diff) | |
| download | ruby-7b20e9b0422be4406f6ffa5d7a2d7d04e4af6a0f.tar.gz ruby-7b20e9b0422be4406f6ffa5d7a2d7d04e4af6a0f.tar.xz ruby-7b20e9b0422be4406f6ffa5d7a2d7d04e4af6a0f.zip | |
On NetBSD don't use setruid() and setrgid().
git-svn-id: http://svn.ruby-lang.org/repos/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 |
