04-29-2008
Thanks.
Thanks. I am just the new for mac. I think there are free for download.
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i want test perl program with indigo perl before i transfer it to the web, where i could get a free one software (2 Replies)
Discussion started by: zeoous
2 Replies
2. Windows & DOS: Issues & Discussions
Does anyone know where I can get free firewalls for windows XP PRO?:confused: (6 Replies)
Discussion started by: computek
6 Replies
3. Linux
Does anyone of you have the links to a site where you can download a mp3 player for linux(fedora 1). :D (3 Replies)
Discussion started by: wojtyla
3 Replies
4. Linux
Where can I download the original Linux code for free? (1 Reply)
Discussion started by: Super Apollo
1 Replies
5. UNIX for Dummies Questions & Answers
Hi Folks,
I was looking around some web sites and found out that there is/was this free databse for Unix called RDB by Walter Hobbs, which uses ASCII text files for its databases and uses Unix commands to manipulate them.
Unfortunately, I can no longer access the ftp site mentioned on the web... (0 Replies)
Discussion started by: rooseter
0 Replies
6. UNIX for Dummies Questions & Answers
Hello, I am not sure where to post this questions...
I have Windows XP in my home computer. I need to install Linux on
my home computer for learning purpose. Can one please recommend
any free download link to download free linux...
Any help is appreciated...
Thank you... (1 Reply)
Discussion started by: govindts
1 Replies
7. UNIX for Dummies Questions & Answers
Could any one tell me where I can download Unix, linux,solaris and red hat OS (4 Replies)
Discussion started by: prasadg034
4 Replies
LEARN ABOUT FREEBSD
mac_from_text
MAC_TEXT(3) BSD Library Functions Manual MAC_TEXT(3)
NAME
mac_from_text, mac_to_text -- convert MAC label to/from text representation
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/mac.h>
int
mac_from_text(mac_t *mac, const char *text);
int
mac_to_text(mac_t label, char **text);
DESCRIPTION
The mac_from_text() function converts the text representation of a label into the internal policy label format (mac_t) and places it in *mac,
which must later be freed with free(3).
The mac_to_text() function allocates storage for *text, which will be set to the text representation of label.
Refer to maclabel(7) for the MAC label format.
RETURN VALUES
The mac_from_text() and mac_to_text() functions return the value 0 if successful; otherwise the value -1 is returned and the global variable
errno is set to indicate the error.
COMPATIBILITY
POSIX.1e does not define a format for text representations of MAC labels.
POSIX.1e requires that text strings allocated using mac_to_text() be freed using mac_free(3); in the FreeBSD implementation, they must be
freed using free(3), as mac_free(3) is used only to free memory used for type mac_t.
ERRORS
[ENOMEM] Insufficient memory was available to allocate internal storage.
SEE ALSO
free(3), mac(3), mac_get(3), mac_is_present(3), mac_prepare(3), mac_set(3), posix1e(3), mac(4), maclabel(7)
STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion of the draft continues on the cross-platform POSIX.1e implementation mailing
list. To join this list, see the FreeBSD POSIX.1e implementation page for more information.
HISTORY
Support for Mandatory Access Control was introduced in FreeBSD 5.0 as part of the TrustedBSD Project.
BSD
December 21, 2001 BSD