diff options
| author | Eli Zaretskii | 2012-11-17 20:00:16 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-11-17 20:00:16 +0200 |
| commit | cf2d22b874ca2df0072e32ee641e8efffe4abd6d (patch) | |
| tree | 1795142ec7861fc85c61adc90f03265b69041556 /lib/root-uid.h | |
| parent | 3c4ca7155293ffc2d04708007131bcbc882d8913 (diff) | |
| parent | 6ad30855c02908fdd99d9b11943719e185e65ee3 (diff) | |
| download | emacs-cf2d22b874ca2df0072e32ee641e8efffe4abd6d.tar.gz emacs-cf2d22b874ca2df0072e32ee641e8efffe4abd6d.zip | |
Merge from trunk.
Diffstat (limited to 'lib/root-uid.h')
| -rw-r--r-- | lib/root-uid.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/root-uid.h b/lib/root-uid.h new file mode 100644 index 00000000000..2379773c291 --- /dev/null +++ b/lib/root-uid.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | /* The user ID that always has appropriate privileges in the POSIX sense. | ||
| 2 | |||
| 3 | Copyright 2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation; either version 3 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | |||
| 18 | Written by Paul Eggert. */ | ||
| 19 | |||
| 20 | #ifndef ROOT_UID_H_ | ||
| 21 | #define ROOT_UID_H_ | ||
| 22 | |||
| 23 | /* The user ID that always has appropriate privileges in the POSIX sense. */ | ||
| 24 | #ifdef __TANDEM | ||
| 25 | # define ROOT_UID 65535 | ||
| 26 | #else | ||
| 27 | # define ROOT_UID 0 | ||
| 28 | #endif | ||
| 29 | |||
| 30 | #endif | ||