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 483170680..2ce4dbf81 100644 --- a/platform.c +++ b/platform.c | |||
@@ -199,19 +199,3 @@ platform_krb5_get_principal_name(const char *pw_name) | |||
199 | return NULL; | 199 | return NULL; |
200 | #endif | 200 | #endif |
201 | } | 201 | } |
202 | |||
203 | /* | ||
204 | * return 1 if the specified uid is a uid that may own a system directory | ||
205 | * otherwise 0. | ||
206 | */ | ||
207 | int | ||
208 | platform_sys_dir_uid(uid_t uid) | ||
209 | { | ||
210 | if (uid == 0) | ||
211 | return 1; | ||
212 | #ifdef PLATFORM_SYS_DIR_UID | ||
213 | if (uid == PLATFORM_SYS_DIR_UID) | ||
214 | return 1; | ||
215 | #endif | ||
216 | return 0; | ||
217 | } | ||