04-17-2015
Thank you very much to "jgt" ! You are the best !
6 More Discussions You Might Find Interesting
1. IP Networking
The problem I am facing now is that the QNX host could not ping the SCO host and vice versa. They are in the same domain, ie, 172.20.3.xx. As I am very new to Unix, I guess I must have missed out some important steps. Pls help... Thanx alot (2 Replies)
Discussion started by: gavon
2 Replies
2. UNIX for Dummies Questions & Answers
Hi guys i have a unix server SCO 5.0.4 and i'm trying to install and intel pro 100 and for some reason it wont see it , i tried to install a 3 com card and same thing.
I know that if i had 5.0.6 it will see any of those cards.my questions is ( if i upgrade to 5.0.6 i have a computone card... (4 Replies)
Discussion started by: josramon
4 Replies
3. SCO
SCO OpenServer 6.0.0 License is required for testing purpose. If anyone have, please help me at the earliest. (2 Replies)
Discussion started by: rakeshkumar9919
2 Replies
4. Shell Programming and Scripting
Hi,
how to check when was the linux upgrade has been done to this host.
below command show the RHEL version.
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 6)
i want to know when it was upgraded..
is there any command available for that ? or anywhere we... (3 Replies)
Discussion started by: mail2sant
3 Replies
5. Shell Programming and Scripting
Hi All,
I have a XML file : System.xml in which I want to update the license tag with the new data from file licence.xml.
The content of files is in following format:
System.xml:
<?xml version="1.0"?>
<!DOCTYPE Configuration SYSTEM "SystemVariables.dtd">
<usageConfiguration... (2 Replies)
Discussion started by: Pramod_T
2 Replies
6. SCO
Xinuos (SCO) discontinued Merge 5.3 on 1.31.16. I'm looking to buy from someone their Merge license. Please contact 1234567@optonline.net (0 Replies)
Discussion started by: Scott Tinker
0 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)