Home
last modified time | relevance | path

Searched refs:setfiles (Results 1 – 17 of 17) sorted by relevance

/external/selinux/policycoreutils/setfiles/
DMakefile9 ABORT_ON_ERRORS=$(shell grep "^\#define ABORT_ON_ERRORS" setfiles.c | awk -S '{ print $$3 }')
20 all: setfiles restorecon man
22 setfiles: setfiles.o restore.o target
24 restorecon: setfiles
25 ln -sf setfiles restorecon
28 @cp -af setfiles.8 setfiles.8.man
30 @sed -i "s/STAR_COUNT/$(PROGRESS_STEP)/g" setfiles.8.man restorecon.8.man
31 @sed -i "s/ABORT_ON_ERRORS/$(ABORT_ON_ERRORS)/g" setfiles.8.man
36 install -m 755 setfiles $(SBINDIR)
37 (cd $(SBINDIR) && ln -sf setfiles restorecon)
[all …]
D.gitignore2 setfiles.8.man
/external/selinux/policycoreutils/
DChangeLog22 * setfiles/restorecon: fix -r/-R option, from Petr Lautrbach.
103 * Improve setfiles progress reporting from Dan Walsh.
104 * Document setfiles -o option in usage from Dan Walsh.
105 * Change setfiles to always return -1 on failure from Dan Walsh.
138 * setfiles: estimate percent progress
156 * setfiles: print error if no default label found
174 * setfiles/restorecon minor improvements
178 * scripts: Don't syslog setfiles changes on a fixfiles restore
179 * setfiles: do not syslog if no changes
182 * setfiles: Fix process_glob error handling
[all …]
D.gitignore14 setfiles/restorecon
15 setfiles/setfiles
DMakefile1 SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init sandbox secon audit2allow sestatu…
/external/selinux/libsemanage/src/
Dconf-parse.y290 semanage_conf_external_prog_destroy(current_conf->setfiles);
291 current_conf->setfiles = NULL;
292 if (new_external_prog(&current_conf->setfiles) == -1) {
374 if ((conf->setfiles =
375 calloc(1, sizeof(*(current_conf->setfiles)))) == NULL) {
379 conf->setfiles->path = strdup("/sbin/setfiles");
381 conf->setfiles->path = strdup("/usr/sbin/setfiles");
383 if ((conf->setfiles->path == NULL) ||
384 (conf->setfiles->args = strdup("-q -c $@ $<")) == NULL) {
459 semanage_conf_external_prog_destroy(conf->setfiles); in semanage_conf_destroy()
Dsemanage_conf.h52 struct external_prog *setfiles; member
Dsemanage_store.c1572 sh->conf->setfiles, in semanage_install_final_tmp()
1730 if (sh->conf->setfiles == NULL) { in semanage_install_sandbox()
/external/selinux/policycoreutils/po/
DPOTFILES.in11 setfiles/setfiles.c
DPOTFILES11 ../setfiles/setfiles.c
DMakefile37 ../setfiles/setfiles.c \
/external/selinux/policycoreutils/restorecond/
DMakefile26 restorecond: ../setfiles/restore.o restorecond.o utmpwatcher.o stringslist.o user.o watch.o
/external/selinux/libsemanage/
DChangeLog156 setfiles
357 * Merged setfiles location check patch from Dan Walsh.
366 * Updated default location for setfiles to /sbin to
369 [setfiles]
370 path = /path/to/setfiles
/external/selinux/policycoreutils/scripts/
Dfixfiles127 SETFILES=/sbin/setfiles
/external/selinux/libselinux/
DChangeLog1049 setfiles -c.
1084 and moved additional code from setfiles into libselinux so that
1085 setfiles can directly use matchpathcon.
/external/selinux/libsepol/
DChangeLog845 * Added sepol_set_policydb_from_file and sepol_check_context for setfiles.
/external/selinux/sepolgen/tests/test_data/
Dhttpd.log5771 …559.766:12337): avc: denied { unlink } for pid=8303 comm="yum" name="setfiles" dev=dm-0 ino=998…
5773 ….770:12338): avc: denied { relabelto } for pid=8303 comm="yum" name="setfiles" dev=dm-0 ino=998…
5775 …59.770:12339): avc: denied { setattr } for pid=8303 comm="yum" name="setfiles" dev=dm-0 ino=998…
6980 …:12844): avc: denied { execute } for pid=13626 comm="semodule" name="setfiles" dev=dm-0 ino=998…
7052 …:12874): avc: denied { execute } for pid=13665 comm="semodule" name="setfiles" dev=dm-0 ino=998…
7054 …avc: denied { execute_no_trans } for pid=13665 comm="semodule" name="setfiles" dev=dm-0 ino=998…
7055 …109:12874): avc: denied { read } for pid=13665 comm="semodule" name="setfiles" dev=dm-0 ino=998…
7056 …=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 comm="setfiles" exe="/sbin/setfiles" subj=…
7057 type=AVC_PATH msg=audit(1163776449.109:12874): path="/sbin/setfiles"
7058 type=AVC_PATH msg=audit(1163776449.109:12874): path="/sbin/setfiles"
[all …]