9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Before I did
mount /dev/sdc1 /mnt/ll
xsi ll # ls
xsi ll # cd .
xsi ll # ls
NEWGAME.GM2 install md5sum.txt syslinux.cfg ubnkern
.... (1 Reply)
Discussion started by: Xcislav
2. UNIX for Dummies Questions & Answers
When I do sudo -i isn't that like creating a root login shell session? Why isn't motd displayed? motd=message of the day.
---------- Post updated at 09:54 AM ---------- Previous update was at 09:25 AM ----------
I think I answered it myself, it is only called for remote login sessions, once... (2 Replies)
Discussion started by: glev2005
3. Emergency UNIX and Linux Support
I have installed Acronis disk director in windows XP and allocate some free space to install Debian beside fedora.
after completion i rebooted and now grub is in command line mode and does not show the menu list.
(I didn't remove the fedora partition. I just allocate some space from... (1 Reply)
Discussion started by: majid.merkava
4. UNIX for Advanced & Expert Users
I'm trying to compile vim73 with the Motif Toolkit.
Vim runs in a window, without the standard toolbar and
I tried to recompile with
./configure --enable-gui=gnome2It compiled with GTK2 toolkit, but still no menubar, nor toolbar.... (0 Replies)
Discussion started by: mghis
5. UNIX for Dummies Questions & Answers
I have a couple of questions. I happen to come across a code like this which i was asked to trouble shoot.
Any idea what these two do?
cat $(file?File doesn't exist);
Can some one help me with this ?
... (2 Replies)
Discussion started by: kinny
6. Homework & Coursework Questions
im making c code in linux and im having problems with one command, id should bring up a list but instead id doesnt do nothing, there are no error's, can anyone solve whats wrong ?
extern char **environ;
for (i = 0; environ !=NULL;i++)
... (1 Reply)
Discussion started by: figureout
7. IP Networking
I have a Linux server connected to the Internet like so:
Server (22.214.171.124) -> /29 VLAN Gateway (126.96.36.199) -> Core Router (188.8.131.52) -> Internet
If I run a traceroute from my server to an arbitrary site on the internet I get a result like this:
# traceroute some-other-server... (2 Replies)
Discussion started by: ramnet
I have the following problem. I made a directory /mnt/appserv and
mounted it on a windows server. The line in /etc/fstab to do this is the following :
winoracle:/environments10g /mnt/appserv cifs defaults 0 0
I have mounted this dir as root-user.
The rights on the directory are... (1 Reply)
Discussion started by: bdb78451
9. Post Here to Contact Site Administrators and Moderators
Is there an issue with it? (2 Replies)
Discussion started by: Spetnik
MAC_PREPARE(3) BSD Library Functions Manual MAC_PREPARE(3)
mac_prepare, mac_prepare_type, mac_prepare_file_label, mac_prepare_ifnet_label, mac_prepare_process_label -- allocate appropriate storage for
mac_prepare(mac_t *mac, const char *elements);
mac_prepare_type(mac_t *mac, const char *name);
The mac_prepare family of functions allocates the appropriate amount of storage and initializes *mac for use by mac_get(3). When the result-
ing label is passed into the mac_get(3) functions, the kernel will attempt to fill in the label elements specified when the label was pre-
pared. Elements are specified in a nul-terminated string, using commas to delimit fields. Element names may be prefixed with the '?' char-
acter to indicate that a failure by the kernel to retrieve that element should not be considered fatal.
The mac_prepare() function accepts a list of policy names as a parameter, and allocates the storage to fit those label elements accordingly.
The remaining functions in the family make use of system defaults defined in mac.conf(5) instead of an explicit elements argument, deriving
the default from the specified object type.
mac_prepare_type() allocates the storage to fit an object label of the type specified by the name argument. The mac_prepare_file_label(),
mac_prepare_ifnet_label(), and mac_prepare_process_label() functions are equivalent to invocations of mac_prepare_type() with arguments of
"file", "ifnet", and "process" respectively.
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the
mac(3), mac_free(3), mac_get(3), mac_is_present(3), mac_set(3), mac(4), mac.conf(5), maclabel(7)
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.
Support for Mandatory Access Control was introduced in FreeBSD 5.0 as part of the TrustedBSD Project. Support for generic object types first
appeared in FreeBSD 5.2.
August 22, 2003 BSD