Re: a question regarding <sys/shm.h>
- From: Peter Jeremy <peterjeremy@xxxxxxxxxxxxxxxx>
- Date: Thu, 1 Feb 2007 05:05:58 +1100
On Wed, 2007-Jan-31 10:52:02 +0000, Robert Watson wrote:
If we do decide to go ahead with the ABI change, there are a number of
other things that should be done simultaneously, such as changing the uid
and gid fields to uid_t and gid_t.
And mode to mode_t. The uid and gid fields in struct shmid_ds have
already been converted, though the ones in struct ipc_perm are
obsolete. At a quick glance, everything else is up to date.
http://www.opengroup.org/onlinepubs/009695399/ is a useful reference
in this area.
--
Peter Jeremy
Attachment:
pgpRwPmNEWkls.pgp
Description: PGP signature
- References:
- a question regarding <sys/shm.h>
- From: Pascal Hofstee
- Re: a question regarding <sys/shm.h>
- From: Peter Jeremy
- Re: a question regarding <sys/shm.h>
- From: Pascal Hofstee
- Re: a question regarding <sys/shm.h>
- From: Dag-Erling Smørgrav
- Re: a question regarding <sys/shm.h>
- From: Robert Watson
- a question regarding <sys/shm.h>
- Prev by Date: Re: top delay value
- Next by Date: Re: top delay value
- Previous by thread: Re: a question regarding <sys/shm.h>
- Index(es):
Relevant Pages
- [PATCH] 32-bit process accounting
... the uid, gid fields on struct acct. ... send the line "unsubscribe
linux-kernel" in ... (Linux-Kernel) - [2.6.16 PATCH] some tail whitespace clean under subdirectory kernel
... These must match for thread signalling to apply */ ... struct sigqueue
*sigqueue_alloc ... * setuid() is implemented like SysV with SAVED_IDS ... - * like
sendmail, for example, cannot set its uid to be a normal ... (Linux-Kernel) - [patch 1/3] MAP_NOZERO - implement a new VM_NOZERO/MAP_NOZERO page retirement policy
... A new field owner_uid is also added to the page struct. ... UID of the
mm_struct that owns it. ... of the mapping the pages are associated with. ... #define
copy_user_page(to, from, vaddr, pg) copy_page ... (Linux-Kernel) - Re: [patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early summer madness
... MAP_REUSABLE) look in a page "pool" of sorts before falling back to a zeroed ...
possibly using the memory freed by said unmap. ... a given UID, and you have a login
under such UID, you can fetch the content ... something in the current struct page _mapcount
reuse, ... (Linux-Kernel) - [patch 1/4] MAP_NOZERO v2 - implement a new VM_NOZERO/MAP_NOZERO page retirement policy
... the effective UID of the task that own the mm_struct. ... This avoids increasing
the struct page size. ... #define copy_user_page(to, from, vaddr, pg) copy_page
... short unsigned int inuse; ... (Linux-Kernel)