Hi, What is the difference in the two sequence numbers.... struct ipc_ids { int size; int in_use; int max_id; unsigned short seq; <--------- ?? unsigned short seq_max; struct semaphore sem; spinlock_t ary; struct ipc_id* entries; }; struct shmid_kernel { struct kern_ipc_perm shm_perm; ------- struct file * shm_file; | int id; | unsigned long shm_nattch; | unsigned long shm_segsz; | time_t shm_atim; | time_t shm_dtim; | time_t shm_ctim; | pid_t shm_cprid; | pid_t shm_lprid; | }; | | | -------------------------------------------------------- | struct kern_ipc_perm { key_t key; uid_t uid; gid_t gid; uid_t cuid; gid_t cgid; mode_t mode; unsigned long seq; <-------------- ?? }; Also, what is teh purpose of the sequence number at all??? The latter is used in ipc_buildid() .. but we didnt get the exact purpose of its existence Thanks in advance, MAASK group (Maya, Anu, Asmita , Snehal & Krushna) _________________________________________________________________ Unlimited Internet access for only $21.95/month. Try MSN! http://resourcecenter.msn.com/access/plans/2monthsfree.asp -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/