Home
last modified time | relevance | path

Searched refs:getfilecon (Results 1 – 20 of 20) sorted by relevance

/external/selinux/libselinux/src/
Dgetfilecon.c54 int getfilecon(const char *path, char ** context) in hidden_def()
73 hidden_def(getfilecon)
Dsetexecfilecon.c20 rc = getfilecon(filename, &fcon); in setexecfilecon()
Dselinux_internal.h44 hidden_proto(getfilecon)
Dprocattr.c352 hidden_def(getfilecon)
/external/toybox/lib/
Dlsm.h12 #define getfilecon(...) (-1) macro
101 else return getfilecon(filename, context); in lsm_get_context()
/external/selinux/libselinux/
DAndroid.bp62 "src/getfilecon.c",
131 "src/getfilecon.c",
160 "src/getfilecon.c",
Dexported_vendor.map7 getfilecon;
Dexported.map8 getfilecon;
/external/selinux/libselinux/utils/
D.gitignore10 getfilecon
Dgetfilecon.c17 rc = getfilecon(argv[i], &buf); in main()
Dselinuxexeccon.c22 int ret = getfilecon(command, &fcon); in get_selinux_proc_context()
/external/selinux/python/chcat/
Dchcat120 (rc, c) = selinux.getfilecon(f)
201 (rc, c) = selinux.getfilecon(f)
/external/openssh/openbsd-compat/
Dport-linux.c152 if (getfilecon(tty, &old_tty_ctx) == -1) { in ssh_selinux_setup_pty()
/external/selinux/policycoreutils/scripts/
Dfixfiles316 getfilecon / > /dev/null 2>&1 || echo -F >/.autorelabel
/external/selinux/libselinux/include/selinux/
Dselinux.h101 extern int getfilecon(const char *path, char ** con);
/external/selinux/policycoreutils/sestatus/
Dsestatus.c471 if (getfilecon(fc[i], &context) >= 0) { in main()
/external/selinux/python/sepolicy/sepolicy/
D__init__.py730 entrypoint = selinux.getfilecon(path)[1].split(":")[2]
Dgui.py1142 cur = selinux.getfilecon(path)[1]
1151 cur = selinux.getfilecon(path)[1]
2423 cur = selinux.getfilecon(path)[1].split(":")[2]
/external/selinux/libselinux/src/android/
Dandroid_platform.c1113 rc = getfilecon(pkgdir, &ctx_str); in selinux_android_setfilecon()
/external/iproute2/misc/
Dss.c78 static int getfilecon(char *path, char **context) in getfilecon() function
489 if (getfilecon(tmp, &sock_context) <= 0) in user_ent_hash_build()