diff options
Diffstat (limited to 'platform.c')
-rw-r--r-- | platform.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/platform.c b/platform.c index 4aab9a9cd..f99de7fab 100644 --- a/platform.c +++ b/platform.c | |||
@@ -196,19 +196,3 @@ platform_krb5_get_principal_name(const char *pw_name) | |||
196 | return NULL; | 196 | return NULL; |
197 | #endif | 197 | #endif |
198 | } | 198 | } |
199 | |||
200 | /* | ||
201 | * return 1 if the specified uid is a uid that may own a system directory | ||
202 | * otherwise 0. | ||
203 | */ | ||
204 | int | ||
205 | platform_sys_dir_uid(uid_t uid) | ||
206 | { | ||
207 | if (uid == 0) | ||
208 | return 1; | ||
209 | #ifdef PLATFORM_SYS_DIR_UID | ||
210 | if (uid == PLATFORM_SYS_DIR_UID) | ||
211 | return 1; | ||
212 | #endif | ||
213 | return 0; | ||
214 | } | ||