07-08-2005
I have selinux as enforcing and can create files/directories in /home as root. Check your permissions on /home.
drwxr-xr-x 3 root root 4096 Jul 8 14:51 /home
10 More Discussions You Might Find Interesting
1. Linux
I have done some research on the Fedora Project and trying to find clear cut answer on how to migrate from current OS - RH 8.0 Pro to Fedora Core 2. Can anybody help me with this and does Fedora Core 2 include OpenOffice and Ximian Evolution like with my RH 8.0 Pro. (3 Replies)
Discussion started by: Mark McWilliams
3 Replies
2. Linux
I've been using FC2, but my sound card doesn't work
I'm new with linux systems..
but there says that needs to recompile kernel
how can i do it with a kernel 2.6.5 i386 ?
by the way,. my sound card chipset is an ESS 1869F, with a compaq deskpro Smal Form Factor. but i have not found a... (4 Replies)
Discussion started by: Quake
4 Replies
3. Linux
Lucky me...someone's trying to hack into my mythtv box through ssh. Can I make a policy or something similar to refuse connections from a specific IP after a certain amount of failed logins?
attached is some of the output from /var/log/messages (2 Replies)
Discussion started by: dangral
2 Replies
4. Linux
Hiya all,
Hope you can help.
I keep getting the same Error message when I try to install. I have tried several different Diskettes. And I finally ordered CDs from "FASTDISCs". The install "disc Checks" passed fine on these.
The error:
"The package usbitils-0.11.6.1 cannot be opened. ... (8 Replies)
Discussion started by: marty 600
8 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am about to install Fedora on a partition on my hard drive. I got the CD from a magazine and it isnt a LiveCD so the magazine says "fedora core installer isn't a LiveCD, so it will merrily destroy your primary partition when you install on your machine", now I'm guessing the primary... (1 Reply)
Discussion started by: ArkNia
1 Replies
6. Linux
Hi all,
I'm experiencing a problem with Fedora Core 4, by which I don't know how to export a directory exclusively in NFSv3.
I have two raid arrays "/dev/md0" and "/dev/md1" both to be visible to SGI machines via NFSv3...
My situation is that Fedora runs NFSv4 and that causes problems with the... (0 Replies)
Discussion started by: spaceace13666
0 Replies
7. Linux
hi all
i am currently using fedora core 3 . i downloaded the iso image of fedora core 6 but after installing the fedora core 6 . while starting linux it gives a error saying init is been killed .
wht is happened?
thank u (3 Replies)
Discussion started by: nageshrk
3 Replies
8. Linux
hi i dont know much about linux but my boss gave me a job to backup all the mysql database and tables from fedora core4 running as web/database server. i can enter in fedora using remote desktop from my laptop but after that i am unable to do anything. if any one can help me in finding mysql and... (3 Replies)
Discussion started by: obstinate
3 Replies
9. Linux
Hi ,
I am facing a strange with BIND in Fedora Core 6. Here is the config for more info.
#cat /etc/named.caching-nameserver.conf
options {
listen-on port 53 { any; };
directory "/var/named";
// dump-file "/var/named/data/cache_dump.db";
... (3 Replies)
Discussion started by: narasimhulu
3 Replies
10. Cybersecurity
Hi, I can not start named service:
/etc/init.d/named start
Iniciando named:
Error in named configuration:
zone default.domain/IN: loading from master file /home/admin/conf/dns/default.domain.db failed: permission denied
zone default.domain/IN: not loaded due to errors.... (2 Replies)
Discussion started by: Anibal
2 Replies
LEARN ABOUT CENTOS
avc_destroy
avc_open(3) SELinux API documentation avc_open(3)
NAME
avc_open, avc_destroy, avc_reset, avc_cleanup - userspace SELinux AVC setup and teardown
SYNOPSIS
#include <selinux/selinux.h>
#include <selinux/avc.h>
int avc_open(struct selinux_opt *options, unsigned nopt);
void avc_destroy(void);
int avc_reset(void);
void avc_cleanup(void);
DESCRIPTION
avc_open() initializes the userspace AVC and must be called before any other AVC operation can be performed.
avc_destroy() destroys the userspace AVC, freeing all internal memory structures. After this call has been made, avc_open() must be called
again before any AVC operations can be performed.
avc_reset() flushes the userspace AVC, causing it to forget any cached access decisions. The userspace AVC normally calls this function
automatically when needed, see NETLINK NOTIFICATION below.
avc_cleanup() attempts to free unused memory within the userspace AVC, but does not flush any cached access decisions. Under normal opera-
tion, calling this function should not be necessary.
OPTIONS
The userspace AVC obeys callbacks set via selinux_set_callback(3), in particular the logging and audit callbacks.
The options which may be passed to avc_open() include the following:
AVC_OPT_SETENFORCE
This option forces the userspace AVC into enforcing mode if the option value is non-NULL; permissive mode otherwise. The system
enforcing mode will be ignored.
NETLINK NOTIFICATION
Beginning with version 2.6.4, the Linux kernel supports SELinux status change notification via netlink. Two message types are currently
implemented, indicating changes to the enforcing mode and to the loaded policy in the kernel, respectively. The userspace AVC listens for
these messages and takes the appropriate action, modifying the behavior of avc_has_perm(3) to reflect the current enforcing mode and flush-
ing the cache on receipt of a policy load notification. Audit messages are produced when netlink notifications are processed.
RETURN VALUE
Functions with a return value return zero on success. On error, -1 is returned and errno is set appropriately.
AUTHOR
Eamon Walsh <ewalsh@tycho.nsa.gov>
SEE ALSO
selinux(8), avc_has_perm(3), avc_context_to_sid(3), avc_cache_stats(3), avc_add_callback(3), selinux_set_callback(3), security_com-
pute_av(3)
12 Jun 2008 avc_open(3)