Add the build framework and skeleton files for the shared memory feature (no logic yet provided)

This commit is contained in:
Gregory Nutt
2014-09-22 14:53:56 -06:00
parent e4e458b315
commit 18ce64d61e
10 changed files with 853 additions and 30 deletions
+7 -6
View File
@@ -56,7 +56,7 @@
/* Keys: */
#define IPC_PRIVATE 0 /* Private key */
#define IPC_PRIVATE 0 /* Private key */
/* Control commands: */
@@ -89,11 +89,12 @@ extern "C"
struct ipc_perm
{
uid_t uid /* Owner's user ID */
gid_t gid /* Owner's group ID */
uid_t cuid /* Creator's user ID */
gid_t cgid /* Creator's group ID */
mode_t mode /* Read/write permission */
uid_t uid; /* Owner's user ID */
gid_t gid; /* Owner's group ID */
uid_t cuid; /* Creator's user ID */
gid_t cgid; /* Creator's group ID */
mode_t mode; /* Read/write permission */
};
/****************************************************************************
* Public Function Prototypes
+1 -1
View File
@@ -51,7 +51,7 @@
****************************************************************************/
#define SHM_RDONLY 0x01 /* Attach read-only (else read-write) */
#defube SHM_RND 0x02 /* Round attach address to SHMLBA */
#define SHM_RND 0x02 /* Round attach address to SHMLBA */
/* Segment low boundary address multiple */