Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Shared memory keys on Solaris 8

From: Patrik Sternudd <patrik.sternudd(at)copper.se>
Date: Tue Jul 15 2003 - 15:15:28 EDT


Just exactly what info were you looking for?

The datatype for a key is a key_t (from sys/types.h)...IIRC, it is 32 bits in most Unix systems.

A search for shmget (which is one of the syscalls involved) yields the following result:
http://docs.sun.com/db/doc/806-0626/6j9vgh69h?q=shmget&a=view

Then you have shmctl, and so on...

I seem to recall a pretty good tutorial that's been available for some time now. It should cover most aspects on IPC programming: http://www.ecst.csuchico.edu/~beej/guide/ipc/

Hmm. Are anyone aware of any serious security implications when using shared memory?
(except the obvious parts of setting the permissions correct :))

Hope this helps,

Patrik Sternudd

Do you need help?X

-----Original Message-----
From: Sayek, Ogan [mailto:osayek@towson.edu] Sent: Monday, July 14, 2003 8:01 PM
To: focus-sun@securityfocus.com
Subject: Shared memory keys on Solaris 8

I looked in docs.sun.com but I couldn't find what I was looking for? Does anyone have any info on shared memory keys? thanks



OGAN SAYEK
Systems Engineer
Towson University
Computing and Network Services (CANS)
Email: osayek@towson.edu
Phone: 410.704.4256 Received on Wed Jul 16 09:55:04 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library