diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-02-23 20:53:41 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-02-23 20:53:41 +0000 |
commit | 770df72410cd936f01ff1c303954cbc9b21758cc (patch) | |
tree | 6b6bf3437d60e2bdd31d1d6cf4dac19a8995035b /loader2/selinux.h | |
parent | 61da6e651ccacef66aff5a5e28184611253d0c60 (diff) | |
download | anaconda-770df72410cd936f01ff1c303954cbc9b21758cc.tar.gz anaconda-770df72410cd936f01ff1c303954cbc9b21758cc.tar.xz anaconda-770df72410cd936f01ff1c303954cbc9b21758cc.zip |
shuffle some selinux stuff around. make policy version be dynamic, set
context of running anaconda to be anaconda_t
Diffstat (limited to 'loader2/selinux.h')
-rw-r--r-- | loader2/selinux.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/loader2/selinux.h b/loader2/selinux.h new file mode 100644 index 000000000..93c81800b --- /dev/null +++ b/loader2/selinux.h @@ -0,0 +1,9 @@ +#ifndef SELINUX_H +#define SELINUX_H + +int setexeccon(char * context); +int loadpolicy(); + +#define ANACONDA_CONTEXT "system_u:object_r:anaconda_t" + +#endif |