Change-Id: I40115a5b51acec3c9bd458081e127e0ef44702a5
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
#define _GNU_SOURCE
#include <dlfcn.h>
#include <string.h>
-#include <fcntl.h>
#include <unistd.h>
-#include <time.h>
#include <string.h>
#include <libxml/parser.h>
#include <libxml/xmlschemas.h>
-#include <vconf.h>
#include <glib.h>
-#include <grp.h>
#include "pkgmgr-info.h"
#include "pkgmgrinfo_basic.h"
#include "pkgmgr_parser_db.h"
#include "pkgmgr_parser_debug.h"
-API int __is_admin()
-{
- uid_t uid = getuid();
- if ((uid_t)0 == uid)
- return 1;
- else
- return 0;
-}
-
#define LIBAPPSVC_PATH LIB_PATH "/libappsvc.so.0"
static int __ps_remove_appsvc_db(manifest_x *mfx, uid_t uid)