HomeSort by relevance Sort by last modified time
    Searched refs:restorecon (Results 1 - 25 of 48) sorted by null

1 2

  /external/selinux/python/sepolicy/sepolicy/templates/
semodule.py 30 restorecon="""
31 restorecon -R -v FILENAME
  /external/selinux/policycoreutils/setfiles/
Makefile 19 all: setfiles restorecon restorecon_xattr man
23 restorecon: setfiles
24 ln -sf setfiles restorecon
36 (cd $(SBINDIR) && ln -sf setfiles restorecon)
39 install -m 644 restorecon.8 $(MANDIR)/man8/restorecon.8
43 rm -f setfiles restorecon restorecon_xattr *.o setfiles.8.man
49 $(SBINDIR)/restorecon $(SBINDIR)/setfiles $(SBINDIR)/restorecon_xattr
restore.h 15 #include <selinux/restorecon.h>
restorecon_xattr.c 13 #include <selinux/restorecon.h>
  /external/openssh/contrib/redhat/
sshd.init 42 if [ -x /sbin/restorecon ]; then
43 /sbin/restorecon /etc/ssh/ssh_host_key.pub
44 /sbin/restorecon /etc/ssh/ssh_host_rsa_key.pub
45 /sbin/restorecon /etc/ssh/ssh_host_dsa_key.pub
46 /sbin/restorecon /etc/ssh/ssh_host_ecdsa_key.pub
  /system/core/logd/
logtagd.rc 9 restorecon /data/misc/logd/event-log-tags
  /frameworks/base/core/java/android/os/
SELinux.java 115 public static boolean restorecon(String pathname) throws NullPointerException { method in class:SELinux
143 public static boolean restorecon(File file) throws NullPointerException { method in class:SELinux
147 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
165 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
  /external/selinux/restorecond/
restore.h 15 #include <selinux/restorecon.h>
Makefile 55 /sbin/restorecon $(SBINDIR)/restorecond
  /external/selinux/python/sepolicy/sepolicy/
sedbus.py 20 def restorecon(self, path): member in class:SELinuxDBus
21 ret = self.dbus_object.restorecon(path, dbus_interface="org.selinux")
  /external/selinux/libselinux/src/
selinuxswig_python.i 22 def restorecon(path, recursive=False, verbose=False):
51 restorecon(dest, recursive=True)
56 restorecon(dest, recursive=True)
  /system/core/init/
init.cpp 880 LOG(INFO) << "Running restorecon...";
881 restorecon("/dev");
882 restorecon("/dev/kmsg");
883 restorecon("/dev/socket");
884 restorecon("/dev/random");
885 restorecon("/dev/urandom");
886 restorecon("/dev/__properties__");
888 restorecon("/file_contexts.bin");
889 restorecon("/plat_file_contexts");
890 restorecon("/nonplat_file_contexts")
    [all...]
util.h 78 int restorecon(const char *pathname, int flags = 0);
  /external/selinux/checkpolicy/
Makefile 56 /sbin/restorecon $(BINDIR)/checkpolicy
57 /sbin/restorecon $(BINDIR)/checkmodule
  /external/selinux/policycoreutils/load_policy/
Makefile 31 /sbin/restorecon $(SBINDIR)/load_policy
  /external/selinux/policycoreutils/run_init/
Makefile 52 /sbin/restorecon $(SBINDIR)/run_init $(SBINDIR)/open_init_pty
  /device/huawei/angler/
init.angler.power.sh 30 # some files in /sys/devices/system/cpu are created after the restorecon of
32 # Restorecon again to give new files the correct label.
33 restorecon -R /sys/devices/system/cpu
48 restorecon -R /sys/devices/system/cpu # must restore after interactive
66 restorecon -R /sys/devices/system/cpu # must restore after interactive
  /device/lge/bullhead/
init.bullhead.power.sh 34 # some files in /sys/devices/system/cpu are created after the restorecon of
36 # Restorecon again to give new files the correct label.
37 restorecon -R /sys/devices/system/cpu
59 restorecon -R /sys/devices/system/cpu # must restore after interactive
77 restorecon -R /sys/devices/system/cpu # must restore after interactive
  /external/ltp/testcases/network/stress/ssh/
ssh-stress 99 local rc=$(which restorecon)
  /external/selinux/dbus/
selinux_server.py 63 # The restorecon method modifies any file path to the default system label
65 @slip.dbus.polkit.require_auth("org.selinux.restorecon")
67 def restorecon(self, path): member in class:selinux_server
68 selinux.restorecon(str(path), recursive=1)
  /external/selinux/mcstrans/share/util/
try-all 58 restorecon -rv /etc/selinux/mls/setrans.conf /etc/selinux/mls/setrans.d >/dev/null
  /external/selinux/libselinux/utils/
selinux_restorecon.c 9 #include <selinux/restorecon.h>
280 /* Call restorecon for each path in list */
  /external/selinux/libsepol/src/
Makefile 92 /sbin/restorecon $(SHLIBDIR)/$(LIBSO)
  /external/selinux/policycoreutils/newrole/
Makefile 85 /sbin/restorecon $(BINDIR)/newrole
  /frameworks/base/services/backup/java/com/android/server/backup/
KeyValueAdbBackupEngine.java 127 if (!SELinux.restorecon(mBackupDataName)) {
128 Slog.e(TAG, "SELinux restorecon failed on " + mBackupDataName);

Completed in 1173 milliseconds

1 2