Warning: main() [function.main]: open_basedir restriction in effect. File(/var/data/www/ods/ods.com.ua/htdocs/htdig/header.php) is not within the allowed path(s): (/home/ods/:/tmp:/usr/local/lib/php/) in /home/ods/domains/ods.com.ua/public_html/win/eng/unix/lpg/node33.html on line 4
Warning: main(/var/data/www/ods/ods.com.ua/htdocs/htdig/header.php) [function.main]: failed to open stream: Operation not permitted in /home/ods/domains/ods.com.ua/public_html/win/eng/unix/lpg/node33.html on line 4
Warning: main() [function.include]: Failed opening '/var/data/www/ods/ods.com.ua/htdocs/htdig/header.php' for inclusion (include_path='.:/usr/local/lib/php/') in /home/ods/domains/ods.com.ua/public_html/win/eng/unix/lpg/node33.html on line 4
next up previous contents
Next: SYSTEM CALL: msgget()
Up: Internal and User Data
Previous: Kernel msqid_ds structure
The kernel stores permission information for IPC objects in a structure of type ipc_perm.
For example, in the internal structure for a message queue described above, the msg_perm
member is of this type. It is declared for us in linux/ipc.h as follows:
struct ipc_perm
{
key_t key;
ushort uid; /* owner euid and egid */
ushort gid;
ushort cuid; /* creator euid and egid */
ushort cgid;
ushort mode; /* access modes see mode flags below */
ushort seq; /* slot usage sequence number */
};
All of the above are fairly self-explanatory. Stored along with the IPC key of the object is
information about both the creator and owner of the object (they may be different). The octal
access modes are also stored here, as an unsigned short. Finally, the slot usage sequence
number is stored at the end. Each time an IPC object is closed via a system call (destroyed), this
value gets incremented by the maximum number of IPC objects that can reside in a system. Will you have to
concern yourself with this value? No.
NOTE:There is an excellent discussion on this topic, and the security reasons as to
its existence and behavior, in Richard Stevens' UNIX Network Programming book, pp. 125.
Converted on:
Fri Mar 29 14:43:04 EST 1996
Warning: main() [function.main]: open_basedir restriction in effect. File(/var/data/www/ods/ods.com.ua/htdocs/include/footer.php) is not within the allowed path(s): (/home/ods/:/tmp:/usr/local/lib/php/) in /home/ods/domains/ods.com.ua/public_html/win/eng/unix/lpg/node33.html on line 46
Warning: main(/var/data/www/ods/ods.com.ua/htdocs/include/footer.php) [function.main]: failed to open stream: Operation not permitted in /home/ods/domains/ods.com.ua/public_html/win/eng/unix/lpg/node33.html on line 46
Warning: main() [function.include]: Failed opening '/var/data/www/ods/ods.com.ua/htdocs/include/footer.php' for inclusion (include_path='.:/usr/local/lib/php/') in /home/ods/domains/ods.com.ua/public_html/win/eng/unix/lpg/node33.html on line 46