07-28-2008
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Can anyone tell me the syntax for starting Raid manager on a A1000? (2 Replies)
Discussion started by: MBGPS
2 Replies
2. AIX
Hi,
I have a problem with the "Web-based System Manager" on AIX 5.3 ML04.
When selecting category "File Systems" and the "Overview and Tasks", I get a popup with the following error:
:
com.ibm.jcb.RemoteSourceException: The remote call failed; nested exception is:... (1 Reply)
Discussion started by: Ebbi
1 Replies
3. AIX
Hello everyone,
Would any of you know what group I need to be a member of to be able to change system settings via WSM?
I have tried adding myself to couple of groups (adm, sucurity, system) but so far no good. I am able to see what settings are applied, but cannot change them.
Thanks in... (3 Replies)
Discussion started by: juniorG
3 Replies
4. AIX
dear aix guru,
i have some question....i would like to set up broadcast message & email to root repeatly when the event had occured untill the error is fixed.... coz i got only one broadcast message & email when i start the condition...
thanks ;) (0 Replies)
Discussion started by: click007
0 Replies
5. Web Development
I'm studying web design and I would like to know the stages to knowing what you will ultimately need to know when entering this profession. With HTML being the step one and the basics, to I think XHTML and Css, being two, what's next? JavaScript? MySQL? Can some one provide an ordered list of... (5 Replies)
Discussion started by: Anna Hussie
5 Replies
6. Solaris
hi guys
i try to start my web server on solaris 10 with T2000 server, i have been already start but the status always maintenace. when i check logfile i have this messages
when i exceute " svcs -l http" i have this output
fmri svc:/network/http:apache2
name ... (10 Replies)
Discussion started by: audi_99
10 Replies
7. Solaris
Java web console Vs Web-Based Enterprise Management(WBEM)
1. I like to understand the difference in purpose of using java web console and Web-Based Enterprise Management (WBEM)
2. As per CIS benchmark, both of them has to be disabled when not used for increased security.
Solaris admin(s) -... (0 Replies)
Discussion started by: cyberidude
0 Replies
8. Web Development
Hello,
I installed Jboss EAP 6 on a remote Linux server in standalone mode, and deployed a HelloWorld war file successfully.
Opened a browser on my PC and pointed to http://127.0.0.1:8080/filename. I can see “Hello World!” on my browser. However, if the browser points to http://server's... (3 Replies)
Discussion started by: learnix
3 Replies
LEARN ABOUT CENTOS
sidput
avc_context_to_sid(3) SELinux API documentation avc_context_to_sid(3)
NAME
avc_context_to_sid, avc_sid_to_context, avc_get_initial_sid - obtain and manipulate SELinux security ID's
SYNOPSIS
#include <selinux/selinux.h>
#include <selinux/avc.h>
int avc_context_to_sid(security_context_t ctx, security_id_t *sid);
int avc_sid_to_context(security_id_t sid, security_context_t *ctx);
int avc_get_initial_sid(const char *name, security_id_t *sid);
DESCRIPTION
Security ID's (SID's) are opaque representations of security contexts, managed by the userspace AVC.
avc_context_to_sid() returns a SID for the given context in the memory referenced by sid.
avc_sid_to_context() returns a copy of the context represented by sid in the memory referenced by ctx. The user must free the copy with
freecon(3).
avc_get_initial_sid() returns a SID for the kernel initial security identifier specified by name.
RETURN VALUE
avc_context_to_sid() and avc_sid_to_context() return zero on success. On error, -1 is returned and errno is set appropriately.
ERRORS
ENOMEM An attempt to allocate memory failed.
NOTES
As of libselinux version 2.0.86, SID's are no longer reference counted. A SID will be valid from the time it is first obtained until the
next call to avc_destroy(3). The sidget(3) and sidput(3) functions, formerly used to adjust the reference count, are no-ops and are depre-
cated.
AUTHOR
Eamon Walsh <ewalsh@tycho.nsa.gov>
SEE ALSO
avc_init(3), avc_has_perm(3), avc_cache_stats(3), avc_add_callback(3), getcon(3), freecon(3), selinux(8)
27 May 2004 avc_context_to_sid(3)