HomeSort by relevance Sort by last modified time
    Searched refs:setfilecon (Results 1 - 8 of 8) sorted by null

  /external/libselinux/src/
setfilecon.c 10 int setfilecon(const char *path, const security_context_t context) function
android.c 502 rc = setfilecon(pkgdir, ctx_str);
  /system/core/toolbox/
chcon.c 17 rc = setfilecon(argv[i], argv[1]);
  /ndk/sources/host-tools/sed-4.2.1/lib/
se-selinux.in.h 30 static inline int setfilecon (char const *s _UNUSED_PARAMETER_, function
  /external/libselinux/
Android.mk 19 src/setfilecon.c \
  /external/libselinux/include/selinux/
selinux.h 93 extern int setfilecon(const char *path, security_context_t con);
  /external/openssh/openbsd-compat/
port-linux.c 167 if (setfilecon(tty, new_tty_ctx) != 0)
168 error("%s: setfilecon: %s", __func__, strerror(errno));
  /frameworks/base/core/jni/
android_os_SELinux.cpp 150 * Function: setFileCon
158 static jboolean setFileCon(JNIEnv *env, jobject, jstring pathStr, jstring contextStr) {
173 // GetStringUTFChars returns const char * yet setfilecon needs char *
175 int ret = setfilecon(path.c_str(), tmp);
177 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret);
439 { "setFileContext" , "(Ljava/lang/String;Ljava/lang/String;)Z" , (void*)setFileCon },

Completed in 115 milliseconds