/external/selinux/libselinux/utils/ |
setfilecon.c | 16 rc = setfilecon(argv[i], argv[1]); 18 fprintf(stderr, "%s: setfilecon(%s,%s) failed\n",
|
/external/toybox/toys/other/ |
chcon.c | 32 if (-1 == ((toys.optflags & FLAG_h) ? lsetfilecon : setfilecon)(path, con))
|
/external/toybox/lib/ |
lsm.h | 17 #define setfilecon(...) (-1) macro 78 else return setfilecon(filename, context);
|
/external/selinux/libselinux/src/ |
setfilecon.c | 30 int setfilecon(const char *path, const char *context)
|
/external/openssh/openbsd-compat/ |
port-linux.c | 166 if (setfilecon(tty, new_tty_ctx) != 0) 167 error("%s: setfilecon: %s", __func__, strerror(errno));
|
/external/selinux/libselinux/include/selinux/ |
selinux.h | 109 extern int setfilecon(const char *path, const char * con);
|
/frameworks/base/core/jni/ |
android_os_SELinux.cpp | 133 * Function: setFileCon 141 static jboolean setFileCon(JNIEnv *env, jobject, jstring pathStr, jstring contextStr) { 156 // GetStringUTFChars returns const char * yet setfilecon needs char * 158 int ret = setfilecon(path.c_str(), tmp); 160 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret); 333 { "setFileContext" , "(Ljava/lang/String;Ljava/lang/String;)Z" , (void*)setFileCon },
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/selinux/ |
__init__.py | 720 def setfilecon(*args): function 721 return _selinux.setfilecon(*args) 722 setfilecon = _selinux.setfilecon variable [all...] |
/system/vold/ |
Ext4Crypt.cpp | 592 if (setfilecon(path.c_str(), "u:object_r:storage_stub_file:s0") != 0) { 593 PLOG(WARNING) << "Failed to setfilecon " << path;
|
/external/selinux/libselinux/src/android/ |
android.c | 956 rc = setfilecon(pkgdir, ctx_str); [all...] |