Home
last modified time | relevance | path

Searched refs:getfilecon (Results 1 – 22 of 22) 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.c325 hidden_def(getfilecon)
/external/toybox/lib/
Dlsm.h12 #define getfilecon(...) (-1) macro
100 else return getfilecon(filename, context); in lsm_get_context()
/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/libselinux/src/
Dgetfilecon.c10 int getfilecon(const char *path, char ** context) in getfilecon() function
Dselinux_internal.h40 hidden_proto(getfilecon)
Dprocattr.c162 hidden_def(getfilecon)
Dandroid.c847 rc = getfilecon(pkgdir, &ctx_str); in selinux_android_setfilecon()
/external/libselinux/include/selinux/
Dselinux.h89 extern int getfilecon(const char *path, char ** con);
/external/selinux/policycoreutils/scripts/
Dchcat115 (rc, c) = selinux.getfilecon(f)
194 (rc, c) = selinux.getfilecon(f)
Dfixfiles323 getfilecon / > /dev/null 2>&1 || echo -F >/.autorelabel
/external/libselinux/
DAndroid.mk11 src/getfilecon.c \
/external/selinux/policycoreutils/sestatus/
Dsestatus.c449 if (getfilecon(fc[i], &context) >= 0) { in main()
/external/selinux/libselinux/include/selinux/
Dselinux.h101 extern int getfilecon(const char *path, char ** con);
/external/selinux/libselinux/
DChangeLog123 * Use ENOTSUP instead of EOPNOTSUPP for getfilecon functions
530 …* Re-map a getxattr return value of 0 to a getfilecon return value of -1 with errno EOPNOTSUPP fro…
560 * Fix for getfilecon() for zero-length contexts from Stephen Smalley.
698 * Merged return value fix for *getfilecon() from Dan Walsh.
1202 and handle allocation ala getfilecon.
1214 * Fixed type for 'size' in *getfilecon.
/external/selinux/policycoreutils/sepolicy/sepolicy/
D__init__.py387 entrypoint = selinux.getfilecon(path)[1].split(":")[2]
Dgui.py1138 cur = selinux.getfilecon(path)[1]
1147 cur = selinux.getfilecon(path)[1]
2416 cur = selinux.getfilecon(path)[1].split(":")[2]
/external/iproute2/misc/
Dss.c76 static int getfilecon(char *path, char **context) in getfilecon() function
523 if (getfilecon(tmp, &sock_context) <= 0) in user_ent_hash_build()